This commit is contained in:
Frank
2025-12-02 18:36:13 -05:00
parent bcfa63aa4e
commit 28c802f399
24 changed files with 590 additions and 600 deletions

1
.prettierignore Normal file
View File

@@ -0,0 +1 @@
sst-env.d.ts

2
github/sst-env.d.ts vendored
View File

@@ -6,4 +6,4 @@
/// <reference path="../sst-env.d.ts" /> /// <reference path="../sst-env.d.ts" />
import "sst" import "sst"
export {} export {}

View File

@@ -116,7 +116,6 @@ const gatewayKv = new sst.cloudflare.Kv("GatewayKv")
// CONSOLE // CONSOLE
//////////////// ////////////////
const oldBucket = new sst.cloudflare.Bucket("ConsoleData")
const bucket = new sst.cloudflare.Bucket("ZenData") const bucket = new sst.cloudflare.Bucket("ZenData")
const AWS_SES_ACCESS_KEY_ID = new sst.Secret("AWS_SES_ACCESS_KEY_ID") const AWS_SES_ACCESS_KEY_ID = new sst.Secret("AWS_SES_ACCESS_KEY_ID")

View File

@@ -6,4 +6,4 @@
/// <reference path="../../../sst-env.d.ts" /> /// <reference path="../../../sst-env.d.ts" />
import "sst" import "sst"
export {} export {}

View File

@@ -6,131 +6,130 @@
import "sst" import "sst"
declare module "sst" { declare module "sst" {
export interface Resource { export interface Resource {
ADMIN_SECRET: { "ADMIN_SECRET": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
AUTH_API_URL: { "AUTH_API_URL": {
type: "sst.sst.Linkable" "type": "sst.sst.Linkable"
value: string "value": string
} }
AWS_SES_ACCESS_KEY_ID: { "AWS_SES_ACCESS_KEY_ID": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
AWS_SES_SECRET_ACCESS_KEY: { "AWS_SES_SECRET_ACCESS_KEY": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
CLOUDFLARE_API_TOKEN: { "CLOUDFLARE_API_TOKEN": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
CLOUDFLARE_DEFAULT_ACCOUNT_ID: { "CLOUDFLARE_DEFAULT_ACCOUNT_ID": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
Console: { "Console": {
type: "sst.cloudflare.SolidStart" "type": "sst.cloudflare.SolidStart"
url: string "url": string
} }
Database: { "Database": {
database: string "database": string
host: string "host": string
password: string "password": string
port: number "port": number
type: "sst.sst.Linkable" "type": "sst.sst.Linkable"
username: string "username": string
} }
Desktop: { "Desktop": {
type: "sst.cloudflare.StaticSite" "type": "sst.cloudflare.StaticSite"
url: string "url": string
} }
EMAILOCTOPUS_API_KEY: { "EMAILOCTOPUS_API_KEY": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
Enterprise: { "Enterprise": {
type: "sst.cloudflare.SolidStart" "type": "sst.cloudflare.SolidStart"
url: string "url": string
} }
GITHUB_APP_ID: { "GITHUB_APP_ID": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
GITHUB_APP_PRIVATE_KEY: { "GITHUB_APP_PRIVATE_KEY": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
GITHUB_CLIENT_ID_CONSOLE: { "GITHUB_CLIENT_ID_CONSOLE": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
GITHUB_CLIENT_SECRET_CONSOLE: { "GITHUB_CLIENT_SECRET_CONSOLE": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
GOOGLE_CLIENT_ID: { "GOOGLE_CLIENT_ID": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
HONEYCOMB_API_KEY: { "HONEYCOMB_API_KEY": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
R2AccessKey: { "R2AccessKey": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
R2SecretKey: { "R2SecretKey": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
STRIPE_SECRET_KEY: { "STRIPE_SECRET_KEY": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
STRIPE_WEBHOOK_SECRET: { "STRIPE_WEBHOOK_SECRET": {
type: "sst.sst.Linkable" "type": "sst.sst.Linkable"
value: string "value": string
} }
Web: { "Web": {
type: "sst.cloudflare.Astro" "type": "sst.cloudflare.Astro"
url: string "url": string
} }
ZEN_MODELS1: { "ZEN_MODELS1": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
ZEN_MODELS2: { "ZEN_MODELS2": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
ZEN_MODELS3: { "ZEN_MODELS3": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
ZEN_MODELS4: { "ZEN_MODELS4": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
} }
} }
// cloudflare // cloudflare
import * as cloudflare from "@cloudflare/workers-types" import * as cloudflare from "@cloudflare/workers-types";
declare module "sst" { declare module "sst" {
export interface Resource { export interface Resource {
Api: cloudflare.Service "Api": cloudflare.Service
AuthApi: cloudflare.Service "AuthApi": cloudflare.Service
AuthStorage: cloudflare.KVNamespace "AuthStorage": cloudflare.KVNamespace
Bucket: cloudflare.R2Bucket "Bucket": cloudflare.R2Bucket
ConsoleData: cloudflare.R2Bucket "EnterpriseStorage": cloudflare.R2Bucket
EnterpriseStorage: cloudflare.R2Bucket "GatewayKv": cloudflare.KVNamespace
GatewayKv: cloudflare.KVNamespace "LogProcessor": cloudflare.Service
LogProcessor: cloudflare.Service "ZenData": cloudflare.R2Bucket
ZenData: cloudflare.R2Bucket
} }
} }
import "sst" import "sst"
export {} export {}

View File

@@ -6,131 +6,130 @@
import "sst" import "sst"
declare module "sst" { declare module "sst" {
export interface Resource { export interface Resource {
ADMIN_SECRET: { "ADMIN_SECRET": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
AUTH_API_URL: { "AUTH_API_URL": {
type: "sst.sst.Linkable" "type": "sst.sst.Linkable"
value: string "value": string
} }
AWS_SES_ACCESS_KEY_ID: { "AWS_SES_ACCESS_KEY_ID": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
AWS_SES_SECRET_ACCESS_KEY: { "AWS_SES_SECRET_ACCESS_KEY": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
CLOUDFLARE_API_TOKEN: { "CLOUDFLARE_API_TOKEN": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
CLOUDFLARE_DEFAULT_ACCOUNT_ID: { "CLOUDFLARE_DEFAULT_ACCOUNT_ID": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
Console: { "Console": {
type: "sst.cloudflare.SolidStart" "type": "sst.cloudflare.SolidStart"
url: string "url": string
} }
Database: { "Database": {
database: string "database": string
host: string "host": string
password: string "password": string
port: number "port": number
type: "sst.sst.Linkable" "type": "sst.sst.Linkable"
username: string "username": string
} }
Desktop: { "Desktop": {
type: "sst.cloudflare.StaticSite" "type": "sst.cloudflare.StaticSite"
url: string "url": string
} }
EMAILOCTOPUS_API_KEY: { "EMAILOCTOPUS_API_KEY": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
Enterprise: { "Enterprise": {
type: "sst.cloudflare.SolidStart" "type": "sst.cloudflare.SolidStart"
url: string "url": string
} }
GITHUB_APP_ID: { "GITHUB_APP_ID": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
GITHUB_APP_PRIVATE_KEY: { "GITHUB_APP_PRIVATE_KEY": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
GITHUB_CLIENT_ID_CONSOLE: { "GITHUB_CLIENT_ID_CONSOLE": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
GITHUB_CLIENT_SECRET_CONSOLE: { "GITHUB_CLIENT_SECRET_CONSOLE": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
GOOGLE_CLIENT_ID: { "GOOGLE_CLIENT_ID": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
HONEYCOMB_API_KEY: { "HONEYCOMB_API_KEY": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
R2AccessKey: { "R2AccessKey": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
R2SecretKey: { "R2SecretKey": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
STRIPE_SECRET_KEY: { "STRIPE_SECRET_KEY": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
STRIPE_WEBHOOK_SECRET: { "STRIPE_WEBHOOK_SECRET": {
type: "sst.sst.Linkable" "type": "sst.sst.Linkable"
value: string "value": string
} }
Web: { "Web": {
type: "sst.cloudflare.Astro" "type": "sst.cloudflare.Astro"
url: string "url": string
} }
ZEN_MODELS1: { "ZEN_MODELS1": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
ZEN_MODELS2: { "ZEN_MODELS2": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
ZEN_MODELS3: { "ZEN_MODELS3": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
ZEN_MODELS4: { "ZEN_MODELS4": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
} }
} }
// cloudflare // cloudflare
import * as cloudflare from "@cloudflare/workers-types" import * as cloudflare from "@cloudflare/workers-types";
declare module "sst" { declare module "sst" {
export interface Resource { export interface Resource {
Api: cloudflare.Service "Api": cloudflare.Service
AuthApi: cloudflare.Service "AuthApi": cloudflare.Service
AuthStorage: cloudflare.KVNamespace "AuthStorage": cloudflare.KVNamespace
Bucket: cloudflare.R2Bucket "Bucket": cloudflare.R2Bucket
ConsoleData: cloudflare.R2Bucket "EnterpriseStorage": cloudflare.R2Bucket
EnterpriseStorage: cloudflare.R2Bucket "GatewayKv": cloudflare.KVNamespace
GatewayKv: cloudflare.KVNamespace "LogProcessor": cloudflare.Service
LogProcessor: cloudflare.Service "ZenData": cloudflare.R2Bucket
ZenData: cloudflare.R2Bucket
} }
} }
import "sst" import "sst"
export {} export {}

View File

@@ -6,4 +6,4 @@
/// <reference path="../../../sst-env.d.ts" /> /// <reference path="../../../sst-env.d.ts" />
import "sst" import "sst"
export {} export {}

View File

@@ -6,131 +6,130 @@
import "sst" import "sst"
declare module "sst" { declare module "sst" {
export interface Resource { export interface Resource {
ADMIN_SECRET: { "ADMIN_SECRET": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
AUTH_API_URL: { "AUTH_API_URL": {
type: "sst.sst.Linkable" "type": "sst.sst.Linkable"
value: string "value": string
} }
AWS_SES_ACCESS_KEY_ID: { "AWS_SES_ACCESS_KEY_ID": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
AWS_SES_SECRET_ACCESS_KEY: { "AWS_SES_SECRET_ACCESS_KEY": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
CLOUDFLARE_API_TOKEN: { "CLOUDFLARE_API_TOKEN": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
CLOUDFLARE_DEFAULT_ACCOUNT_ID: { "CLOUDFLARE_DEFAULT_ACCOUNT_ID": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
Console: { "Console": {
type: "sst.cloudflare.SolidStart" "type": "sst.cloudflare.SolidStart"
url: string "url": string
} }
Database: { "Database": {
database: string "database": string
host: string "host": string
password: string "password": string
port: number "port": number
type: "sst.sst.Linkable" "type": "sst.sst.Linkable"
username: string "username": string
} }
Desktop: { "Desktop": {
type: "sst.cloudflare.StaticSite" "type": "sst.cloudflare.StaticSite"
url: string "url": string
} }
EMAILOCTOPUS_API_KEY: { "EMAILOCTOPUS_API_KEY": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
Enterprise: { "Enterprise": {
type: "sst.cloudflare.SolidStart" "type": "sst.cloudflare.SolidStart"
url: string "url": string
} }
GITHUB_APP_ID: { "GITHUB_APP_ID": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
GITHUB_APP_PRIVATE_KEY: { "GITHUB_APP_PRIVATE_KEY": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
GITHUB_CLIENT_ID_CONSOLE: { "GITHUB_CLIENT_ID_CONSOLE": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
GITHUB_CLIENT_SECRET_CONSOLE: { "GITHUB_CLIENT_SECRET_CONSOLE": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
GOOGLE_CLIENT_ID: { "GOOGLE_CLIENT_ID": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
HONEYCOMB_API_KEY: { "HONEYCOMB_API_KEY": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
R2AccessKey: { "R2AccessKey": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
R2SecretKey: { "R2SecretKey": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
STRIPE_SECRET_KEY: { "STRIPE_SECRET_KEY": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
STRIPE_WEBHOOK_SECRET: { "STRIPE_WEBHOOK_SECRET": {
type: "sst.sst.Linkable" "type": "sst.sst.Linkable"
value: string "value": string
} }
Web: { "Web": {
type: "sst.cloudflare.Astro" "type": "sst.cloudflare.Astro"
url: string "url": string
} }
ZEN_MODELS1: { "ZEN_MODELS1": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
ZEN_MODELS2: { "ZEN_MODELS2": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
ZEN_MODELS3: { "ZEN_MODELS3": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
ZEN_MODELS4: { "ZEN_MODELS4": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
} }
} }
// cloudflare // cloudflare
import * as cloudflare from "@cloudflare/workers-types" import * as cloudflare from "@cloudflare/workers-types";
declare module "sst" { declare module "sst" {
export interface Resource { export interface Resource {
Api: cloudflare.Service "Api": cloudflare.Service
AuthApi: cloudflare.Service "AuthApi": cloudflare.Service
AuthStorage: cloudflare.KVNamespace "AuthStorage": cloudflare.KVNamespace
Bucket: cloudflare.R2Bucket "Bucket": cloudflare.R2Bucket
ConsoleData: cloudflare.R2Bucket "EnterpriseStorage": cloudflare.R2Bucket
EnterpriseStorage: cloudflare.R2Bucket "GatewayKv": cloudflare.KVNamespace
GatewayKv: cloudflare.KVNamespace "LogProcessor": cloudflare.Service
LogProcessor: cloudflare.Service "ZenData": cloudflare.R2Bucket
ZenData: cloudflare.R2Bucket
} }
} }
import "sst" import "sst"
export {} export {}

View File

@@ -2,7 +2,9 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
/// <reference types="vite/client" /> /// <reference types="vite/client" />
interface ImportMetaEnv {} interface ImportMetaEnv {
}
interface ImportMeta { interface ImportMeta {
readonly env: ImportMetaEnv readonly env: ImportMetaEnv
} }

View File

@@ -6,4 +6,4 @@
/// <reference path="../../sst-env.d.ts" /> /// <reference path="../../sst-env.d.ts" />
import "sst" import "sst"
export {} export {}

View File

@@ -6,131 +6,130 @@
import "sst" import "sst"
declare module "sst" { declare module "sst" {
export interface Resource { export interface Resource {
ADMIN_SECRET: { "ADMIN_SECRET": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
AUTH_API_URL: { "AUTH_API_URL": {
type: "sst.sst.Linkable" "type": "sst.sst.Linkable"
value: string "value": string
} }
AWS_SES_ACCESS_KEY_ID: { "AWS_SES_ACCESS_KEY_ID": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
AWS_SES_SECRET_ACCESS_KEY: { "AWS_SES_SECRET_ACCESS_KEY": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
CLOUDFLARE_API_TOKEN: { "CLOUDFLARE_API_TOKEN": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
CLOUDFLARE_DEFAULT_ACCOUNT_ID: { "CLOUDFLARE_DEFAULT_ACCOUNT_ID": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
Console: { "Console": {
type: "sst.cloudflare.SolidStart" "type": "sst.cloudflare.SolidStart"
url: string "url": string
} }
Database: { "Database": {
database: string "database": string
host: string "host": string
password: string "password": string
port: number "port": number
type: "sst.sst.Linkable" "type": "sst.sst.Linkable"
username: string "username": string
} }
Desktop: { "Desktop": {
type: "sst.cloudflare.StaticSite" "type": "sst.cloudflare.StaticSite"
url: string "url": string
} }
EMAILOCTOPUS_API_KEY: { "EMAILOCTOPUS_API_KEY": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
Enterprise: { "Enterprise": {
type: "sst.cloudflare.SolidStart" "type": "sst.cloudflare.SolidStart"
url: string "url": string
} }
GITHUB_APP_ID: { "GITHUB_APP_ID": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
GITHUB_APP_PRIVATE_KEY: { "GITHUB_APP_PRIVATE_KEY": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
GITHUB_CLIENT_ID_CONSOLE: { "GITHUB_CLIENT_ID_CONSOLE": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
GITHUB_CLIENT_SECRET_CONSOLE: { "GITHUB_CLIENT_SECRET_CONSOLE": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
GOOGLE_CLIENT_ID: { "GOOGLE_CLIENT_ID": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
HONEYCOMB_API_KEY: { "HONEYCOMB_API_KEY": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
R2AccessKey: { "R2AccessKey": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
R2SecretKey: { "R2SecretKey": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
STRIPE_SECRET_KEY: { "STRIPE_SECRET_KEY": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
STRIPE_WEBHOOK_SECRET: { "STRIPE_WEBHOOK_SECRET": {
type: "sst.sst.Linkable" "type": "sst.sst.Linkable"
value: string "value": string
} }
Web: { "Web": {
type: "sst.cloudflare.Astro" "type": "sst.cloudflare.Astro"
url: string "url": string
} }
ZEN_MODELS1: { "ZEN_MODELS1": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
ZEN_MODELS2: { "ZEN_MODELS2": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
ZEN_MODELS3: { "ZEN_MODELS3": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
ZEN_MODELS4: { "ZEN_MODELS4": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
} }
} }
// cloudflare // cloudflare
import * as cloudflare from "@cloudflare/workers-types" import * as cloudflare from "@cloudflare/workers-types";
declare module "sst" { declare module "sst" {
export interface Resource { export interface Resource {
Api: cloudflare.Service "Api": cloudflare.Service
AuthApi: cloudflare.Service "AuthApi": cloudflare.Service
AuthStorage: cloudflare.KVNamespace "AuthStorage": cloudflare.KVNamespace
Bucket: cloudflare.R2Bucket "Bucket": cloudflare.R2Bucket
ConsoleData: cloudflare.R2Bucket "EnterpriseStorage": cloudflare.R2Bucket
EnterpriseStorage: cloudflare.R2Bucket "GatewayKv": cloudflare.KVNamespace
GatewayKv: cloudflare.KVNamespace "LogProcessor": cloudflare.Service
LogProcessor: cloudflare.Service "ZenData": cloudflare.R2Bucket
ZenData: cloudflare.R2Bucket
} }
} }
import "sst" import "sst"
export {} export {}

View File

@@ -6,131 +6,130 @@
import "sst" import "sst"
declare module "sst" { declare module "sst" {
export interface Resource { export interface Resource {
ADMIN_SECRET: { "ADMIN_SECRET": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
AUTH_API_URL: { "AUTH_API_URL": {
type: "sst.sst.Linkable" "type": "sst.sst.Linkable"
value: string "value": string
} }
AWS_SES_ACCESS_KEY_ID: { "AWS_SES_ACCESS_KEY_ID": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
AWS_SES_SECRET_ACCESS_KEY: { "AWS_SES_SECRET_ACCESS_KEY": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
CLOUDFLARE_API_TOKEN: { "CLOUDFLARE_API_TOKEN": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
CLOUDFLARE_DEFAULT_ACCOUNT_ID: { "CLOUDFLARE_DEFAULT_ACCOUNT_ID": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
Console: { "Console": {
type: "sst.cloudflare.SolidStart" "type": "sst.cloudflare.SolidStart"
url: string "url": string
} }
Database: { "Database": {
database: string "database": string
host: string "host": string
password: string "password": string
port: number "port": number
type: "sst.sst.Linkable" "type": "sst.sst.Linkable"
username: string "username": string
} }
Desktop: { "Desktop": {
type: "sst.cloudflare.StaticSite" "type": "sst.cloudflare.StaticSite"
url: string "url": string
} }
EMAILOCTOPUS_API_KEY: { "EMAILOCTOPUS_API_KEY": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
Enterprise: { "Enterprise": {
type: "sst.cloudflare.SolidStart" "type": "sst.cloudflare.SolidStart"
url: string "url": string
} }
GITHUB_APP_ID: { "GITHUB_APP_ID": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
GITHUB_APP_PRIVATE_KEY: { "GITHUB_APP_PRIVATE_KEY": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
GITHUB_CLIENT_ID_CONSOLE: { "GITHUB_CLIENT_ID_CONSOLE": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
GITHUB_CLIENT_SECRET_CONSOLE: { "GITHUB_CLIENT_SECRET_CONSOLE": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
GOOGLE_CLIENT_ID: { "GOOGLE_CLIENT_ID": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
HONEYCOMB_API_KEY: { "HONEYCOMB_API_KEY": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
R2AccessKey: { "R2AccessKey": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
R2SecretKey: { "R2SecretKey": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
STRIPE_SECRET_KEY: { "STRIPE_SECRET_KEY": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
STRIPE_WEBHOOK_SECRET: { "STRIPE_WEBHOOK_SECRET": {
type: "sst.sst.Linkable" "type": "sst.sst.Linkable"
value: string "value": string
} }
Web: { "Web": {
type: "sst.cloudflare.Astro" "type": "sst.cloudflare.Astro"
url: string "url": string
} }
ZEN_MODELS1: { "ZEN_MODELS1": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
ZEN_MODELS2: { "ZEN_MODELS2": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
ZEN_MODELS3: { "ZEN_MODELS3": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
ZEN_MODELS4: { "ZEN_MODELS4": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
} }
} }
// cloudflare // cloudflare
import * as cloudflare from "@cloudflare/workers-types" import * as cloudflare from "@cloudflare/workers-types";
declare module "sst" { declare module "sst" {
export interface Resource { export interface Resource {
Api: cloudflare.Service "Api": cloudflare.Service
AuthApi: cloudflare.Service "AuthApi": cloudflare.Service
AuthStorage: cloudflare.KVNamespace "AuthStorage": cloudflare.KVNamespace
Bucket: cloudflare.R2Bucket "Bucket": cloudflare.R2Bucket
ConsoleData: cloudflare.R2Bucket "EnterpriseStorage": cloudflare.R2Bucket
EnterpriseStorage: cloudflare.R2Bucket "GatewayKv": cloudflare.KVNamespace
GatewayKv: cloudflare.KVNamespace "LogProcessor": cloudflare.Service
LogProcessor: cloudflare.Service "ZenData": cloudflare.R2Bucket
ZenData: cloudflare.R2Bucket
} }
} }
import "sst" import "sst"
export {} export {}

View File

@@ -6,4 +6,4 @@
/// <reference path="../../sst-env.d.ts" /> /// <reference path="../../sst-env.d.ts" />
import "sst" import "sst"
export {} export {}

View File

@@ -6,4 +6,4 @@
/// <reference path="../../sst-env.d.ts" /> /// <reference path="../../sst-env.d.ts" />
import "sst" import "sst"
export {} export {}

View File

@@ -6,4 +6,4 @@
/// <reference path="../../sst-env.d.ts" /> /// <reference path="../../sst-env.d.ts" />
import "sst" import "sst"
export {} export {}

View File

@@ -6,4 +6,4 @@
/// <reference path="../../../sst-env.d.ts" /> /// <reference path="../../../sst-env.d.ts" />
import "sst" import "sst"
export {} export {}

View File

@@ -39,9 +39,6 @@ class Resource:
class Console: class Console:
type: str type: str
url: str url: str
class ConsoleData:
name: str
type: str
class Database: class Database:
database: str database: str
host: str host: str

View File

@@ -6,4 +6,4 @@
/// <reference path="../../sst-env.d.ts" /> /// <reference path="../../sst-env.d.ts" />
import "sst" import "sst"
export {} export {}

View File

@@ -6,4 +6,4 @@
/// <reference path="../../sst-env.d.ts" /> /// <reference path="../../sst-env.d.ts" />
import "sst" import "sst"
export {} export {}

View File

@@ -6,4 +6,4 @@
/// <reference path="../../sst-env.d.ts" /> /// <reference path="../../sst-env.d.ts" />
import "sst" import "sst"
export {} export {}

View File

@@ -6,4 +6,4 @@
/// <reference path="../../sst-env.d.ts" /> /// <reference path="../../sst-env.d.ts" />
import "sst" import "sst"
export {} export {}

View File

@@ -6,4 +6,4 @@
/// <reference path="../../sst-env.d.ts" /> /// <reference path="../../sst-env.d.ts" />
import "sst" import "sst"
export {} export {}

View File

@@ -6,4 +6,4 @@
/// <reference path="../../sst-env.d.ts" /> /// <reference path="../../sst-env.d.ts" />
import "sst" import "sst"
export {} export {}

216
sst-env.d.ts vendored
View File

@@ -5,152 +5,148 @@
declare module "sst" { declare module "sst" {
export interface Resource { export interface Resource {
ADMIN_SECRET: { "ADMIN_SECRET": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
AUTH_API_URL: { "AUTH_API_URL": {
type: "sst.sst.Linkable" "type": "sst.sst.Linkable"
value: string "value": string
} }
AWS_SES_ACCESS_KEY_ID: { "AWS_SES_ACCESS_KEY_ID": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
AWS_SES_SECRET_ACCESS_KEY: { "AWS_SES_SECRET_ACCESS_KEY": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
Api: { "Api": {
type: "sst.cloudflare.Worker" "type": "sst.cloudflare.Worker"
url: string "url": string
} }
AuthApi: { "AuthApi": {
type: "sst.cloudflare.Worker" "type": "sst.cloudflare.Worker"
url: string "url": string
} }
AuthStorage: { "AuthStorage": {
namespaceId: string "namespaceId": string
type: "sst.cloudflare.Kv" "type": "sst.cloudflare.Kv"
} }
Bucket: { "Bucket": {
name: string "name": string
type: "sst.cloudflare.Bucket" "type": "sst.cloudflare.Bucket"
} }
CLOUDFLARE_API_TOKEN: { "CLOUDFLARE_API_TOKEN": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
CLOUDFLARE_DEFAULT_ACCOUNT_ID: { "CLOUDFLARE_DEFAULT_ACCOUNT_ID": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
Console: { "Console": {
type: "sst.cloudflare.SolidStart" "type": "sst.cloudflare.SolidStart"
url: string "url": string
} }
ConsoleData: { "Database": {
name: string "database": string
type: "sst.cloudflare.Bucket" "host": string
"password": string
"port": number
"type": "sst.sst.Linkable"
"username": string
} }
Database: { "Desktop": {
database: string "type": "sst.cloudflare.StaticSite"
host: string "url": string
password: string
port: number
type: "sst.sst.Linkable"
username: string
} }
Desktop: { "EMAILOCTOPUS_API_KEY": {
type: "sst.cloudflare.StaticSite" "type": "sst.sst.Secret"
url: string "value": string
} }
EMAILOCTOPUS_API_KEY: { "Enterprise": {
type: "sst.sst.Secret" "type": "sst.cloudflare.SolidStart"
value: string "url": string
} }
Enterprise: { "EnterpriseStorage": {
type: "sst.cloudflare.SolidStart" "name": string
url: string "type": "sst.cloudflare.Bucket"
} }
EnterpriseStorage: { "GITHUB_APP_ID": {
name: string "type": "sst.sst.Secret"
type: "sst.cloudflare.Bucket" "value": string
} }
GITHUB_APP_ID: { "GITHUB_APP_PRIVATE_KEY": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
GITHUB_APP_PRIVATE_KEY: { "GITHUB_CLIENT_ID_CONSOLE": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
GITHUB_CLIENT_ID_CONSOLE: { "GITHUB_CLIENT_SECRET_CONSOLE": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
GITHUB_CLIENT_SECRET_CONSOLE: { "GOOGLE_CLIENT_ID": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
GOOGLE_CLIENT_ID: { "GatewayKv": {
type: "sst.sst.Secret" "namespaceId": string
value: string "type": "sst.cloudflare.Kv"
} }
GatewayKv: { "HONEYCOMB_API_KEY": {
namespaceId: string "type": "sst.sst.Secret"
type: "sst.cloudflare.Kv" "value": string
} }
HONEYCOMB_API_KEY: { "LogProcessor": {
type: "sst.sst.Secret" "type": "sst.cloudflare.Worker"
value: string
} }
LogProcessor: { "R2AccessKey": {
type: "sst.cloudflare.Worker" "type": "sst.sst.Secret"
"value": string
} }
R2AccessKey: { "R2SecretKey": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
R2SecretKey: { "STRIPE_SECRET_KEY": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
STRIPE_SECRET_KEY: { "STRIPE_WEBHOOK_SECRET": {
type: "sst.sst.Secret" "type": "sst.sst.Linkable"
value: string "value": string
} }
STRIPE_WEBHOOK_SECRET: { "Web": {
type: "sst.sst.Linkable" "type": "sst.cloudflare.Astro"
value: string "url": string
} }
Web: { "ZEN_MODELS1": {
type: "sst.cloudflare.Astro" "type": "sst.sst.Secret"
url: string "value": string
} }
ZEN_MODELS1: { "ZEN_MODELS2": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
ZEN_MODELS2: { "ZEN_MODELS3": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
ZEN_MODELS3: { "ZEN_MODELS4": {
type: "sst.sst.Secret" "type": "sst.sst.Secret"
value: string "value": string
} }
ZEN_MODELS4: { "ZenData": {
type: "sst.sst.Secret" "name": string
value: string "type": "sst.cloudflare.Bucket"
}
ZenData: {
name: string
type: "sst.cloudflare.Bucket"
} }
} }
} }
/// <reference path="sst-env.d.ts" /> /// <reference path="sst-env.d.ts" />
import "sst" import "sst"
export {} export {}