mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 12:37:20 +00:00
exposed bknd middlewares to be used for custom routes
This commit is contained in:
@@ -9,13 +9,13 @@ import type { Hono } from "hono";
|
||||
|
||||
export type ServerEnv = {
|
||||
Variables: {
|
||||
app: App;
|
||||
app?: App;
|
||||
// to prevent resolving auth multiple times
|
||||
auth_resolved: boolean;
|
||||
auth_resolved?: boolean;
|
||||
// to only register once
|
||||
auth_registered: boolean;
|
||||
auth_registered?: boolean;
|
||||
// whether or not to bypass auth
|
||||
auth_skip: boolean;
|
||||
auth_skip?: boolean;
|
||||
html?: string;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user