opencode/packages/data/app/src/cloudflare-workers.d.ts
Dax Raad 070b980c0b refactor(data): strict dev/production stages and data naming
- services/data/stage.ts: stage(mode) throws on anything but dev or production, used by all three configs, build.ts and deploy.ts
- packages/stats -> packages/data (@opencode/data-app, -core, -server)
- StatsSyncWorkflow -> DataSyncWorkflow, instance ids data-hourly-/data-history-, Data* resource keys, data sync log lines
- worker, route, workflow and cron names unchanged
2026-11-11 02:35:05 -05:00

6 lines
328 B
TypeScript

// The part of the Workers runtime module the site uses (lib/resource.cloudflare.ts). The full
// @cloudflare/workers-types would replace the DOM types the pages are written against.
declare module "cloudflare:workers" {
export const env: Record<string, unknown>
export function waitUntil(promise: Promise<unknown>): void
}