minca
ApiCoreInterfaces

Interface: CollectionRules

Defined in: packages/core/src/records/rules.ts:22

Properties

PropertyModifierTypeDescriptionDefined in
final?readonlytrueRecords are written once: no edit and no delete, by anyone. A vote, a ballot or a proof that others count on stays what it was.packages/core/src/records/rules.ts:36
fixed?readonlyreadonly string[]Fields that keep the value the record was created withpackages/core/src/records/rules.ts:31
onePer?readonlyreadonly string[]At most one record per combination of these — by construction: the key is derived from them. @author is the writer's identity, link:<rel> the record a link points at, anything else a field of the body. ['@author', 'link:about'] is one vote per person per poll.packages/core/src/records/rules.ts:29

On this page