Skip to content

Commit 28c802f

Browse files
author
Frank
committed
wip: zen
1 parent bcfa63a commit 28c802f

File tree

24 files changed

+719
-729
lines changed

24 files changed

+719
-729
lines changed

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sst-env.d.ts

github/sst-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
/// <reference path="../sst-env.d.ts" />
77

88
import "sst"
9-
export {}
9+
export {}

infra/console.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ const gatewayKv = new sst.cloudflare.Kv("GatewayKv")
116116
// CONSOLE
117117
////////////////
118118

119-
const oldBucket = new sst.cloudflare.Bucket("ConsoleData")
120119
const bucket = new sst.cloudflare.Bucket("ZenData")
121120

122121
const AWS_SES_ACCESS_KEY_ID = new sst.Secret("AWS_SES_ACCESS_KEY_ID")

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
/// <reference path="../../../sst-env.d.ts" />
77

88
import "sst"
9-
export {}
9+
export {}

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

Lines changed: 117 additions & 118 deletions
Original file line numberDiff line numberDiff line change
@@ -6,131 +6,130 @@
66
import "sst"
77
declare module "sst" {
88
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
112112
}
113-
ZEN_MODELS4: {
114-
type: "sst.sst.Secret"
115-
value: string
113+
"ZEN_MODELS4": {
114+
"type": "sst.sst.Secret"
115+
"value": string
116116
}
117117
}
118118
}
119-
// cloudflare
120-
import * as cloudflare from "@cloudflare/workers-types"
119+
// cloudflare
120+
import * as cloudflare from "@cloudflare/workers-types";
121121
declare module "sst" {
122122
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+
"EnterpriseStorage": cloudflare.R2Bucket
128+
"GatewayKv": cloudflare.KVNamespace
129+
"LogProcessor": cloudflare.Service
130+
"ZenData": cloudflare.R2Bucket
132131
}
133132
}
134133

135134
import "sst"
136-
export {}
135+
export {}

0 commit comments

Comments
 (0)