@tapedb/tapedb/studio
Alles hier ist stabil, sofern nicht als experimentell gekennzeichnet; siehe API-Stabilität.
Interfaces
Abschnitt betitelt „Interfaces“TapeDBStudio
Abschnitt betitelt „TapeDBStudio“@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>;}Constants
Abschnitt betitelt „Constants“declare const studio: TapeDBStudio;