feat: Cloud WIP

This commit is contained in:
Wanjohi
2025-09-20 01:05:03 +03:00
parent 16004c87a9
commit ecfdb5156e
3 changed files with 54 additions and 13 deletions

15
sst-env.d.ts vendored
View File

@@ -6,6 +6,14 @@
import "sst"
declare module "sst" {
export interface Resource {
"DISCORD_CLIENT_ID": {
"type": "sst.sst.Secret"
"value": string
}
"DISCORD_CLIENT_SECRET": {
"type": "sst.sst.Secret"
"value": string
}
"Database": {
"host": string
"name": string
@@ -15,6 +23,13 @@ declare module "sst" {
}
}
}
// cloudflare
import * as cloudflare from "@cloudflare/workers-types";
declare module "sst" {
export interface Resource {
"AuthStorage": cloudflare.KVNamespace
}
}
import "sst"
export {}