experimental monolithic service

This commit is contained in:
Devin Zuczek
2026-07-20 17:57:08 -04:00
parent 4cef0bdf5b
commit 52cd808e0a
8 changed files with 14908 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
// oxlint-disable @typescript-eslint/consistent-type-imports
type LocalEnv = import('./src/context').Env
type MainModule = typeof import('./src/mono.app')
// Add Env to Cloudflare namespace so that we can access it via
// import { env } from 'cloudflare:workers'
declare namespace Cloudflare {
interface Env extends LocalEnv {}
interface GlobalProps {
mainModule: MainModule
}
}