summaryrefslogtreecommitdiffhomepage
path: root/packages
diff options
context:
space:
mode:
authorGitHub Action <[email protected]>2025-11-08 15:20:53 +0000
committerGitHub Action <[email protected]>2025-11-08 15:20:53 +0000
commit6ecaf83f76cf5a7c87dc118c01303f18aac35419 (patch)
tree2d894040775d9c6c93daa1e05e9d9b69a1fbe68e /packages
parent30b1ae5d4b071f5637c1a590a177b5017a28c90b (diff)
downloadopencode-6ecaf83f76cf5a7c87dc118c01303f18aac35419.tar.gz
opencode-6ecaf83f76cf5a7c87dc118c01303f18aac35419.zip
chore: format code
Diffstat (limited to 'packages')
-rw-r--r--packages/console/app/src/routes/zen/util/rateLimiter.ts3
-rw-r--r--packages/console/app/sst-env.d.ts2
-rw-r--r--packages/console/core/sst-env.d.ts192
-rw-r--r--packages/console/function/sst-env.d.ts192
-rw-r--r--packages/console/mail/sst-env.d.ts2
-rw-r--r--packages/console/resource/resource.node.ts10
-rw-r--r--packages/console/resource/sst-env.d.ts192
-rw-r--r--packages/desktop/src/sst-env.d.ts6
-rw-r--r--packages/desktop/sst-env.d.ts2
-rw-r--r--packages/function/sst-env.d.ts192
-rw-r--r--packages/opencode/sst-env.d.ts2
-rw-r--r--packages/plugin/package.json2
-rw-r--r--packages/plugin/sst-env.d.ts2
-rw-r--r--packages/script/sst-env.d.ts2
-rw-r--r--packages/sdk/js/package.json2
-rw-r--r--packages/sdk/js/sst-env.d.ts2
-rw-r--r--packages/slack/sst-env.d.ts2
-rw-r--r--packages/ui/sst-env.d.ts2
-rw-r--r--packages/web/sst-env.d.ts2
19 files changed, 401 insertions, 410 deletions
diff --git a/packages/console/app/src/routes/zen/util/rateLimiter.ts b/packages/console/app/src/routes/zen/util/rateLimiter.ts
index 84cd5253e..b3c036815 100644
--- a/packages/console/app/src/routes/zen/util/rateLimiter.ts
+++ b/packages/console/app/src/routes/zen/util/rateLimiter.ts
@@ -22,8 +22,7 @@ export function createRateLimiter(model: string, limit: number | undefined, ip:
prevRate = prevValue ? parseInt(prevValue) : 0
currRate = currValue ? parseInt(currValue) : 0
logger.debug(`rate limit ${model} prev/curr: ${prevRate}/${currRate}`)
- if (prevRate + currRate >= limit)
- throw new RateLimitError(`Rate limit exceeded. Please try again later.`)
+ if (prevRate + currRate >= limit) throw new RateLimitError(`Rate limit exceeded. Please try again later.`)
},
}
}
diff --git a/packages/console/app/sst-env.d.ts b/packages/console/app/sst-env.d.ts
index 9b9de7327..bd5588217 100644
--- a/packages/console/app/sst-env.d.ts
+++ b/packages/console/app/sst-env.d.ts
@@ -6,4 +6,4 @@
/// <reference path="../../../sst-env.d.ts" />
import "sst"
-export {} \ No newline at end of file
+export {}
diff --git a/packages/console/core/sst-env.d.ts b/packages/console/core/sst-env.d.ts
index 63c2af977..bcd7c2650 100644
--- a/packages/console/core/sst-env.d.ts
+++ b/packages/console/core/sst-env.d.ts
@@ -6,108 +6,108 @@
import "sst"
declare module "sst" {
export interface Resource {
- "ADMIN_SECRET": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "AUTH_API_URL": {
- "type": "sst.sst.Linkable"
- "value": string
- }
- "AWS_SES_ACCESS_KEY_ID": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "AWS_SES_SECRET_ACCESS_KEY": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "CLOUDFLARE_API_TOKEN": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "CLOUDFLARE_DEFAULT_ACCOUNT_ID": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "Console": {
- "type": "sst.cloudflare.SolidStart"
- "url": string
- }
- "Database": {
- "database": string
- "host": string
- "password": string
- "port": number
- "type": "sst.sst.Linkable"
- "username": string
- }
- "Desktop": {
- "type": "sst.cloudflare.StaticSite"
- "url": string
- }
- "EMAILOCTOPUS_API_KEY": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "GITHUB_APP_ID": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "GITHUB_APP_PRIVATE_KEY": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "GITHUB_CLIENT_ID_CONSOLE": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "GITHUB_CLIENT_SECRET_CONSOLE": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "GOOGLE_CLIENT_ID": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "HONEYCOMB_API_KEY": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "STRIPE_SECRET_KEY": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "STRIPE_WEBHOOK_SECRET": {
- "type": "sst.sst.Linkable"
- "value": string
- }
- "Web": {
- "type": "sst.cloudflare.Astro"
- "url": string
- }
- "ZEN_MODELS1": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "ZEN_MODELS2": {
- "type": "sst.sst.Secret"
- "value": string
+ ADMIN_SECRET: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ AUTH_API_URL: {
+ type: "sst.sst.Linkable"
+ value: string
+ }
+ AWS_SES_ACCESS_KEY_ID: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ AWS_SES_SECRET_ACCESS_KEY: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ CLOUDFLARE_API_TOKEN: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ CLOUDFLARE_DEFAULT_ACCOUNT_ID: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ Console: {
+ type: "sst.cloudflare.SolidStart"
+ url: string
+ }
+ Database: {
+ database: string
+ host: string
+ password: string
+ port: number
+ type: "sst.sst.Linkable"
+ username: string
+ }
+ Desktop: {
+ type: "sst.cloudflare.StaticSite"
+ url: string
+ }
+ EMAILOCTOPUS_API_KEY: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ GITHUB_APP_ID: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ GITHUB_APP_PRIVATE_KEY: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ GITHUB_CLIENT_ID_CONSOLE: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ GITHUB_CLIENT_SECRET_CONSOLE: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ GOOGLE_CLIENT_ID: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ HONEYCOMB_API_KEY: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ STRIPE_SECRET_KEY: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ STRIPE_WEBHOOK_SECRET: {
+ type: "sst.sst.Linkable"
+ value: string
+ }
+ Web: {
+ type: "sst.cloudflare.Astro"
+ url: string
+ }
+ ZEN_MODELS1: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ ZEN_MODELS2: {
+ type: "sst.sst.Secret"
+ value: string
}
}
}
-// cloudflare
-import * as cloudflare from "@cloudflare/workers-types";
+// cloudflare
+import * as cloudflare from "@cloudflare/workers-types"
declare module "sst" {
export interface Resource {
- "Api": cloudflare.Service
- "AuthApi": cloudflare.Service
- "AuthStorage": cloudflare.KVNamespace
- "Bucket": cloudflare.R2Bucket
- "GatewayKv": cloudflare.KVNamespace
- "LogProcessor": cloudflare.Service
+ Api: cloudflare.Service
+ AuthApi: cloudflare.Service
+ AuthStorage: cloudflare.KVNamespace
+ Bucket: cloudflare.R2Bucket
+ GatewayKv: cloudflare.KVNamespace
+ LogProcessor: cloudflare.Service
}
}
import "sst"
-export {} \ No newline at end of file
+export {}
diff --git a/packages/console/function/sst-env.d.ts b/packages/console/function/sst-env.d.ts
index 63c2af977..bcd7c2650 100644
--- a/packages/console/function/sst-env.d.ts
+++ b/packages/console/function/sst-env.d.ts
@@ -6,108 +6,108 @@
import "sst"
declare module "sst" {
export interface Resource {
- "ADMIN_SECRET": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "AUTH_API_URL": {
- "type": "sst.sst.Linkable"
- "value": string
- }
- "AWS_SES_ACCESS_KEY_ID": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "AWS_SES_SECRET_ACCESS_KEY": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "CLOUDFLARE_API_TOKEN": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "CLOUDFLARE_DEFAULT_ACCOUNT_ID": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "Console": {
- "type": "sst.cloudflare.SolidStart"
- "url": string
- }
- "Database": {
- "database": string
- "host": string
- "password": string
- "port": number
- "type": "sst.sst.Linkable"
- "username": string
- }
- "Desktop": {
- "type": "sst.cloudflare.StaticSite"
- "url": string
- }
- "EMAILOCTOPUS_API_KEY": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "GITHUB_APP_ID": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "GITHUB_APP_PRIVATE_KEY": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "GITHUB_CLIENT_ID_CONSOLE": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "GITHUB_CLIENT_SECRET_CONSOLE": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "GOOGLE_CLIENT_ID": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "HONEYCOMB_API_KEY": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "STRIPE_SECRET_KEY": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "STRIPE_WEBHOOK_SECRET": {
- "type": "sst.sst.Linkable"
- "value": string
- }
- "Web": {
- "type": "sst.cloudflare.Astro"
- "url": string
- }
- "ZEN_MODELS1": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "ZEN_MODELS2": {
- "type": "sst.sst.Secret"
- "value": string
+ ADMIN_SECRET: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ AUTH_API_URL: {
+ type: "sst.sst.Linkable"
+ value: string
+ }
+ AWS_SES_ACCESS_KEY_ID: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ AWS_SES_SECRET_ACCESS_KEY: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ CLOUDFLARE_API_TOKEN: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ CLOUDFLARE_DEFAULT_ACCOUNT_ID: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ Console: {
+ type: "sst.cloudflare.SolidStart"
+ url: string
+ }
+ Database: {
+ database: string
+ host: string
+ password: string
+ port: number
+ type: "sst.sst.Linkable"
+ username: string
+ }
+ Desktop: {
+ type: "sst.cloudflare.StaticSite"
+ url: string
+ }
+ EMAILOCTOPUS_API_KEY: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ GITHUB_APP_ID: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ GITHUB_APP_PRIVATE_KEY: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ GITHUB_CLIENT_ID_CONSOLE: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ GITHUB_CLIENT_SECRET_CONSOLE: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ GOOGLE_CLIENT_ID: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ HONEYCOMB_API_KEY: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ STRIPE_SECRET_KEY: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ STRIPE_WEBHOOK_SECRET: {
+ type: "sst.sst.Linkable"
+ value: string
+ }
+ Web: {
+ type: "sst.cloudflare.Astro"
+ url: string
+ }
+ ZEN_MODELS1: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ ZEN_MODELS2: {
+ type: "sst.sst.Secret"
+ value: string
}
}
}
-// cloudflare
-import * as cloudflare from "@cloudflare/workers-types";
+// cloudflare
+import * as cloudflare from "@cloudflare/workers-types"
declare module "sst" {
export interface Resource {
- "Api": cloudflare.Service
- "AuthApi": cloudflare.Service
- "AuthStorage": cloudflare.KVNamespace
- "Bucket": cloudflare.R2Bucket
- "GatewayKv": cloudflare.KVNamespace
- "LogProcessor": cloudflare.Service
+ Api: cloudflare.Service
+ AuthApi: cloudflare.Service
+ AuthStorage: cloudflare.KVNamespace
+ Bucket: cloudflare.R2Bucket
+ GatewayKv: cloudflare.KVNamespace
+ LogProcessor: cloudflare.Service
}
}
import "sst"
-export {} \ No newline at end of file
+export {}
diff --git a/packages/console/mail/sst-env.d.ts b/packages/console/mail/sst-env.d.ts
index 9b9de7327..bd5588217 100644
--- a/packages/console/mail/sst-env.d.ts
+++ b/packages/console/mail/sst-env.d.ts
@@ -6,4 +6,4 @@
/// <reference path="../../../sst-env.d.ts" />
import "sst"
-export {} \ No newline at end of file
+export {}
diff --git a/packages/console/resource/resource.node.ts b/packages/console/resource/resource.node.ts
index 2369eab98..f63d7bada 100644
--- a/packages/console/resource/resource.node.ts
+++ b/packages/console/resource/resource.node.ts
@@ -1,8 +1,4 @@
-import type {
- KVNamespaceListOptions,
- KVNamespaceListResult,
- KVNamespacePutOptions,
-} from "@cloudflare/workers-types"
+import type { KVNamespaceListOptions, KVNamespaceListResult, KVNamespacePutOptions } from "@cloudflare/workers-types"
import { Resource as ResourceBase } from "sst"
import Cloudflare from "cloudflare"
@@ -27,9 +23,7 @@ export const Resource = new Proxy(
keys: Array.isArray(k) ? k : [k],
account_id: accountId,
})
- .then((result) =>
- isMulti ? new Map(Object.entries(result?.values ?? {})) : result?.values?.[k],
- )
+ .then((result) => (isMulti ? new Map(Object.entries(result?.values ?? {})) : result?.values?.[k]))
},
put: (k: string, v: string, opts?: KVNamespacePutOptions) =>
client.kv.namespaces.values.update(namespaceId, k, {
diff --git a/packages/console/resource/sst-env.d.ts b/packages/console/resource/sst-env.d.ts
index 63c2af977..bcd7c2650 100644
--- a/packages/console/resource/sst-env.d.ts
+++ b/packages/console/resource/sst-env.d.ts
@@ -6,108 +6,108 @@
import "sst"
declare module "sst" {
export interface Resource {
- "ADMIN_SECRET": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "AUTH_API_URL": {
- "type": "sst.sst.Linkable"
- "value": string
- }
- "AWS_SES_ACCESS_KEY_ID": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "AWS_SES_SECRET_ACCESS_KEY": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "CLOUDFLARE_API_TOKEN": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "CLOUDFLARE_DEFAULT_ACCOUNT_ID": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "Console": {
- "type": "sst.cloudflare.SolidStart"
- "url": string
- }
- "Database": {
- "database": string
- "host": string
- "password": string
- "port": number
- "type": "sst.sst.Linkable"
- "username": string
- }
- "Desktop": {
- "type": "sst.cloudflare.StaticSite"
- "url": string
- }
- "EMAILOCTOPUS_API_KEY": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "GITHUB_APP_ID": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "GITHUB_APP_PRIVATE_KEY": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "GITHUB_CLIENT_ID_CONSOLE": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "GITHUB_CLIENT_SECRET_CONSOLE": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "GOOGLE_CLIENT_ID": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "HONEYCOMB_API_KEY": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "STRIPE_SECRET_KEY": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "STRIPE_WEBHOOK_SECRET": {
- "type": "sst.sst.Linkable"
- "value": string
- }
- "Web": {
- "type": "sst.cloudflare.Astro"
- "url": string
- }
- "ZEN_MODELS1": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "ZEN_MODELS2": {
- "type": "sst.sst.Secret"
- "value": string
+ ADMIN_SECRET: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ AUTH_API_URL: {
+ type: "sst.sst.Linkable"
+ value: string
+ }
+ AWS_SES_ACCESS_KEY_ID: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ AWS_SES_SECRET_ACCESS_KEY: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ CLOUDFLARE_API_TOKEN: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ CLOUDFLARE_DEFAULT_ACCOUNT_ID: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ Console: {
+ type: "sst.cloudflare.SolidStart"
+ url: string
+ }
+ Database: {
+ database: string
+ host: string
+ password: string
+ port: number
+ type: "sst.sst.Linkable"
+ username: string
+ }
+ Desktop: {
+ type: "sst.cloudflare.StaticSite"
+ url: string
+ }
+ EMAILOCTOPUS_API_KEY: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ GITHUB_APP_ID: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ GITHUB_APP_PRIVATE_KEY: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ GITHUB_CLIENT_ID_CONSOLE: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ GITHUB_CLIENT_SECRET_CONSOLE: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ GOOGLE_CLIENT_ID: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ HONEYCOMB_API_KEY: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ STRIPE_SECRET_KEY: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ STRIPE_WEBHOOK_SECRET: {
+ type: "sst.sst.Linkable"
+ value: string
+ }
+ Web: {
+ type: "sst.cloudflare.Astro"
+ url: string
+ }
+ ZEN_MODELS1: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ ZEN_MODELS2: {
+ type: "sst.sst.Secret"
+ value: string
}
}
}
-// cloudflare
-import * as cloudflare from "@cloudflare/workers-types";
+// cloudflare
+import * as cloudflare from "@cloudflare/workers-types"
declare module "sst" {
export interface Resource {
- "Api": cloudflare.Service
- "AuthApi": cloudflare.Service
- "AuthStorage": cloudflare.KVNamespace
- "Bucket": cloudflare.R2Bucket
- "GatewayKv": cloudflare.KVNamespace
- "LogProcessor": cloudflare.Service
+ Api: cloudflare.Service
+ AuthApi: cloudflare.Service
+ AuthStorage: cloudflare.KVNamespace
+ Bucket: cloudflare.R2Bucket
+ GatewayKv: cloudflare.KVNamespace
+ LogProcessor: cloudflare.Service
}
}
import "sst"
-export {} \ No newline at end of file
+export {}
diff --git a/packages/desktop/src/sst-env.d.ts b/packages/desktop/src/sst-env.d.ts
index 47a8fbec7..1b1683a1e 100644
--- a/packages/desktop/src/sst-env.d.ts
+++ b/packages/desktop/src/sst-env.d.ts
@@ -2,9 +2,7 @@
/* tslint:disable */
/* eslint-disable */
/// <reference types="vite/client" />
-interface ImportMetaEnv {
-
-}
+interface ImportMetaEnv {}
interface ImportMeta {
readonly env: ImportMetaEnv
-} \ No newline at end of file
+}
diff --git a/packages/desktop/sst-env.d.ts b/packages/desktop/sst-env.d.ts
index b6a7e9066..0397645b5 100644
--- a/packages/desktop/sst-env.d.ts
+++ b/packages/desktop/sst-env.d.ts
@@ -6,4 +6,4 @@
/// <reference path="../../sst-env.d.ts" />
import "sst"
-export {} \ No newline at end of file
+export {}
diff --git a/packages/function/sst-env.d.ts b/packages/function/sst-env.d.ts
index 63c2af977..bcd7c2650 100644
--- a/packages/function/sst-env.d.ts
+++ b/packages/function/sst-env.d.ts
@@ -6,108 +6,108 @@
import "sst"
declare module "sst" {
export interface Resource {
- "ADMIN_SECRET": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "AUTH_API_URL": {
- "type": "sst.sst.Linkable"
- "value": string
- }
- "AWS_SES_ACCESS_KEY_ID": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "AWS_SES_SECRET_ACCESS_KEY": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "CLOUDFLARE_API_TOKEN": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "CLOUDFLARE_DEFAULT_ACCOUNT_ID": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "Console": {
- "type": "sst.cloudflare.SolidStart"
- "url": string
- }
- "Database": {
- "database": string
- "host": string
- "password": string
- "port": number
- "type": "sst.sst.Linkable"
- "username": string
- }
- "Desktop": {
- "type": "sst.cloudflare.StaticSite"
- "url": string
- }
- "EMAILOCTOPUS_API_KEY": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "GITHUB_APP_ID": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "GITHUB_APP_PRIVATE_KEY": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "GITHUB_CLIENT_ID_CONSOLE": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "GITHUB_CLIENT_SECRET_CONSOLE": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "GOOGLE_CLIENT_ID": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "HONEYCOMB_API_KEY": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "STRIPE_SECRET_KEY": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "STRIPE_WEBHOOK_SECRET": {
- "type": "sst.sst.Linkable"
- "value": string
- }
- "Web": {
- "type": "sst.cloudflare.Astro"
- "url": string
- }
- "ZEN_MODELS1": {
- "type": "sst.sst.Secret"
- "value": string
- }
- "ZEN_MODELS2": {
- "type": "sst.sst.Secret"
- "value": string
+ ADMIN_SECRET: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ AUTH_API_URL: {
+ type: "sst.sst.Linkable"
+ value: string
+ }
+ AWS_SES_ACCESS_KEY_ID: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ AWS_SES_SECRET_ACCESS_KEY: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ CLOUDFLARE_API_TOKEN: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ CLOUDFLARE_DEFAULT_ACCOUNT_ID: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ Console: {
+ type: "sst.cloudflare.SolidStart"
+ url: string
+ }
+ Database: {
+ database: string
+ host: string
+ password: string
+ port: number
+ type: "sst.sst.Linkable"
+ username: string
+ }
+ Desktop: {
+ type: "sst.cloudflare.StaticSite"
+ url: string
+ }
+ EMAILOCTOPUS_API_KEY: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ GITHUB_APP_ID: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ GITHUB_APP_PRIVATE_KEY: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ GITHUB_CLIENT_ID_CONSOLE: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ GITHUB_CLIENT_SECRET_CONSOLE: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ GOOGLE_CLIENT_ID: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ HONEYCOMB_API_KEY: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ STRIPE_SECRET_KEY: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ STRIPE_WEBHOOK_SECRET: {
+ type: "sst.sst.Linkable"
+ value: string
+ }
+ Web: {
+ type: "sst.cloudflare.Astro"
+ url: string
+ }
+ ZEN_MODELS1: {
+ type: "sst.sst.Secret"
+ value: string
+ }
+ ZEN_MODELS2: {
+ type: "sst.sst.Secret"
+ value: string
}
}
}
-// cloudflare
-import * as cloudflare from "@cloudflare/workers-types";
+// cloudflare
+import * as cloudflare from "@cloudflare/workers-types"
declare module "sst" {
export interface Resource {
- "Api": cloudflare.Service
- "AuthApi": cloudflare.Service
- "AuthStorage": cloudflare.KVNamespace
- "Bucket": cloudflare.R2Bucket
- "GatewayKv": cloudflare.KVNamespace
- "LogProcessor": cloudflare.Service
+ Api: cloudflare.Service
+ AuthApi: cloudflare.Service
+ AuthStorage: cloudflare.KVNamespace
+ Bucket: cloudflare.R2Bucket
+ GatewayKv: cloudflare.KVNamespace
+ LogProcessor: cloudflare.Service
}
}
import "sst"
-export {} \ No newline at end of file
+export {}
diff --git a/packages/opencode/sst-env.d.ts b/packages/opencode/sst-env.d.ts
index b6a7e9066..0397645b5 100644
--- a/packages/opencode/sst-env.d.ts
+++ b/packages/opencode/sst-env.d.ts
@@ -6,4 +6,4 @@
/// <reference path="../../sst-env.d.ts" />
import "sst"
-export {} \ No newline at end of file
+export {}
diff --git a/packages/plugin/package.json b/packages/plugin/package.json
index 6d9df4516..d1c5c3039 100644
--- a/packages/plugin/package.json
+++ b/packages/plugin/package.json
@@ -24,4 +24,4 @@
"typescript": "catalog:",
"@typescript/native-preview": "catalog:"
}
-} \ No newline at end of file
+}
diff --git a/packages/plugin/sst-env.d.ts b/packages/plugin/sst-env.d.ts
index b6a7e9066..0397645b5 100644
--- a/packages/plugin/sst-env.d.ts
+++ b/packages/plugin/sst-env.d.ts
@@ -6,4 +6,4 @@
/// <reference path="../../sst-env.d.ts" />
import "sst"
-export {} \ No newline at end of file
+export {}
diff --git a/packages/script/sst-env.d.ts b/packages/script/sst-env.d.ts
index b6a7e9066..0397645b5 100644
--- a/packages/script/sst-env.d.ts
+++ b/packages/script/sst-env.d.ts
@@ -6,4 +6,4 @@
/// <reference path="../../sst-env.d.ts" />
import "sst"
-export {} \ No newline at end of file
+export {}
diff --git a/packages/sdk/js/package.json b/packages/sdk/js/package.json
index 622878742..a5e9cf311 100644
--- a/packages/sdk/js/package.json
+++ b/packages/sdk/js/package.json
@@ -26,4 +26,4 @@
"publishConfig": {
"directory": "dist"
}
-} \ No newline at end of file
+}
diff --git a/packages/sdk/js/sst-env.d.ts b/packages/sdk/js/sst-env.d.ts
index 9b9de7327..bd5588217 100644
--- a/packages/sdk/js/sst-env.d.ts
+++ b/packages/sdk/js/sst-env.d.ts
@@ -6,4 +6,4 @@
/// <reference path="../../../sst-env.d.ts" />
import "sst"
-export {} \ No newline at end of file
+export {}
diff --git a/packages/slack/sst-env.d.ts b/packages/slack/sst-env.d.ts
index b6a7e9066..0397645b5 100644
--- a/packages/slack/sst-env.d.ts
+++ b/packages/slack/sst-env.d.ts
@@ -6,4 +6,4 @@
/// <reference path="../../sst-env.d.ts" />
import "sst"
-export {} \ No newline at end of file
+export {}
diff --git a/packages/ui/sst-env.d.ts b/packages/ui/sst-env.d.ts
index b6a7e9066..0397645b5 100644
--- a/packages/ui/sst-env.d.ts
+++ b/packages/ui/sst-env.d.ts
@@ -6,4 +6,4 @@
/// <reference path="../../sst-env.d.ts" />
import "sst"
-export {} \ No newline at end of file
+export {}
diff --git a/packages/web/sst-env.d.ts b/packages/web/sst-env.d.ts
index b6a7e9066..0397645b5 100644
--- a/packages/web/sst-env.d.ts
+++ b/packages/web/sst-env.d.ts
@@ -6,4 +6,4 @@
/// <reference path="../../sst-env.d.ts" />
import "sst"
-export {} \ No newline at end of file
+export {}