summaryrefslogtreecommitdiffhomepage
path: root/packages/function/sst-env.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/function/sst-env.d.ts')
-rw-r--r--packages/function/sst-env.d.ts24
1 files changed, 16 insertions, 8 deletions
diff --git a/packages/function/sst-env.d.ts b/packages/function/sst-env.d.ts
index fd95edbb4..dab7de3f3 100644
--- a/packages/function/sst-env.d.ts
+++ b/packages/function/sst-env.d.ts
@@ -6,20 +6,28 @@
import "sst"
declare module "sst" {
export interface Resource {
- Web: {
- type: "sst.cloudflare.Astro"
- url: string
+ "GITHUB_APP_ID": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "GITHUB_APP_PRIVATE_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "Web": {
+ "type": "sst.cloudflare.Astro"
+ "url": string
}
}
}
-// cloudflare
-import * as cloudflare from "@cloudflare/workers-types"
+// cloudflare
+import * as cloudflare from "@cloudflare/workers-types";
declare module "sst" {
export interface Resource {
- Api: cloudflare.Service
- Bucket: cloudflare.R2Bucket
+ "Api": cloudflare.Service
+ "Bucket": cloudflare.R2Bucket
}
}
import "sst"
-export {}
+export {} \ No newline at end of file