diff --git a/packages/console/core/sst-env.d.ts b/packages/console/core/sst-env.d.ts index 301538ccb2..5f1d5d56e1 100644 --- a/packages/console/core/sst-env.d.ts +++ b/packages/console/core/sst-env.d.ts @@ -4,7 +4,304 @@ /* deno-fmt-ignore-file */ /* biome-ignore-all lint: auto-generated */ -/// +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 + } + "DISCORD_INCIDENT_WEBHOOK_URL": { + "type": "sst.sst.Secret" + "value": string + } + "DISCORD_SUPPORT_BOT_TOKEN": { + "type": "sst.sst.Secret" + "value": string + } + "DISCORD_SUPPORT_CHANNEL_ID": { + "type": "sst.sst.Secret" + "value": string + } + "Database": { + "database": string + "host": string + "password": string + "port": number + "type": "sst.sst.Linkable" + "username": string + } + "EMAILOCTOPUS_API_KEY": { + "type": "sst.sst.Secret" + "value": string + } + "FEISHU_APP_ID": { + "type": "sst.sst.Secret" + "value": string + } + "FEISHU_APP_SECRET": { + "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 + } + "HoneycombWebhookSecret": { + "type": "random.index/randomPassword.RandomPassword" + "value": string + } + "R2AccessKey": { + "type": "sst.sst.Secret" + "value": string + } + "R2SecretKey": { + "type": "sst.sst.Secret" + "value": string + } + "SALESFORCE_CLIENT_ID": { + "type": "sst.sst.Secret" + "value": string + } + "SALESFORCE_CLIENT_SECRET": { + "type": "sst.sst.Secret" + "value": string + } + "SALESFORCE_INSTANCE_URL": { + "type": "sst.sst.Secret" + "value": string + } + "STRIPE_PUBLISHABLE_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 + } + "Teams": { + "type": "sst.cloudflare.SolidStart" + "url": string + } + "Web": { + "type": "sst.cloudflare.Astro" + "url": string + } + "WebApp": { + "type": "sst.cloudflare.StaticSite" + "url": string + } + "ZEN_BLACK_PRICE": { + "plan100": string + "plan20": string + "plan200": string + "product": string + "type": "sst.sst.Linkable" + } + "ZEN_LIMITS": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_LITE_PRICE": { + "firstMonth100Coupon": string + "firstMonth50Coupon": string + "price": string + "priceInr": number + "product": string + "sixMonths100Coupon": string + "threeMonths100Coupon": string + "twelveMonths100Coupon": string + "type": "sst.sst.Linkable" + } + "ZEN_MODELS1": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS10": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS11": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS12": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS13": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS14": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS15": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS16": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS17": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS18": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS19": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS2": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS20": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS21": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS22": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS23": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS24": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS25": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS26": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS27": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS28": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS29": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS3": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS30": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS4": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS5": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS6": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS7": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS8": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS9": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_SESSION_SECRET": { + "type": "sst.sst.Secret" + "value": string + } + } +} +// 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 + "EnterpriseStorage": cloudflare.R2Bucket + "LogProcessor": cloudflare.Service + "Stat": cloudflare.Service + "ZenData": cloudflare.R2Bucket + "ZenDataNew": cloudflare.R2Bucket + } +} import "sst" export {} \ No newline at end of file diff --git a/packages/console/function/sst-env.d.ts b/packages/console/function/sst-env.d.ts index 301538ccb2..5f1d5d56e1 100644 --- a/packages/console/function/sst-env.d.ts +++ b/packages/console/function/sst-env.d.ts @@ -4,7 +4,304 @@ /* deno-fmt-ignore-file */ /* biome-ignore-all lint: auto-generated */ -/// +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 + } + "DISCORD_INCIDENT_WEBHOOK_URL": { + "type": "sst.sst.Secret" + "value": string + } + "DISCORD_SUPPORT_BOT_TOKEN": { + "type": "sst.sst.Secret" + "value": string + } + "DISCORD_SUPPORT_CHANNEL_ID": { + "type": "sst.sst.Secret" + "value": string + } + "Database": { + "database": string + "host": string + "password": string + "port": number + "type": "sst.sst.Linkable" + "username": string + } + "EMAILOCTOPUS_API_KEY": { + "type": "sst.sst.Secret" + "value": string + } + "FEISHU_APP_ID": { + "type": "sst.sst.Secret" + "value": string + } + "FEISHU_APP_SECRET": { + "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 + } + "HoneycombWebhookSecret": { + "type": "random.index/randomPassword.RandomPassword" + "value": string + } + "R2AccessKey": { + "type": "sst.sst.Secret" + "value": string + } + "R2SecretKey": { + "type": "sst.sst.Secret" + "value": string + } + "SALESFORCE_CLIENT_ID": { + "type": "sst.sst.Secret" + "value": string + } + "SALESFORCE_CLIENT_SECRET": { + "type": "sst.sst.Secret" + "value": string + } + "SALESFORCE_INSTANCE_URL": { + "type": "sst.sst.Secret" + "value": string + } + "STRIPE_PUBLISHABLE_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 + } + "Teams": { + "type": "sst.cloudflare.SolidStart" + "url": string + } + "Web": { + "type": "sst.cloudflare.Astro" + "url": string + } + "WebApp": { + "type": "sst.cloudflare.StaticSite" + "url": string + } + "ZEN_BLACK_PRICE": { + "plan100": string + "plan20": string + "plan200": string + "product": string + "type": "sst.sst.Linkable" + } + "ZEN_LIMITS": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_LITE_PRICE": { + "firstMonth100Coupon": string + "firstMonth50Coupon": string + "price": string + "priceInr": number + "product": string + "sixMonths100Coupon": string + "threeMonths100Coupon": string + "twelveMonths100Coupon": string + "type": "sst.sst.Linkable" + } + "ZEN_MODELS1": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS10": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS11": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS12": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS13": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS14": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS15": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS16": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS17": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS18": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS19": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS2": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS20": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS21": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS22": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS23": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS24": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS25": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS26": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS27": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS28": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS29": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS3": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS30": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS4": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS5": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS6": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS7": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS8": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS9": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_SESSION_SECRET": { + "type": "sst.sst.Secret" + "value": string + } + } +} +// 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 + "EnterpriseStorage": cloudflare.R2Bucket + "LogProcessor": cloudflare.Service + "Stat": cloudflare.Service + "ZenData": cloudflare.R2Bucket + "ZenDataNew": cloudflare.R2Bucket + } +} import "sst" export {} \ No newline at end of file diff --git a/packages/console/resource/sst-env.d.ts b/packages/console/resource/sst-env.d.ts index 301538ccb2..5f1d5d56e1 100644 --- a/packages/console/resource/sst-env.d.ts +++ b/packages/console/resource/sst-env.d.ts @@ -4,7 +4,304 @@ /* deno-fmt-ignore-file */ /* biome-ignore-all lint: auto-generated */ -/// +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 + } + "DISCORD_INCIDENT_WEBHOOK_URL": { + "type": "sst.sst.Secret" + "value": string + } + "DISCORD_SUPPORT_BOT_TOKEN": { + "type": "sst.sst.Secret" + "value": string + } + "DISCORD_SUPPORT_CHANNEL_ID": { + "type": "sst.sst.Secret" + "value": string + } + "Database": { + "database": string + "host": string + "password": string + "port": number + "type": "sst.sst.Linkable" + "username": string + } + "EMAILOCTOPUS_API_KEY": { + "type": "sst.sst.Secret" + "value": string + } + "FEISHU_APP_ID": { + "type": "sst.sst.Secret" + "value": string + } + "FEISHU_APP_SECRET": { + "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 + } + "HoneycombWebhookSecret": { + "type": "random.index/randomPassword.RandomPassword" + "value": string + } + "R2AccessKey": { + "type": "sst.sst.Secret" + "value": string + } + "R2SecretKey": { + "type": "sst.sst.Secret" + "value": string + } + "SALESFORCE_CLIENT_ID": { + "type": "sst.sst.Secret" + "value": string + } + "SALESFORCE_CLIENT_SECRET": { + "type": "sst.sst.Secret" + "value": string + } + "SALESFORCE_INSTANCE_URL": { + "type": "sst.sst.Secret" + "value": string + } + "STRIPE_PUBLISHABLE_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 + } + "Teams": { + "type": "sst.cloudflare.SolidStart" + "url": string + } + "Web": { + "type": "sst.cloudflare.Astro" + "url": string + } + "WebApp": { + "type": "sst.cloudflare.StaticSite" + "url": string + } + "ZEN_BLACK_PRICE": { + "plan100": string + "plan20": string + "plan200": string + "product": string + "type": "sst.sst.Linkable" + } + "ZEN_LIMITS": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_LITE_PRICE": { + "firstMonth100Coupon": string + "firstMonth50Coupon": string + "price": string + "priceInr": number + "product": string + "sixMonths100Coupon": string + "threeMonths100Coupon": string + "twelveMonths100Coupon": string + "type": "sst.sst.Linkable" + } + "ZEN_MODELS1": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS10": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS11": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS12": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS13": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS14": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS15": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS16": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS17": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS18": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS19": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS2": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS20": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS21": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS22": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS23": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS24": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS25": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS26": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS27": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS28": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS29": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS3": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS30": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS4": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS5": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS6": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS7": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS8": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS9": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_SESSION_SECRET": { + "type": "sst.sst.Secret" + "value": string + } + } +} +// 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 + "EnterpriseStorage": cloudflare.R2Bucket + "LogProcessor": cloudflare.Service + "Stat": cloudflare.Service + "ZenData": cloudflare.R2Bucket + "ZenDataNew": cloudflare.R2Bucket + } +} import "sst" export {} \ No newline at end of file diff --git a/packages/enterprise/sst-env.d.ts b/packages/enterprise/sst-env.d.ts index 64441936d7..5f1d5d56e1 100644 --- a/packages/enterprise/sst-env.d.ts +++ b/packages/enterprise/sst-env.d.ts @@ -4,7 +4,304 @@ /* deno-fmt-ignore-file */ /* biome-ignore-all lint: auto-generated */ -/// +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 + } + "DISCORD_INCIDENT_WEBHOOK_URL": { + "type": "sst.sst.Secret" + "value": string + } + "DISCORD_SUPPORT_BOT_TOKEN": { + "type": "sst.sst.Secret" + "value": string + } + "DISCORD_SUPPORT_CHANNEL_ID": { + "type": "sst.sst.Secret" + "value": string + } + "Database": { + "database": string + "host": string + "password": string + "port": number + "type": "sst.sst.Linkable" + "username": string + } + "EMAILOCTOPUS_API_KEY": { + "type": "sst.sst.Secret" + "value": string + } + "FEISHU_APP_ID": { + "type": "sst.sst.Secret" + "value": string + } + "FEISHU_APP_SECRET": { + "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 + } + "HoneycombWebhookSecret": { + "type": "random.index/randomPassword.RandomPassword" + "value": string + } + "R2AccessKey": { + "type": "sst.sst.Secret" + "value": string + } + "R2SecretKey": { + "type": "sst.sst.Secret" + "value": string + } + "SALESFORCE_CLIENT_ID": { + "type": "sst.sst.Secret" + "value": string + } + "SALESFORCE_CLIENT_SECRET": { + "type": "sst.sst.Secret" + "value": string + } + "SALESFORCE_INSTANCE_URL": { + "type": "sst.sst.Secret" + "value": string + } + "STRIPE_PUBLISHABLE_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 + } + "Teams": { + "type": "sst.cloudflare.SolidStart" + "url": string + } + "Web": { + "type": "sst.cloudflare.Astro" + "url": string + } + "WebApp": { + "type": "sst.cloudflare.StaticSite" + "url": string + } + "ZEN_BLACK_PRICE": { + "plan100": string + "plan20": string + "plan200": string + "product": string + "type": "sst.sst.Linkable" + } + "ZEN_LIMITS": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_LITE_PRICE": { + "firstMonth100Coupon": string + "firstMonth50Coupon": string + "price": string + "priceInr": number + "product": string + "sixMonths100Coupon": string + "threeMonths100Coupon": string + "twelveMonths100Coupon": string + "type": "sst.sst.Linkable" + } + "ZEN_MODELS1": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS10": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS11": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS12": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS13": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS14": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS15": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS16": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS17": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS18": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS19": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS2": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS20": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS21": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS22": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS23": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS24": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS25": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS26": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS27": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS28": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS29": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS3": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS30": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS4": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS5": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS6": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS7": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS8": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS9": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_SESSION_SECRET": { + "type": "sst.sst.Secret" + "value": string + } + } +} +// 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 + "EnterpriseStorage": cloudflare.R2Bucket + "LogProcessor": cloudflare.Service + "Stat": cloudflare.Service + "ZenData": cloudflare.R2Bucket + "ZenDataNew": cloudflare.R2Bucket + } +} import "sst" export {} \ No newline at end of file diff --git a/packages/function/sst-env.d.ts b/packages/function/sst-env.d.ts index 64441936d7..5f1d5d56e1 100644 --- a/packages/function/sst-env.d.ts +++ b/packages/function/sst-env.d.ts @@ -4,7 +4,304 @@ /* deno-fmt-ignore-file */ /* biome-ignore-all lint: auto-generated */ -/// +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 + } + "DISCORD_INCIDENT_WEBHOOK_URL": { + "type": "sst.sst.Secret" + "value": string + } + "DISCORD_SUPPORT_BOT_TOKEN": { + "type": "sst.sst.Secret" + "value": string + } + "DISCORD_SUPPORT_CHANNEL_ID": { + "type": "sst.sst.Secret" + "value": string + } + "Database": { + "database": string + "host": string + "password": string + "port": number + "type": "sst.sst.Linkable" + "username": string + } + "EMAILOCTOPUS_API_KEY": { + "type": "sst.sst.Secret" + "value": string + } + "FEISHU_APP_ID": { + "type": "sst.sst.Secret" + "value": string + } + "FEISHU_APP_SECRET": { + "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 + } + "HoneycombWebhookSecret": { + "type": "random.index/randomPassword.RandomPassword" + "value": string + } + "R2AccessKey": { + "type": "sst.sst.Secret" + "value": string + } + "R2SecretKey": { + "type": "sst.sst.Secret" + "value": string + } + "SALESFORCE_CLIENT_ID": { + "type": "sst.sst.Secret" + "value": string + } + "SALESFORCE_CLIENT_SECRET": { + "type": "sst.sst.Secret" + "value": string + } + "SALESFORCE_INSTANCE_URL": { + "type": "sst.sst.Secret" + "value": string + } + "STRIPE_PUBLISHABLE_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 + } + "Teams": { + "type": "sst.cloudflare.SolidStart" + "url": string + } + "Web": { + "type": "sst.cloudflare.Astro" + "url": string + } + "WebApp": { + "type": "sst.cloudflare.StaticSite" + "url": string + } + "ZEN_BLACK_PRICE": { + "plan100": string + "plan20": string + "plan200": string + "product": string + "type": "sst.sst.Linkable" + } + "ZEN_LIMITS": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_LITE_PRICE": { + "firstMonth100Coupon": string + "firstMonth50Coupon": string + "price": string + "priceInr": number + "product": string + "sixMonths100Coupon": string + "threeMonths100Coupon": string + "twelveMonths100Coupon": string + "type": "sst.sst.Linkable" + } + "ZEN_MODELS1": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS10": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS11": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS12": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS13": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS14": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS15": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS16": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS17": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS18": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS19": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS2": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS20": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS21": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS22": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS23": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS24": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS25": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS26": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS27": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS28": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS29": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS3": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS30": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS4": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS5": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS6": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS7": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS8": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_MODELS9": { + "type": "sst.sst.Secret" + "value": string + } + "ZEN_SESSION_SECRET": { + "type": "sst.sst.Secret" + "value": string + } + } +} +// 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 + "EnterpriseStorage": cloudflare.R2Bucket + "LogProcessor": cloudflare.Service + "Stat": cloudflare.Service + "ZenData": cloudflare.R2Bucket + "ZenDataNew": cloudflare.R2Bucket + } +} import "sst" export {} \ No newline at end of file diff --git a/sst-env.d.ts b/sst-env.d.ts index 1eaebd1e59..25319d9c46 100644 --- a/sst-env.d.ts +++ b/sst-env.d.ts @@ -22,10 +22,22 @@ declare module "sst" { "type": "sst.sst.Secret" "value": string } - "Api": import("@cloudflare/workers-types").Service - "AuthApi": import("@cloudflare/workers-types").Service - "AuthStorage": import("@cloudflare/workers-types").KVNamespace - "Bucket": import("@cloudflare/workers-types").R2Bucket + "Api": { + "type": "sst.cloudflare.Worker" + "url": string + } + "AuthApi": { + "type": "sst.cloudflare.Worker" + "url": string + } + "AuthStorage": { + "namespaceId": string + "type": "sst.cloudflare.Kv" + } + "Bucket": { + "name": string + "type": "sst.cloudflare.Bucket" + } "CLOUDFLARE_API_TOKEN": { "type": "sst.sst.Secret" "value": string @@ -62,7 +74,10 @@ declare module "sst" { "type": "sst.sst.Secret" "value": string } - "EnterpriseStorage": import("@cloudflare/workers-types").R2Bucket + "EnterpriseStorage": { + "name": string + "type": "sst.cloudflare.Bucket" + } "FEISHU_APP_ID": { "type": "sst.sst.Secret" "value": string @@ -99,7 +114,9 @@ declare module "sst" { "type": "random.index/randomPassword.RandomPassword" "value": string } - "LogProcessor": import("@cloudflare/workers-types").Service + "LogProcessor": { + "type": "sst.cloudflare.Worker" + } "R2AccessKey": { "type": "sst.sst.Secret" "value": string @@ -132,7 +149,10 @@ declare module "sst" { "type": "sst.sst.Linkable" "value": string } - "Stat": import("@cloudflare/workers-types").Service + "Stat": { + "type": "sst.cloudflare.Worker" + "url": string + } "Teams": { "type": "sst.cloudflare.SolidStart" "url": string @@ -291,10 +311,17 @@ declare module "sst" { "type": "sst.sst.Secret" "value": string } - "ZenData": import("@cloudflare/workers-types").R2Bucket - "ZenDataNew": import("@cloudflare/workers-types").R2Bucket + "ZenData": { + "name": string + "type": "sst.cloudflare.Bucket" + } + "ZenDataNew": { + "name": string + "type": "sst.cloudflare.Bucket" + } } } +/// import "sst" export {} \ No newline at end of file