From 22e64cac67f58c3371a93a8af64c337138f73684 Mon Sep 17 00:00:00 2001 From: Frank Date: Thu, 7 May 2026 15:27:36 -0400 Subject: [PATCH] sync: cleanup --- packages/console/app/src/routes/debug/index.ts | 13 ------------- packages/console/core/sst-env.d.ts | 4 ++-- packages/console/function/sst-env.d.ts | 4 ++-- packages/console/resource/sst-env.d.ts | 4 ++-- packages/enterprise/sst-env.d.ts | 4 ++-- packages/function/sst-env.d.ts | 4 ++-- sst-env.d.ts | 4 ++-- 7 files changed, 12 insertions(+), 25 deletions(-) delete mode 100644 packages/console/app/src/routes/debug/index.ts diff --git a/packages/console/app/src/routes/debug/index.ts b/packages/console/app/src/routes/debug/index.ts deleted file mode 100644 index 4bfb633944..0000000000 --- a/packages/console/app/src/routes/debug/index.ts +++ /dev/null @@ -1,13 +0,0 @@ -import type { APIEvent } from "@solidjs/start/server" -import { json } from "@solidjs/router" -import { Database } from "@opencode-ai/console-core/drizzle/index.js" -import { UserTable } from "@opencode-ai/console-core/schema/user.sql.js" - -export async function GET(_evt: APIEvent) { - return json({ - data: await Database.use(async (tx) => { - const result = await tx.$count(UserTable) - return result - }), - }) -} diff --git a/packages/console/core/sst-env.d.ts b/packages/console/core/sst-env.d.ts index 9680a53aab..bc56bd789d 100644 --- a/packages/console/core/sst-env.d.ts +++ b/packages/console/core/sst-env.d.ts @@ -91,8 +91,8 @@ declare module "sst" { "type": "sst.sst.Secret" "value": string } - "HoneycombWebhookSecret": { - "type": "random.index/randomPassword.RandomPassword" + "INCIDENT_WEBHOOK_SIGNING_SECRET": { + "type": "sst.sst.Secret" "value": string } "R2AccessKey": { diff --git a/packages/console/function/sst-env.d.ts b/packages/console/function/sst-env.d.ts index 9680a53aab..bc56bd789d 100644 --- a/packages/console/function/sst-env.d.ts +++ b/packages/console/function/sst-env.d.ts @@ -91,8 +91,8 @@ declare module "sst" { "type": "sst.sst.Secret" "value": string } - "HoneycombWebhookSecret": { - "type": "random.index/randomPassword.RandomPassword" + "INCIDENT_WEBHOOK_SIGNING_SECRET": { + "type": "sst.sst.Secret" "value": string } "R2AccessKey": { diff --git a/packages/console/resource/sst-env.d.ts b/packages/console/resource/sst-env.d.ts index 9680a53aab..bc56bd789d 100644 --- a/packages/console/resource/sst-env.d.ts +++ b/packages/console/resource/sst-env.d.ts @@ -91,8 +91,8 @@ declare module "sst" { "type": "sst.sst.Secret" "value": string } - "HoneycombWebhookSecret": { - "type": "random.index/randomPassword.RandomPassword" + "INCIDENT_WEBHOOK_SIGNING_SECRET": { + "type": "sst.sst.Secret" "value": string } "R2AccessKey": { diff --git a/packages/enterprise/sst-env.d.ts b/packages/enterprise/sst-env.d.ts index 9680a53aab..bc56bd789d 100644 --- a/packages/enterprise/sst-env.d.ts +++ b/packages/enterprise/sst-env.d.ts @@ -91,8 +91,8 @@ declare module "sst" { "type": "sst.sst.Secret" "value": string } - "HoneycombWebhookSecret": { - "type": "random.index/randomPassword.RandomPassword" + "INCIDENT_WEBHOOK_SIGNING_SECRET": { + "type": "sst.sst.Secret" "value": string } "R2AccessKey": { diff --git a/packages/function/sst-env.d.ts b/packages/function/sst-env.d.ts index 9680a53aab..bc56bd789d 100644 --- a/packages/function/sst-env.d.ts +++ b/packages/function/sst-env.d.ts @@ -91,8 +91,8 @@ declare module "sst" { "type": "sst.sst.Secret" "value": string } - "HoneycombWebhookSecret": { - "type": "random.index/randomPassword.RandomPassword" + "INCIDENT_WEBHOOK_SIGNING_SECRET": { + "type": "sst.sst.Secret" "value": string } "R2AccessKey": { diff --git a/sst-env.d.ts b/sst-env.d.ts index e75c54d056..52702acd7c 100644 --- a/sst-env.d.ts +++ b/sst-env.d.ts @@ -114,8 +114,8 @@ declare module "sst" { "type": "sst.sst.Secret" "value": string } - "HoneycombWebhookSecret": { - "type": "random.index/randomPassword.RandomPassword" + "INCIDENT_WEBHOOK_SIGNING_SECRET": { + "type": "sst.sst.Secret" "value": string } "LogProcessor": {