ApiCoreInterfaces
Interface: NodeCollection
Defined in: packages/core/src/node/types.ts:299
A collection as a space describes it, and how many records it holds
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
computed? | readonly | Readonly<Record<string, string>> | Values derived from what links to its records; absent when it has none | packages/core/src/node/types.ts:317 |
contract? | readonly | CollectionContract | What a version must be to count, judged by readers; absent when it has none | packages/core/src/node/types.ts:315 |
definedBy | readonly | string | null | The identity that first defined it | packages/core/src/node/types.ts:311 |
description? | readonly | string | - | packages/core/src/node/types.ts:302 |
history | readonly | "all" | "latest" | Whether edits keep old versions: all, or latest (the default) | packages/core/src/node/types.ts:307 |
links | readonly | Readonly<Record<string, LinkDeclaration>> | The link roles its records carry, and what each may point at | packages/core/src/node/types.ts:309 |
name | readonly | string | - | packages/core/src/node/types.ts:300 |
records | readonly | number | - | packages/core/src/node/types.ts:320 |
rules | readonly | CollectionRules | What must be unique, which fields are fixed | packages/core/src/node/types.ts:313 |
schema | readonly | JsonSchema | null | Null when records exist but the space has no definition for them | packages/core/src/node/types.ts:304 |
title? | readonly | string | - | packages/core/src/node/types.ts:301 |
topics | readonly | readonly string[] | Fields whose values are tagged on each record's outside, so keepers can match them unread | packages/core/src/node/types.ts:319 |
version | readonly | number | null | - | packages/core/src/node/types.ts:305 |