Genesis

Packages

@marktiderman/genesis-data-server

0.7.0Primitive · Data

Genesis Data server handler (Request → Response) that acts as the signed-in user over Postgres/Supabase. The only package that touches database credentials. See packages/data-server/README.md.

The server half of **Genesis Data**: a web-standard `Request → Response` handler that lets a signed-in user browse and fix their app's Postgres or Supabase data **as themselves**.

> A signed-in user sees and edits exactly what they already can. The database or the app's own API > decides that, never Genesis. — docs/DATA.md

pnpm add @marktiderman/genesis-data-server

READMEChangelognpm

@marktiderman/genesis-data-server
Genesis Data server handler (Request → Response) that acts as the signed-in user over Postgres/Supabase. The only package that touches database credentials. See packages/data-server/README.md.

Other exports (23)

ADD_COMMENT_FUNCTION · AUDIT_FUNCTION · backoffDelay · bearerToken · byResource · COMMENTS_FUNCTION · createOutboxWorker · createPostgresDatabase · createStudioHandler · databaseDecides · DEFAULT_SWITCH_ROLES · HISTORY_FUNCTION · IdentitySwitchError · jwtAuth · jwtVerifier · OUTBOX_AUDIT_FUNCTION · PermanentDeliveryError · STUDIO_PROTOCOL_VERSION · studioSetupSql · supabaseAuth · supabaseStudio · supabaseVerifier · switchToUser

And 50 types.

@marktiderman/genesis-data-server/client

Other exports (2)

createStudioProvider · createSupabaseStudioProvider

And 5 types.

@marktiderman/genesis-data-server/auth

Other exports (5)

bearerToken · jwtAuth · jwtVerifier · supabaseAuth · supabaseVerifier

And 5 types.