|
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 | | - "Enterprise": { |
54 | | - "type": "sst.cloudflare.SolidStart" |
55 | | - "url": string |
56 | | - } |
57 | | - "GITHUB_APP_ID": { |
58 | | - "type": "sst.sst.Secret" |
59 | | - "value": string |
60 | | - } |
61 | | - "GITHUB_APP_PRIVATE_KEY": { |
62 | | - "type": "sst.sst.Secret" |
63 | | - "value": string |
64 | | - } |
65 | | - "GITHUB_CLIENT_ID_CONSOLE": { |
66 | | - "type": "sst.sst.Secret" |
67 | | - "value": string |
68 | | - } |
69 | | - "GITHUB_CLIENT_SECRET_CONSOLE": { |
70 | | - "type": "sst.sst.Secret" |
71 | | - "value": string |
72 | | - } |
73 | | - "GOOGLE_CLIENT_ID": { |
74 | | - "type": "sst.sst.Secret" |
75 | | - "value": string |
76 | | - } |
77 | | - "HONEYCOMB_API_KEY": { |
78 | | - "type": "sst.sst.Secret" |
79 | | - "value": string |
80 | | - } |
81 | | - "R2AccessKey": { |
82 | | - "type": "sst.sst.Secret" |
83 | | - "value": string |
84 | | - } |
85 | | - "R2SecretKey": { |
86 | | - "type": "sst.sst.Secret" |
87 | | - "value": string |
88 | | - } |
89 | | - "STRIPE_SECRET_KEY": { |
90 | | - "type": "sst.sst.Secret" |
91 | | - "value": string |
92 | | - } |
93 | | - "STRIPE_WEBHOOK_SECRET": { |
94 | | - "type": "sst.sst.Linkable" |
95 | | - "value": string |
96 | | - } |
97 | | - "Web": { |
98 | | - "type": "sst.cloudflare.Astro" |
99 | | - "url": string |
100 | | - } |
101 | | - "ZEN_MODELS1": { |
102 | | - "type": "sst.sst.Secret" |
103 | | - "value": string |
104 | | - } |
105 | | - "ZEN_MODELS2": { |
106 | | - "type": "sst.sst.Secret" |
107 | | - "value": string |
108 | | - } |
109 | | - "ZEN_MODELS3": { |
110 | | - "type": "sst.sst.Secret" |
111 | | - "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 | + Enterprise: { |
| 54 | + type: "sst.cloudflare.SolidStart" |
| 55 | + url: string |
| 56 | + } |
| 57 | + GITHUB_APP_ID: { |
| 58 | + type: "sst.sst.Secret" |
| 59 | + value: string |
| 60 | + } |
| 61 | + GITHUB_APP_PRIVATE_KEY: { |
| 62 | + type: "sst.sst.Secret" |
| 63 | + value: string |
| 64 | + } |
| 65 | + GITHUB_CLIENT_ID_CONSOLE: { |
| 66 | + type: "sst.sst.Secret" |
| 67 | + value: string |
| 68 | + } |
| 69 | + GITHUB_CLIENT_SECRET_CONSOLE: { |
| 70 | + type: "sst.sst.Secret" |
| 71 | + value: string |
| 72 | + } |
| 73 | + GOOGLE_CLIENT_ID: { |
| 74 | + type: "sst.sst.Secret" |
| 75 | + value: string |
| 76 | + } |
| 77 | + HONEYCOMB_API_KEY: { |
| 78 | + type: "sst.sst.Secret" |
| 79 | + value: string |
| 80 | + } |
| 81 | + R2AccessKey: { |
| 82 | + type: "sst.sst.Secret" |
| 83 | + value: string |
| 84 | + } |
| 85 | + R2SecretKey: { |
| 86 | + type: "sst.sst.Secret" |
| 87 | + value: string |
| 88 | + } |
| 89 | + STRIPE_SECRET_KEY: { |
| 90 | + type: "sst.sst.Secret" |
| 91 | + value: string |
| 92 | + } |
| 93 | + STRIPE_WEBHOOK_SECRET: { |
| 94 | + type: "sst.sst.Linkable" |
| 95 | + value: string |
| 96 | + } |
| 97 | + Web: { |
| 98 | + type: "sst.cloudflare.Astro" |
| 99 | + url: string |
| 100 | + } |
| 101 | + ZEN_MODELS1: { |
| 102 | + type: "sst.sst.Secret" |
| 103 | + value: string |
| 104 | + } |
| 105 | + ZEN_MODELS2: { |
| 106 | + type: "sst.sst.Secret" |
| 107 | + value: string |
| 108 | + } |
| 109 | + ZEN_MODELS3: { |
| 110 | + type: "sst.sst.Secret" |
| 111 | + value: string |
112 | 112 | } |
113 | | - "ZEN_MODELS4": { |
114 | | - "type": "sst.sst.Secret" |
115 | | - "value": string |
| 113 | + ZEN_MODELS4: { |
| 114 | + type: "sst.sst.Secret" |
| 115 | + value: string |
116 | 116 | } |
117 | 117 | } |
118 | 118 | } |
119 | | -// cloudflare |
120 | | -import * as cloudflare from "@cloudflare/workers-types"; |
| 119 | +// cloudflare |
| 120 | +import * as cloudflare from "@cloudflare/workers-types" |
121 | 121 | declare module "sst" { |
122 | 122 | export interface Resource { |
123 | | - "Api": cloudflare.Service |
124 | | - "AuthApi": cloudflare.Service |
125 | | - "AuthStorage": cloudflare.KVNamespace |
126 | | - "Bucket": cloudflare.R2Bucket |
127 | | - "ConsoleData": cloudflare.R2Bucket |
128 | | - "EnterpriseStorage": cloudflare.R2Bucket |
129 | | - "GatewayKv": cloudflare.KVNamespace |
130 | | - "LogProcessor": cloudflare.Service |
131 | | - "ZenData": cloudflare.R2Bucket |
| 123 | + Api: cloudflare.Service |
| 124 | + AuthApi: cloudflare.Service |
| 125 | + AuthStorage: cloudflare.KVNamespace |
| 126 | + Bucket: cloudflare.R2Bucket |
| 127 | + ConsoleData: cloudflare.R2Bucket |
| 128 | + EnterpriseStorage: cloudflare.R2Bucket |
| 129 | + GatewayKv: cloudflare.KVNamespace |
| 130 | + LogProcessor: cloudflare.Service |
| 131 | + ZenData: cloudflare.R2Bucket |
132 | 132 | } |
133 | 133 | } |
134 | 134 |
|
135 | 135 | import "sst" |
136 | | -export {} |
| 136 | +export {} |