Skip to content

craft-hub / DocumentCreateInput

Interface: DocumentCreateInput ​

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

Request to create a standalone Markdown document or folder bundle.

Properties ​

frontmatter? ​

optional frontmatter?: Record<string, unknown>

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


kind? ​

optional kind?: "bundle" | "document"

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


markdown? ​

optional markdown?: string

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


name ​

name: string

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


parentPath? ​

optional parentPath?: string

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


title? ​

optional title?: string

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

Released under the MIT License.