@drincs/pixi-vn-json
Version:
Pixi'VN can be integrated with JSON files to create a visual novel.
42 lines (38 loc) • 3.32 kB
text/typescript
import { F as PixiVNJsonLabelStep, a0 as PixiVNJsonValueSet, A as PixiVNJsonIfElse } from './PixiVNJsonLabelStep-DJgORyFd.cjs';
export { P as PixiVNJsonAnimateBase, a as PixiVNJsonAnimateSequence, b as PixiVNJsonArithmeticOperations, c as PixiVNJsonArithmeticOperationsArithmetic, d as PixiVNJsonArithmeticOperationsArithmeticSingle, e as PixiVNJsonCanvas, f as PixiVNJsonCanvasAnimate, g as PixiVNJsonCanvasEdit, h as PixiVNJsonCanvasEffect, i as PixiVNJsonCanvasImageContainerShow, j as PixiVNJsonCanvasImageVideoShow, k as PixiVNJsonCanvasRemove, l as PixiVNJsonCanvasShow, m as PixiVNJsonCanvasTextShow, n as PixiVNJsonChoice, o as PixiVNJsonChoiceGet, p as PixiVNJsonChoices, q as PixiVNJsonComparation, r as PixiVNJsonComparationOperatorsType, s as PixiVNJsonConditionalOperation, t as PixiVNJsonConditionalResultToCombine, u as PixiVNJsonConditionalStatements, v as PixiVNJsonConditions, w as PixiVNJsonDialog, x as PixiVNJsonDialogText, y as PixiVNJsonDialogue, z as PixiVNJsonFunction, B as PixiVNJsonImageContainerEdit, C as PixiVNJsonImageEdit, D as PixiVNJsonInputRequest, E as PixiVNJsonLabelGet, G as PixiVNJsonLabelToOpen, H as PixiVNJsonLogicGet, I as PixiVNJsonMediaTransiotions, J as PixiVNJsonNarration, K as PixiVNJsonOnlyStorageSet, L as PixiVNJsonOperation, M as PixiVNJsonOperationString, N as PixiVNJsonParamGet, O as PixiVNJsonSound, Q as PixiVNJsonSoundEdit, R as PixiVNJsonSoundPauseResume, S as PixiVNJsonSoundPlay, T as PixiVNJsonSoundRemove, U as PixiVNJsonStepSwitch, V as PixiVNJsonStepSwitchElementType, W as PixiVNJsonStepSwitchElementsType, X as PixiVNJsonStorageGet, Y as PixiVNJsonTextEdit, Z as PixiVNJsonUnionCondition, _ as PixiVNJsonUnknownEdit, $ as PixiVNJsonValueGet, a1 as PixiVNJsonVideoEdit, a2 as PixiVNJsonVideoPauseResume } from './PixiVNJsonLabelStep-DJgORyFd.cjs';
import '@drincs/pixi-vn';
import '@drincs/pixi-vn/motion';
import 'pixi.js';
/**
* Collection of labels to be used in the narrative.
*/
type PixiVNJsonLabels = {
[labelId: string]: PixiVNJsonLabelStep[];
};
/**
* PixiVNJson It can be defined as a programming language to write a narrative written in json.
*/
interface PixiVNJson {
/**
* The URI of the JSON Schema that describes and validates this document.
*
* You can point to a specific version of the schema, for example:
* - `"https://pixi-vn.web.app/schemas/1.13.0/schema.json"` — pin to a specific version
* - `"https://pixi-vn.web.app/schemas/latest/schema.json"` — always use the latest version
*
* Most editors (VS Code, WebStorm, etc.) use this field to provide
* auto-completion, hover documentation, and validation for the document.
*/
$schema?: string;
/**
* The operations to be executed before the narrative starts.
* For the set storage: They will be set only if there are no variables with the same key already.
* For the det tempstorage: if there are variables with the same key already, they will be overwritten.
*/
initialOperations?: (PixiVNJsonValueSet | PixiVNJsonIfElse<PixiVNJsonValueSet>)[];
/**
* The labels to be used in the narrative. They will be added to the system
*/
labels?: PixiVNJsonLabels;
}
export { type PixiVNJson, PixiVNJsonIfElse, PixiVNJsonLabelStep, type PixiVNJsonLabels, PixiVNJsonValueSet };