zonai_schema 0.4.1 copy "zonai_schema: ^0.4.1" to clipboard
zonai_schema: ^0.4.1 copied to clipboard

Define a Zonai backend in Dart: tables, access rules, rate limits, extensions and the wire types the server and its clients agree on.

zonai_schema #

Shared relational model for Zonai — Raindrop schemas, typed IDs, column helpers, and anything else clients and services need to agree on the DB shape.

Installation #

dependencies:
  zonai_schema: ^0.1.0

What's in here #

  • Typed table/column definitions built on Raindrop, shared between the Zonai server and its clients.
  • Payload types for the Zonai wire protocol (create, list, update, delete, streaming variants).
  • Shared value types: Id, Jwt, Where, Update, EmailAddress, and friends.

This package intentionally has no dependency on sqlite3 in its regular dependencies — see tool/verify_client_safe_deps.sh for the regression check that keeps it that way, so a client that only needs queries and schemas (no local SQLite delegate) never has to resolve sqlite3 at all.

0
likes
50
points
741
downloads

Documentation

Documentation

Publisher

verified publisherzonai.dev

Weekly Downloads

Define a Zonai backend in Dart: tables, access rules, rate limits, extensions and the wire types the server and its clients agree on.

Homepage
Repository (GitHub)
View/report issues

Topics

#backend #sqlite #schema #orm #server

License

MIT (license)

Dependencies

clock, cron, crypto, meta, msgpack_dart, revali_core, scoped_deps

More

Packages that depend on zonai_schema