mirror of
https://github.com/anomalyco/opencode.git
synced 2026-02-01 14:44:46 +00:00
wip: zen
This commit is contained in:
1
.prettierignore
Normal file
1
.prettierignore
Normal file
@@ -0,0 +1 @@
|
|||||||
|
sst-env.d.ts
|
||||||
2
github/sst-env.d.ts
vendored
2
github/sst-env.d.ts
vendored
@@ -6,4 +6,4 @@
|
|||||||
/// <reference path="../sst-env.d.ts" />
|
/// <reference path="../sst-env.d.ts" />
|
||||||
|
|
||||||
import "sst"
|
import "sst"
|
||||||
export {}
|
export {}
|
||||||
@@ -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")
|
||||||
|
|||||||
2
packages/console/app/sst-env.d.ts
vendored
2
packages/console/app/sst-env.d.ts
vendored
@@ -6,4 +6,4 @@
|
|||||||
/// <reference path="../../../sst-env.d.ts" />
|
/// <reference path="../../../sst-env.d.ts" />
|
||||||
|
|
||||||
import "sst"
|
import "sst"
|
||||||
export {}
|
export {}
|
||||||
187
packages/console/core/sst-env.d.ts
vendored
187
packages/console/core/sst-env.d.ts
vendored
@@ -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 {}
|
||||||
187
packages/console/function/sst-env.d.ts
vendored
187
packages/console/function/sst-env.d.ts
vendored
@@ -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 {}
|
||||||
2
packages/console/mail/sst-env.d.ts
vendored
2
packages/console/mail/sst-env.d.ts
vendored
@@ -6,4 +6,4 @@
|
|||||||
/// <reference path="../../../sst-env.d.ts" />
|
/// <reference path="../../../sst-env.d.ts" />
|
||||||
|
|
||||||
import "sst"
|
import "sst"
|
||||||
export {}
|
export {}
|
||||||
187
packages/console/resource/sst-env.d.ts
vendored
187
packages/console/resource/sst-env.d.ts
vendored
@@ -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 {}
|
||||||
6
packages/desktop/src/sst-env.d.ts
vendored
6
packages/desktop/src/sst-env.d.ts
vendored
@@ -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
|
||||||
}
|
}
|
||||||
2
packages/desktop/sst-env.d.ts
vendored
2
packages/desktop/sst-env.d.ts
vendored
@@ -6,4 +6,4 @@
|
|||||||
/// <reference path="../../sst-env.d.ts" />
|
/// <reference path="../../sst-env.d.ts" />
|
||||||
|
|
||||||
import "sst"
|
import "sst"
|
||||||
export {}
|
export {}
|
||||||
187
packages/enterprise/sst-env.d.ts
vendored
187
packages/enterprise/sst-env.d.ts
vendored
@@ -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 {}
|
||||||
187
packages/function/sst-env.d.ts
vendored
187
packages/function/sst-env.d.ts
vendored
@@ -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 {}
|
||||||
2
packages/opencode/sst-env.d.ts
vendored
2
packages/opencode/sst-env.d.ts
vendored
@@ -6,4 +6,4 @@
|
|||||||
/// <reference path="../../sst-env.d.ts" />
|
/// <reference path="../../sst-env.d.ts" />
|
||||||
|
|
||||||
import "sst"
|
import "sst"
|
||||||
export {}
|
export {}
|
||||||
2
packages/plugin/sst-env.d.ts
vendored
2
packages/plugin/sst-env.d.ts
vendored
@@ -6,4 +6,4 @@
|
|||||||
/// <reference path="../../sst-env.d.ts" />
|
/// <reference path="../../sst-env.d.ts" />
|
||||||
|
|
||||||
import "sst"
|
import "sst"
|
||||||
export {}
|
export {}
|
||||||
2
packages/script/sst-env.d.ts
vendored
2
packages/script/sst-env.d.ts
vendored
@@ -6,4 +6,4 @@
|
|||||||
/// <reference path="../../sst-env.d.ts" />
|
/// <reference path="../../sst-env.d.ts" />
|
||||||
|
|
||||||
import "sst"
|
import "sst"
|
||||||
export {}
|
export {}
|
||||||
2
packages/sdk/js/sst-env.d.ts
vendored
2
packages/sdk/js/sst-env.d.ts
vendored
@@ -6,4 +6,4 @@
|
|||||||
/// <reference path="../../../sst-env.d.ts" />
|
/// <reference path="../../../sst-env.d.ts" />
|
||||||
|
|
||||||
import "sst"
|
import "sst"
|
||||||
export {}
|
export {}
|
||||||
@@ -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
|
||||||
|
|||||||
2
packages/slack/sst-env.d.ts
vendored
2
packages/slack/sst-env.d.ts
vendored
@@ -6,4 +6,4 @@
|
|||||||
/// <reference path="../../sst-env.d.ts" />
|
/// <reference path="../../sst-env.d.ts" />
|
||||||
|
|
||||||
import "sst"
|
import "sst"
|
||||||
export {}
|
export {}
|
||||||
2
packages/tauri/sst-env.d.ts
vendored
2
packages/tauri/sst-env.d.ts
vendored
@@ -6,4 +6,4 @@
|
|||||||
/// <reference path="../../sst-env.d.ts" />
|
/// <reference path="../../sst-env.d.ts" />
|
||||||
|
|
||||||
import "sst"
|
import "sst"
|
||||||
export {}
|
export {}
|
||||||
2
packages/ui/sst-env.d.ts
vendored
2
packages/ui/sst-env.d.ts
vendored
@@ -6,4 +6,4 @@
|
|||||||
/// <reference path="../../sst-env.d.ts" />
|
/// <reference path="../../sst-env.d.ts" />
|
||||||
|
|
||||||
import "sst"
|
import "sst"
|
||||||
export {}
|
export {}
|
||||||
2
packages/util/sst-env.d.ts
vendored
2
packages/util/sst-env.d.ts
vendored
@@ -6,4 +6,4 @@
|
|||||||
/// <reference path="../../sst-env.d.ts" />
|
/// <reference path="../../sst-env.d.ts" />
|
||||||
|
|
||||||
import "sst"
|
import "sst"
|
||||||
export {}
|
export {}
|
||||||
2
packages/web/sst-env.d.ts
vendored
2
packages/web/sst-env.d.ts
vendored
@@ -6,4 +6,4 @@
|
|||||||
/// <reference path="../../sst-env.d.ts" />
|
/// <reference path="../../sst-env.d.ts" />
|
||||||
|
|
||||||
import "sst"
|
import "sst"
|
||||||
export {}
|
export {}
|
||||||
2
sdks/vscode/sst-env.d.ts
vendored
2
sdks/vscode/sst-env.d.ts
vendored
@@ -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
216
sst-env.d.ts
vendored
@@ -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 {}
|
||||||
Reference in New Issue
Block a user