@@ -2,29 +2,29 @@ import {
22 makeArrayExtensionPoint ,
33 makeMultiMapExtensionPoint ,
44} from "#extensionPoint.ts" ;
5- import type { SquirrelHTTPContext } from "#http/index .ts" ;
5+ import type { BackendHTTPContext } from "#http/http .ts" ;
66import type { GuildAuthVars } from "#http/middleware/guildAuth.ts" ;
77import type { Plugin } from "#plugin.ts" ;
88import type { Hono } from "hono" ;
99
1010/** Added to plugins/[YOUR PLUGIN] */
1111export const definePluginRoutes =
1212 makeArrayExtensionPoint <
13- ( squirrelCtx : SquirrelHTTPContext , plugin : Plugin , app : Hono ) => void
13+ ( backendCtx : BackendHTTPContext , plugin : Plugin , app : Hono ) => void
1414 > ( ) ;
1515/** Added to guilds/[*]/plugins/[YOUR PLUGIN] */
1616export const definePluginGuildRoutes =
1717 makeMultiMapExtensionPoint <
1818 (
19- squirrelCtx : SquirrelHTTPContext ,
19+ backendCtx : BackendHTTPContext ,
2020 app : Hono < { Variables : GuildAuthVars } > ,
2121 ) => void
2222 > ( ) ;
2323/** Added to guilds/[*]/plugins/[*] */
2424export const defineGlobalPluginGuildRoutes =
2525 makeArrayExtensionPoint <
2626 (
27- squirrelCtx : SquirrelHTTPContext ,
27+ backendCtx : BackendHTTPContext ,
2828 plugin : Plugin ,
2929 app : Hono < { Variables : GuildAuthVars } > ,
3030 ) => void
0 commit comments