ApiCoreInterfaces
Interface: CollectionRules
Defined in: packages/core/src/records/rules.ts:22
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
final? | readonly | true | Records 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? | readonly | readonly string[] | Fields that keep the value the record was created with | packages/core/src/records/rules.ts:31 |
onePer? | readonly | readonly 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 |