Skip to content
Auto
English

@tapedb/tapedb/studio

Everything here is stable unless marked experimental; see API stability.

@tapedb/tapedb/studio: the studio, served by the deployed Worker at /_tapedb/studio. It signs in the way the app does (POST /_tapedb/claim with the app’s own session), so the identity decides the role, and every read and write goes through the same access rules as the app’s.

Opt in from worker.ts: defineTapeDB({ schema, migrations, studio }). Importing it adds the page and its fonts to the Worker; leaving it out adds nothing.

interface TapeDBStudio {
/** Answers a request under /_tapedb/studio. */
serve(request: Request): Promise<Response>;
}
declare const studio: TapeDBStudio;