@tapedb/tapedb/studio
Alles hier is stabiel tenzij het als experimenteel is gemarkeerd; zie API-stabiliteit.
Interfaces
Section titled “Interfaces”TapeDBStudio
Section titled “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
Section titled “Constants”studio
Section titled “studio”declare const studio: TapeDBStudio;