Skip to content

craft-hub / DocumentNode

Interface: DocumentNode ​

Defined in: packages/craft-hub/src/document-spaces.ts:51

One folder, bundle, or Markdown document node inside a Document Space.

Properties ​

childCount? ​

optional childCount?: number

Defined in: packages/craft-hub/src/document-spaces.ts:62


cover? ​

optional cover?: string

Defined in: packages/craft-hub/src/document-spaces.ts:57


icon? ​

optional icon?: string

Defined in: packages/craft-hub/src/document-spaces.ts:56


kind ​

kind: DocumentNodeKind

Defined in: packages/craft-hub/src/document-spaces.ts:55


name ​

name: string

Defined in: packages/craft-hub/src/document-spaces.ts:53


path ​

path: string

Defined in: packages/craft-hub/src/document-spaces.ts:52


primaryDocumentPath? ​

optional primaryDocumentPath?: string

Defined in: packages/craft-hub/src/document-spaces.ts:63


properties? ​

optional properties?: Record<string, DocumentPropertyValue>

Defined in: packages/craft-hub/src/document-spaces.ts:64


status? ​

optional status?: string

Defined in: packages/craft-hub/src/document-spaces.ts:59


summary? ​

optional summary?: string

Defined in: packages/craft-hub/src/document-spaces.ts:58


tags? ​

optional tags?: string[]

Defined in: packages/craft-hub/src/document-spaces.ts:60


title ​

title: string

Defined in: packages/craft-hub/src/document-spaces.ts:54


updatedAt? ​

optional updatedAt?: string

Defined in: packages/craft-hub/src/document-spaces.ts:61

Released under the MIT License.