ApiSchemasInterfaces
Interface: DraftCollection
Defined in: packages/core/src/schemas/library/collections.ts:15
One collection a blueprint would add, as collections_define takes it, without a version: the space decides that
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
contract? | readonly | CollectionContract | What a version must be to count, judged by readers | packages/core/src/schemas/library/collections.ts:25 |
description? | readonly | string | - | packages/core/src/schemas/library/collections.ts:18 |
history? | readonly | "all" | "latest" | - | packages/core/src/schemas/library/collections.ts:20 |
links? | readonly | Readonly<Record<string, LinkDeclaration>> | - | packages/core/src/schemas/library/collections.ts:21 |
name | readonly | string | - | packages/core/src/schemas/library/collections.ts:16 |
permissions? | readonly | readonly string[] | - | packages/core/src/schemas/library/collections.ts:22 |
rules? | readonly | CollectionRules | - | packages/core/src/schemas/library/collections.ts:23 |
schema | readonly | JsonSchema | - | packages/core/src/schemas/library/collections.ts:19 |
title? | readonly | string | - | packages/core/src/schemas/library/collections.ts:17 |
topics? | readonly | readonly string[] | Fields whose values keepers can match without reading: mentions, channel | packages/core/src/schemas/library/collections.ts:27 |