minca

Interface: NodeRecord\<T\>

Defined in: packages/core/src/node/types.ts:267

A record, opened and checked: its current version, unless listed as history

Type Parameters

Type ParameterDefault type
Tunknown

Properties

PropertyModifierTypeDescriptionDefined in
authorreadonlystringThe key that signed this version, usually an app's session key, not the person: show root or createdBy as the authorpackages/core/src/node/types.ts:277
bodyreadonlyT | nullThe content, or null when it is encrypted and this node has no keypackages/core/src/node/types.ts:287
collectionreadonlystring-packages/core/src/node/types.ts:275
conformsreadonlyboolean | nullWhether the body fits its collection's schema; null when there is none or it can't be opened. A misfit still syncs.packages/core/src/node/types.ts:299
createdAtreadonlystringWhen it was created, by its creator's clock: for display onlypackages/core/src/node/types.ts:283
createdByreadonlystring | nullThe identity that created the record, when its first version is heldpackages/core/src/node/types.ts:281
deleted?readonlytrueThis version deletes the record (listed only with includeDeleted)packages/core/src/node/types.ts:297
encryptedreadonlyboolean-packages/core/src/node/types.ts:290
issues?readonlyreadonly SchemaIssue[]-packages/core/src/node/types.ts:300
keyreadonlystringThe record's identity, the same across edits; links point herepackages/core/src/node/types.ts:269
linksreadonlyreadonly Link[]What this record points at; empty when it can't be openedpackages/core/src/node/types.ts:289
reason?readonlystring-packages/core/src/node/types.ts:295
recordsOnly?readonlytrueSigned under a note that grants writing records and no more: an app running records as code trusts only versions without itpackages/core/src/node/types.ts:294
rootreadonlystring | nullThe identity that key was acting for, when its delegation checks outpackages/core/src/node/types.ts:279
seqreadonlynumber0 for the first version, one more for each editpackages/core/src/node/types.ts:273
spacereadonlystring-packages/core/src/node/types.ts:274
updatedAtreadonlystringWhen this version was written: for display onlypackages/core/src/node/types.ts:285
verifiedreadonlybooleanSignature, delegation and shape all check outpackages/core/src/node/types.ts:292
versionreadonlystringThis version's id: a content hashpackages/core/src/node/types.ts:271

On this page