CMS / foldkit-cms-drizzle

API

CallMeaning
sqliteTables(), pgTables()The three tables, per dialect. sqliteSchema is their create table statements.
Transaction.statements, Transaction.drizzleHow a publish is made whole, by driver.
CmsServer.make({ tables, content, transaction, policy, authors, transitions?, allow?, now?, nameOf?, maxDraftSize? })sources, queries, mutations, due, import, and bindings. Each content entry is { type, entity, binding, create, update }.
cms.due(now, { as })Publishes what has come due; an Effect of { entry, error } each.
cms.import({ type, values, as, at?, entry? })Content that is published already (a seed, or what another CMS held), written by the publish path; an Effect of { entry, targetId }.