mirror of
https://github.com/djdevin/recflare.git
synced 2026-10-25 23:18:51 -07:00
26270e9c25
* rrs stuff * studio service yay * rrs whitelist * moree studiooooooo fellowwww * rec room studio room loading yay * fixes yay * fix 2 because idk yayuh * Update cdn.app.ts * ccontent length fix? * Preserve content-length and upgrade metadata Return a real zero-filled byte array for CDN HEAD responses so the runtime preserves Content-Length while still sending no payload. In notify, re-create the Request with its original headers, set OWNER_HEADER from the validated token, and forward that Request to hub.fetch to avoid losing WebSocket upgrade metadata (which could trigger 500s in Durable Objects). These changes ensure the editor's size checks and WebSocket upgrades remain reliable. * fix x524234 * shirt thing? * [auth] remove grant table as we already have audit_log for now * rename table to generic device_grant * cleanup/lint --------- Co-authored-by: Devin Zuczek <devin.zuczek@gmail.com>
13 lines
387 B
TypeScript
13 lines
387 B
TypeScript
// oxlint-disable @typescript-eslint/consistent-type-imports
|
|
type LocalEnv = import('./src/context').Env
|
|
type MainModule = typeof import('./src/studio.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
|
|
}
|
|
}
|