mirror of
https://github.com/vcscsvcscs/GenerationsHeritage.git
synced 2025-08-15 23:39:05 +02:00
implement session via cloudflare kv
This commit is contained in:
6
app/src/app.d.ts
vendored
6
app/src/app.d.ts
vendored
@@ -1,9 +1,13 @@
|
||||
import { KVNamespace } from '@cloudflare/workers-types';
|
||||
// See https://svelte.dev/docs/kit/types#app.d.ts
|
||||
// for information about these interfaces
|
||||
declare global {
|
||||
namespace App {
|
||||
interface Platform {
|
||||
env: Env
|
||||
env: {
|
||||
GH_MEDIA: R2Bucket;
|
||||
GH_SESSIONS: KVNamespace;
|
||||
};
|
||||
cf: CfProperties
|
||||
ctx: ExecutionContext
|
||||
}
|
||||
|
Reference in New Issue
Block a user