UNPKG

@drincs/pixi-vn-storymate

Version:

Pixi'VN gives you the ability to write your own narrative using StoryMate

49 lines (47 loc) 998 B
interface StoryMateType { projectTitle: string; author: string; schemaVersion: string; projectId: string; creationDate: string; lastModifiedDate: string; version: "3"; /** * Labels */ nodesData: StoryMateNodesDataType[]; storyImages: { nodeId: number; base64Data: string; }[]; themeName: string; customData: {}; editorMetadata: { zoom: number; nodeEditModalVisible: boolean; selectedNodeId: number; }; } interface StoryMateNodesDataType { passageTitle: string; id: number; text: string; prompt: string; position: { x: number; y: number; }; parentIds: number[]; childrenIds: number[]; choicesText: { id: number; choiceText: string; }[]; imagePrompt: string; imageURL: string; nodeType?: string; data?: { tag: string; }; } export type { StoryMateNodesDataType, StoryMateType as default };