Initial commit

This commit is contained in:
2023-10-19 16:49:05 -04:00
commit d731041378
63 changed files with 10037 additions and 0 deletions

24
index.d.ts vendored Normal file
View File

@ -0,0 +1,24 @@
/// <reference types="vite/client" />
import { type PageContextBuiltIn } from "vite-plugin-ssr";
declare global {
interface Env {
ASSETS: Fetcher;
DATA: KVNamespace;
[k: string]: string;
}
type RequestContext = EventContext<Env, string, { [k: string]: any }>;
interface PageContext extends PageContextBuiltIn {
current_user?: { [k: string]: any };
kv: KVNamespace;
pageProps: {
[k: string]: any;
};
requireAuth?: boolean;
status: number;
}
}
export {};