barrel_design_catalog (barrel_design v0.1.0)
View SourceInstalled designs and their module bytes, kept as local documents of the source database: persisted and backed up with it, never replicated, and never part of its changes feed, so no map sees them.
Summary
Functions
A local uninstall: no design, the mark stays.
The designs a database runs: every name whose record holds one.
Whether the database has a catalog entry or a publication record: the two things that make barrel_design follow it.
Whether any publication record exists, deleted winners included: a live signed version can sit behind a deleted one.
A local install: the record keeps its mark and provenance.
Write a name's record durably: it is the commit point of an install, an acceptance or a withdrawal.
One name's record: its design (or none), origin (local or published), the accepted mark (#{version, action, manifest} or none), the provenance of a published one (#{statement_id, payload_digest, key_id, source_db, name} or none) and its status. The document is never deleted, so a mark outlives an uninstall or a withdrawal. A record written before marks existed is a local install.
Functions
A local uninstall: no design, the mark stays.
The designs a database runs: every name whose record holds one.
Whether the database has a catalog entry or a publication record: the two things that make barrel_design follow it.
Whether any publication record exists, deleted winners included: a live signed version can sit behind a deleted one.
A local install: the record keeps its mark and provenance.
Write a name's record durably: it is the commit point of an install, an acceptance or a withdrawal.
One name's record: its design (or none), origin (local or published), the accepted mark (#{version, action, manifest} or none), the provenance of a published one (#{statement_id, payload_digest, key_id, source_db, name} or none) and its status. The document is never deleted, so a mark outlives an uninstall or a withdrawal. A record written before marks existed is a local install.