UNPKG

knowmax-quest-types

Version:

Contains type definitions for communicating with Knowmax Quest.

23 lines 937 B
import type { IMetadata } from "."; export interface IDocumentNode<T extends IDocumentNode<T> = IDocumentNode<any>> { /** Internal identification. */ id: number; /** Public Quest identification. */ questId?: string; /** Url to data for this node. */ url?: string; /** Title for this document node. */ title?: string; /** Describes Quest specific type for this document node. */ type: string; /** True in case this document node is composable. Composable nodes can optionally be included in their parents data contents. */ composable: boolean; /** Describes MIME type for data associated with this document node. */ mimeType?: string; /** Describes ordinal sequence within other document nodes at same level. */ sequence: number; /** Describes metadata for this document node. */ metadata?: IMetadata[]; child?: T[]; } //# sourceMappingURL=IDocumentNode.d.ts.map