|
6 | 6 | import "sst" |
7 | 7 | declare module "sst" { |
8 | 8 | export interface Resource { |
9 | | - ADMIN_SECRET: { |
10 | | - type: "sst.sst.Secret" |
11 | | - value: string |
12 | | - } |
13 | | - AUTH_API_URL: { |
14 | | - type: "sst.sst.Linkable" |
15 | | - value: string |
16 | | - } |
17 | | - AWS_SES_ACCESS_KEY_ID: { |
18 | | - type: "sst.sst.Secret" |
19 | | - value: string |
20 | | - } |
21 | | - AWS_SES_SECRET_ACCESS_KEY: { |
22 | | - type: "sst.sst.Secret" |
23 | | - value: string |
24 | | - } |
25 | | - CLOUDFLARE_API_TOKEN: { |
26 | | - type: "sst.sst.Secret" |
27 | | - value: string |
28 | | - } |
29 | | - CLOUDFLARE_DEFAULT_ACCOUNT_ID: { |
30 | | - type: "sst.sst.Secret" |
31 | | - value: string |
32 | | - } |
33 | | - Console: { |
34 | | - type: "sst.cloudflare.SolidStart" |
35 | | - url: string |
36 | | - } |
37 | | - Database: { |
38 | | - database: string |
39 | | - host: string |
40 | | - password: string |
41 | | - port: number |
42 | | - type: "sst.sst.Linkable" |
43 | | - username: string |
44 | | - } |
45 | | - Desktop: { |
46 | | - type: "sst.cloudflare.StaticSite" |
47 | | - url: string |
48 | | - } |
49 | | - EMAILOCTOPUS_API_KEY: { |
50 | | - type: "sst.sst.Secret" |
51 | | - value: string |
52 | | - } |
53 | | - GITHUB_APP_ID: { |
54 | | - type: "sst.sst.Secret" |
55 | | - value: string |
56 | | - } |
57 | | - GITHUB_APP_PRIVATE_KEY: { |
58 | | - type: "sst.sst.Secret" |
59 | | - value: string |
60 | | - } |
61 | | - GITHUB_CLIENT_ID_CONSOLE: { |
62 | | - type: "sst.sst.Secret" |
63 | | - value: string |
64 | | - } |
65 | | - GITHUB_CLIENT_SECRET_CONSOLE: { |
66 | | - type: "sst.sst.Secret" |
67 | | - value: string |
68 | | - } |
69 | | - GOOGLE_CLIENT_ID: { |
70 | | - type: "sst.sst.Secret" |
71 | | - value: string |
72 | | - } |
73 | | - HONEYCOMB_API_KEY: { |
74 | | - type: "sst.sst.Secret" |
75 | | - value: string |
76 | | - } |
77 | | - STRIPE_SECRET_KEY: { |
78 | | - type: "sst.sst.Secret" |
79 | | - value: string |
80 | | - } |
81 | | - STRIPE_WEBHOOK_SECRET: { |
82 | | - type: "sst.sst.Linkable" |
83 | | - value: string |
84 | | - } |
85 | | - Web: { |
86 | | - type: "sst.cloudflare.Astro" |
87 | | - url: string |
88 | | - } |
89 | | - ZEN_MODELS1: { |
90 | | - type: "sst.sst.Secret" |
91 | | - value: string |
92 | | - } |
93 | | - ZEN_MODELS2: { |
94 | | - type: "sst.sst.Secret" |
95 | | - value: string |
| 9 | + "ADMIN_SECRET": { |
| 10 | + "type": "sst.sst.Secret" |
| 11 | + "value": string |
| 12 | + } |
| 13 | + "AUTH_API_URL": { |
| 14 | + "type": "sst.sst.Linkable" |
| 15 | + "value": string |
| 16 | + } |
| 17 | + "AWS_SES_ACCESS_KEY_ID": { |
| 18 | + "type": "sst.sst.Secret" |
| 19 | + "value": string |
| 20 | + } |
| 21 | + "AWS_SES_SECRET_ACCESS_KEY": { |
| 22 | + "type": "sst.sst.Secret" |
| 23 | + "value": string |
| 24 | + } |
| 25 | + "CLOUDFLARE_API_TOKEN": { |
| 26 | + "type": "sst.sst.Secret" |
| 27 | + "value": string |
| 28 | + } |
| 29 | + "CLOUDFLARE_DEFAULT_ACCOUNT_ID": { |
| 30 | + "type": "sst.sst.Secret" |
| 31 | + "value": string |
| 32 | + } |
| 33 | + "Console": { |
| 34 | + "type": "sst.cloudflare.SolidStart" |
| 35 | + "url": string |
| 36 | + } |
| 37 | + "Database": { |
| 38 | + "database": string |
| 39 | + "host": string |
| 40 | + "password": string |
| 41 | + "port": number |
| 42 | + "type": "sst.sst.Linkable" |
| 43 | + "username": string |
| 44 | + } |
| 45 | + "Desktop": { |
| 46 | + "type": "sst.cloudflare.StaticSite" |
| 47 | + "url": string |
| 48 | + } |
| 49 | + "EMAILOCTOPUS_API_KEY": { |
| 50 | + "type": "sst.sst.Secret" |
| 51 | + "value": string |
| 52 | + } |
| 53 | + "GITHUB_APP_ID": { |
| 54 | + "type": "sst.sst.Secret" |
| 55 | + "value": string |
| 56 | + } |
| 57 | + "GITHUB_APP_PRIVATE_KEY": { |
| 58 | + "type": "sst.sst.Secret" |
| 59 | + "value": string |
| 60 | + } |
| 61 | + "GITHUB_CLIENT_ID_CONSOLE": { |
| 62 | + "type": "sst.sst.Secret" |
| 63 | + "value": string |
| 64 | + } |
| 65 | + "GITHUB_CLIENT_SECRET_CONSOLE": { |
| 66 | + "type": "sst.sst.Secret" |
| 67 | + "value": string |
| 68 | + } |
| 69 | + "GOOGLE_CLIENT_ID": { |
| 70 | + "type": "sst.sst.Secret" |
| 71 | + "value": string |
| 72 | + } |
| 73 | + "HONEYCOMB_API_KEY": { |
| 74 | + "type": "sst.sst.Secret" |
| 75 | + "value": string |
| 76 | + } |
| 77 | + "STRIPE_SECRET_KEY": { |
| 78 | + "type": "sst.sst.Secret" |
| 79 | + "value": string |
| 80 | + } |
| 81 | + "STRIPE_WEBHOOK_SECRET": { |
| 82 | + "type": "sst.sst.Linkable" |
| 83 | + "value": string |
| 84 | + } |
| 85 | + "Web": { |
| 86 | + "type": "sst.cloudflare.Astro" |
| 87 | + "url": string |
| 88 | + } |
| 89 | + "ZEN_MODELS1": { |
| 90 | + "type": "sst.sst.Secret" |
| 91 | + "value": string |
| 92 | + } |
| 93 | + "ZEN_MODELS2": { |
| 94 | + "type": "sst.sst.Secret" |
| 95 | + "value": string |
96 | 96 | } |
97 | 97 | } |
98 | 98 | } |
99 | | -// cloudflare |
100 | | -import * as cloudflare from "@cloudflare/workers-types" |
| 99 | +// cloudflare |
| 100 | +import * as cloudflare from "@cloudflare/workers-types"; |
101 | 101 | declare module "sst" { |
102 | 102 | export interface Resource { |
103 | | - Api: cloudflare.Service |
104 | | - AuthApi: cloudflare.Service |
105 | | - AuthStorage: cloudflare.KVNamespace |
106 | | - Bucket: cloudflare.R2Bucket |
107 | | - GatewayKv: cloudflare.KVNamespace |
108 | | - LogProcessor: cloudflare.Service |
| 103 | + "Api": cloudflare.Service |
| 104 | + "AuthApi": cloudflare.Service |
| 105 | + "AuthStorage": cloudflare.KVNamespace |
| 106 | + "Bucket": cloudflare.R2Bucket |
| 107 | + "GatewayKv": cloudflare.KVNamespace |
| 108 | + "LogProcessor": cloudflare.Service |
109 | 109 | } |
110 | 110 | } |
111 | 111 |
|
112 | 112 | import "sst" |
113 | | -export {} |
| 113 | +export {} |