minca
ApiCoreInterfaces

Interface: NodeRecord\<T\>

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

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:272
bodyreadonlyT | nullThe content, or null when it is encrypted and this node has no keypackages/core/src/node/types.ts:282
collectionreadonlystring-packages/core/src/node/types.ts:270
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:294
createdAtreadonlystringWhen it was created, by its creator's clock: for display onlypackages/core/src/node/types.ts:278
createdByreadonlystring | nullThe identity that created the record, when its first version is heldpackages/core/src/node/types.ts:276
deleted?readonlytrueThis version deletes the record (listed only with includeDeleted)packages/core/src/node/types.ts:292
encryptedreadonlyboolean-packages/core/src/node/types.ts:285
issues?readonlyreadonly SchemaIssue[]-packages/core/src/node/types.ts:295
keyreadonlystringThe record's identity, the same across edits; links point herepackages/core/src/node/types.ts:264
linksreadonlyreadonly Link[]What this record points at; empty when it can't be openedpackages/core/src/node/types.ts:284
reason?readonlystring-packages/core/src/node/types.ts:290
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:289
rootreadonlystring | nullThe identity that key was acting for, when its delegation checks outpackages/core/src/node/types.ts:274
seqreadonlynumber0 for the first version, one more for each editpackages/core/src/node/types.ts:268
spacereadonlystring-packages/core/src/node/types.ts:269
updatedAtreadonlystringWhen this version was written: for display onlypackages/core/src/node/types.ts:280
verifiedreadonlybooleanSignature, delegation and shape all check outpackages/core/src/node/types.ts:287
versionreadonlystringThis version's id: a content hashpackages/core/src/node/types.ts:266

On this page