Skip to content

Commit 0cc55c1

Browse files
committed
sync
1 parent 40da77e commit 0cc55c1

7 files changed

Lines changed: 21 additions & 1526 deletions

File tree

infra/console.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,11 @@ const logProcessor = new sst.cloudflare.Worker("LogProcessor", {
243243
link: [new sst.Secret("HONEYCOMB_API_KEY")],
244244
})
245245

246+
const ph2 = new sst.Linkable("Placeholder2", {
247+
properties: {
248+
version: "1",
249+
},
250+
})
246251
new sst.cloudflare.x.SolidStart("Console", {
247252
domain,
248253
path: "packages/console/app",
@@ -272,6 +277,8 @@ new sst.cloudflare.x.SolidStart("Console", {
272277
new sst.Secret("CLOUDFLARE_API_TOKEN", process.env.CLOUDFLARE_API_TOKEN!),
273278
]
274279
: []),
280+
ph2,
281+
new sst.Secret("PLACEHOLDER"),
275282
],
276283
environment: {
277284
//VITE_DOCS_URL: web.url.apply((url) => url!),

packages/console/core/sst-env.d.ts

Lines changed: 1 addition & 298 deletions
Original file line numberDiff line numberDiff line change
@@ -4,304 +4,7 @@
44
/* deno-fmt-ignore-file */
55
/* biome-ignore-all lint: auto-generated */
66

7-
import "sst"
8-
declare module "sst" {
9-
export interface Resource {
10-
"ADMIN_SECRET": {
11-
"type": "sst.sst.Secret"
12-
"value": string
13-
}
14-
"AUTH_API_URL": {
15-
"type": "sst.sst.Linkable"
16-
"value": string
17-
}
18-
"AWS_SES_ACCESS_KEY_ID": {
19-
"type": "sst.sst.Secret"
20-
"value": string
21-
}
22-
"AWS_SES_SECRET_ACCESS_KEY": {
23-
"type": "sst.sst.Secret"
24-
"value": string
25-
}
26-
"CLOUDFLARE_API_TOKEN": {
27-
"type": "sst.sst.Secret"
28-
"value": string
29-
}
30-
"CLOUDFLARE_DEFAULT_ACCOUNT_ID": {
31-
"type": "sst.sst.Secret"
32-
"value": string
33-
}
34-
"Console": {
35-
"type": "sst.cloudflare.SolidStart"
36-
"url": string
37-
}
38-
"DISCORD_INCIDENT_WEBHOOK_URL": {
39-
"type": "sst.sst.Secret"
40-
"value": string
41-
}
42-
"DISCORD_SUPPORT_BOT_TOKEN": {
43-
"type": "sst.sst.Secret"
44-
"value": string
45-
}
46-
"DISCORD_SUPPORT_CHANNEL_ID": {
47-
"type": "sst.sst.Secret"
48-
"value": string
49-
}
50-
"Database": {
51-
"database": string
52-
"host": string
53-
"password": string
54-
"port": number
55-
"type": "sst.sst.Linkable"
56-
"username": string
57-
}
58-
"EMAILOCTOPUS_API_KEY": {
59-
"type": "sst.sst.Secret"
60-
"value": string
61-
}
62-
"FEISHU_APP_ID": {
63-
"type": "sst.sst.Secret"
64-
"value": string
65-
}
66-
"FEISHU_APP_SECRET": {
67-
"type": "sst.sst.Secret"
68-
"value": string
69-
}
70-
"GITHUB_APP_ID": {
71-
"type": "sst.sst.Secret"
72-
"value": string
73-
}
74-
"GITHUB_APP_PRIVATE_KEY": {
75-
"type": "sst.sst.Secret"
76-
"value": string
77-
}
78-
"GITHUB_CLIENT_ID_CONSOLE": {
79-
"type": "sst.sst.Secret"
80-
"value": string
81-
}
82-
"GITHUB_CLIENT_SECRET_CONSOLE": {
83-
"type": "sst.sst.Secret"
84-
"value": string
85-
}
86-
"GOOGLE_CLIENT_ID": {
87-
"type": "sst.sst.Secret"
88-
"value": string
89-
}
90-
"HONEYCOMB_API_KEY": {
91-
"type": "sst.sst.Secret"
92-
"value": string
93-
}
94-
"HoneycombWebhookSecret": {
95-
"type": "random.index/randomPassword.RandomPassword"
96-
"value": string
97-
}
98-
"R2AccessKey": {
99-
"type": "sst.sst.Secret"
100-
"value": string
101-
}
102-
"R2SecretKey": {
103-
"type": "sst.sst.Secret"
104-
"value": string
105-
}
106-
"SALESFORCE_CLIENT_ID": {
107-
"type": "sst.sst.Secret"
108-
"value": string
109-
}
110-
"SALESFORCE_CLIENT_SECRET": {
111-
"type": "sst.sst.Secret"
112-
"value": string
113-
}
114-
"SALESFORCE_INSTANCE_URL": {
115-
"type": "sst.sst.Secret"
116-
"value": string
117-
}
118-
"STRIPE_PUBLISHABLE_KEY": {
119-
"type": "sst.sst.Secret"
120-
"value": string
121-
}
122-
"STRIPE_SECRET_KEY": {
123-
"type": "sst.sst.Secret"
124-
"value": string
125-
}
126-
"STRIPE_WEBHOOK_SECRET": {
127-
"type": "sst.sst.Linkable"
128-
"value": string
129-
}
130-
"Teams": {
131-
"type": "sst.cloudflare.SolidStart"
132-
"url": string
133-
}
134-
"Web": {
135-
"type": "sst.cloudflare.Astro"
136-
"url": string
137-
}
138-
"WebApp": {
139-
"type": "sst.cloudflare.StaticSite"
140-
"url": string
141-
}
142-
"ZEN_BLACK_PRICE": {
143-
"plan100": string
144-
"plan20": string
145-
"plan200": string
146-
"product": string
147-
"type": "sst.sst.Linkable"
148-
}
149-
"ZEN_LIMITS": {
150-
"type": "sst.sst.Secret"
151-
"value": string
152-
}
153-
"ZEN_LITE_PRICE": {
154-
"firstMonth100Coupon": string
155-
"firstMonth50Coupon": string
156-
"price": string
157-
"priceInr": number
158-
"product": string
159-
"sixMonths100Coupon": string
160-
"threeMonths100Coupon": string
161-
"twelveMonths100Coupon": string
162-
"type": "sst.sst.Linkable"
163-
}
164-
"ZEN_MODELS1": {
165-
"type": "sst.sst.Secret"
166-
"value": string
167-
}
168-
"ZEN_MODELS10": {
169-
"type": "sst.sst.Secret"
170-
"value": string
171-
}
172-
"ZEN_MODELS11": {
173-
"type": "sst.sst.Secret"
174-
"value": string
175-
}
176-
"ZEN_MODELS12": {
177-
"type": "sst.sst.Secret"
178-
"value": string
179-
}
180-
"ZEN_MODELS13": {
181-
"type": "sst.sst.Secret"
182-
"value": string
183-
}
184-
"ZEN_MODELS14": {
185-
"type": "sst.sst.Secret"
186-
"value": string
187-
}
188-
"ZEN_MODELS15": {
189-
"type": "sst.sst.Secret"
190-
"value": string
191-
}
192-
"ZEN_MODELS16": {
193-
"type": "sst.sst.Secret"
194-
"value": string
195-
}
196-
"ZEN_MODELS17": {
197-
"type": "sst.sst.Secret"
198-
"value": string
199-
}
200-
"ZEN_MODELS18": {
201-
"type": "sst.sst.Secret"
202-
"value": string
203-
}
204-
"ZEN_MODELS19": {
205-
"type": "sst.sst.Secret"
206-
"value": string
207-
}
208-
"ZEN_MODELS2": {
209-
"type": "sst.sst.Secret"
210-
"value": string
211-
}
212-
"ZEN_MODELS20": {
213-
"type": "sst.sst.Secret"
214-
"value": string
215-
}
216-
"ZEN_MODELS21": {
217-
"type": "sst.sst.Secret"
218-
"value": string
219-
}
220-
"ZEN_MODELS22": {
221-
"type": "sst.sst.Secret"
222-
"value": string
223-
}
224-
"ZEN_MODELS23": {
225-
"type": "sst.sst.Secret"
226-
"value": string
227-
}
228-
"ZEN_MODELS24": {
229-
"type": "sst.sst.Secret"
230-
"value": string
231-
}
232-
"ZEN_MODELS25": {
233-
"type": "sst.sst.Secret"
234-
"value": string
235-
}
236-
"ZEN_MODELS26": {
237-
"type": "sst.sst.Secret"
238-
"value": string
239-
}
240-
"ZEN_MODELS27": {
241-
"type": "sst.sst.Secret"
242-
"value": string
243-
}
244-
"ZEN_MODELS28": {
245-
"type": "sst.sst.Secret"
246-
"value": string
247-
}
248-
"ZEN_MODELS29": {
249-
"type": "sst.sst.Secret"
250-
"value": string
251-
}
252-
"ZEN_MODELS3": {
253-
"type": "sst.sst.Secret"
254-
"value": string
255-
}
256-
"ZEN_MODELS30": {
257-
"type": "sst.sst.Secret"
258-
"value": string
259-
}
260-
"ZEN_MODELS4": {
261-
"type": "sst.sst.Secret"
262-
"value": string
263-
}
264-
"ZEN_MODELS5": {
265-
"type": "sst.sst.Secret"
266-
"value": string
267-
}
268-
"ZEN_MODELS6": {
269-
"type": "sst.sst.Secret"
270-
"value": string
271-
}
272-
"ZEN_MODELS7": {
273-
"type": "sst.sst.Secret"
274-
"value": string
275-
}
276-
"ZEN_MODELS8": {
277-
"type": "sst.sst.Secret"
278-
"value": string
279-
}
280-
"ZEN_MODELS9": {
281-
"type": "sst.sst.Secret"
282-
"value": string
283-
}
284-
"ZEN_SESSION_SECRET": {
285-
"type": "sst.sst.Secret"
286-
"value": string
287-
}
288-
}
289-
}
290-
// cloudflare
291-
import * as cloudflare from "@cloudflare/workers-types";
292-
declare module "sst" {
293-
export interface Resource {
294-
"Api": cloudflare.Service
295-
"AuthApi": cloudflare.Service
296-
"AuthStorage": cloudflare.KVNamespace
297-
"Bucket": cloudflare.R2Bucket
298-
"EnterpriseStorage": cloudflare.R2Bucket
299-
"LogProcessor": cloudflare.Service
300-
"Stat": cloudflare.Service
301-
"ZenData": cloudflare.R2Bucket
302-
"ZenDataNew": cloudflare.R2Bucket
303-
}
304-
}
7+
/// <reference path="../../../sst-env.d.ts" />
3058

3069
import "sst"
30710
export {}

0 commit comments

Comments
 (0)