@drincs/pixi-vn-ink 1.1.2 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-EKJ57YDI.mjs +102 -0
- package/dist/{chunk-HE25JM4E.mjs → chunk-V2LO62HK.mjs} +1 -1
- package/dist/index.cjs +69 -69
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/mapper.cjs +16 -16
- package/dist/mapper.mjs +16 -16
- package/dist/parser.cjs +64 -64
- package/dist/parser.d.cts +36 -3
- package/dist/parser.d.ts +36 -3
- package/dist/parser.mjs +64 -64
- package/dist/{type-Br1aIqKp.d.cts → type-BP8kOOSc.d.cts} +1 -1
- package/dist/{type-DIFR_5pl.d.ts → type-dq-kyUrF.d.ts} +1 -1
- package/dist/{types-B7f5EzP5.d.cts → types-C31N1m1a.d.cts} +27 -1
- package/dist/{types-B7f5EzP5.d.ts → types-C31N1m1a.d.ts} +27 -1
- package/dist/vite-listener.cjs +61 -61
- package/dist/vite-listener.d.cts +2 -2
- package/dist/vite-listener.d.ts +2 -2
- package/dist/vite-listener.mjs +1 -1
- package/dist/vite.cjs +68 -67
- package/dist/vite.d.cts +1 -1
- package/dist/vite.d.ts +1 -1
- package/dist/vite.mjs +6 -5
- package/package.json +2 -2
- package/dist/chunk-54QJQIS3.mjs +0 -102
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CompileSharedType } from './types-
|
|
1
|
+
import { C as CompileSharedType } from './types-C31N1m1a.cjs';
|
|
2
2
|
|
|
3
3
|
/** A character id, or any object carrying one (e.g. a `CharacterInterface` / `RegisteredCharacters.values()`). */
|
|
4
4
|
type CharacterIdSource = string | {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CompileSharedType } from './types-
|
|
1
|
+
import { C as CompileSharedType } from './types-C31N1m1a.js';
|
|
2
2
|
|
|
3
3
|
/** A character id, or any object carrying one (e.g. a `CharacterInterface` / `RegisteredCharacters.values()`). */
|
|
4
4
|
type CharacterIdSource = string | {
|
|
@@ -105,5 +105,31 @@ interface HashtagCommandOccurrence {
|
|
|
105
105
|
*/
|
|
106
106
|
tokens: string[];
|
|
107
107
|
}
|
|
108
|
+
/**
|
|
109
|
+
* Represents a single JSON Schema mismatch found while validating an exported
|
|
110
|
+
* `PixiVNJson` payload, as reported by {@link InkCompiler.validateAgainstJsonSchema}.
|
|
111
|
+
*/
|
|
112
|
+
interface SchemaValidationIssue {
|
|
113
|
+
/**
|
|
114
|
+
* JSON Pointer (Ajv's `instancePath`) to the invalid value, or `"(root)"`
|
|
115
|
+
* when the error applies to the whole document.
|
|
116
|
+
*/
|
|
117
|
+
instancePath: string;
|
|
118
|
+
/**
|
|
119
|
+
* Name of the invalid field/element — e.g. `"x"` when `x` was assigned a
|
|
120
|
+
* string but the schema only accepts a number. For a missing required
|
|
121
|
+
* property, this is the name of that property.
|
|
122
|
+
*/
|
|
123
|
+
element: string;
|
|
124
|
+
/**
|
|
125
|
+
* Human-readable reason the value doesn't match the schema.
|
|
126
|
+
*/
|
|
127
|
+
message: string;
|
|
128
|
+
/**
|
|
129
|
+
* Nearest ink source line (a converted operation's `$origin`) that produced
|
|
130
|
+
* the invalid value, when one could be traced.
|
|
131
|
+
*/
|
|
132
|
+
origin?: string;
|
|
133
|
+
}
|
|
108
134
|
|
|
109
|
-
export type { CompileSharedType as C, DivertOccurrence as D, HashtagCommandOccurrence as H, IssueType as I, InkHashtagCommandInfo as a, InkValidationInfo as b };
|
|
135
|
+
export type { CompileSharedType as C, DivertOccurrence as D, HashtagCommandOccurrence as H, IssueType as I, SchemaValidationIssue as S, InkHashtagCommandInfo as a, InkValidationInfo as b };
|
|
@@ -105,5 +105,31 @@ interface HashtagCommandOccurrence {
|
|
|
105
105
|
*/
|
|
106
106
|
tokens: string[];
|
|
107
107
|
}
|
|
108
|
+
/**
|
|
109
|
+
* Represents a single JSON Schema mismatch found while validating an exported
|
|
110
|
+
* `PixiVNJson` payload, as reported by {@link InkCompiler.validateAgainstJsonSchema}.
|
|
111
|
+
*/
|
|
112
|
+
interface SchemaValidationIssue {
|
|
113
|
+
/**
|
|
114
|
+
* JSON Pointer (Ajv's `instancePath`) to the invalid value, or `"(root)"`
|
|
115
|
+
* when the error applies to the whole document.
|
|
116
|
+
*/
|
|
117
|
+
instancePath: string;
|
|
118
|
+
/**
|
|
119
|
+
* Name of the invalid field/element — e.g. `"x"` when `x` was assigned a
|
|
120
|
+
* string but the schema only accepts a number. For a missing required
|
|
121
|
+
* property, this is the name of that property.
|
|
122
|
+
*/
|
|
123
|
+
element: string;
|
|
124
|
+
/**
|
|
125
|
+
* Human-readable reason the value doesn't match the schema.
|
|
126
|
+
*/
|
|
127
|
+
message: string;
|
|
128
|
+
/**
|
|
129
|
+
* Nearest ink source line (a converted operation's `$origin`) that produced
|
|
130
|
+
* the invalid value, when one could be traced.
|
|
131
|
+
*/
|
|
132
|
+
origin?: string;
|
|
133
|
+
}
|
|
108
134
|
|
|
109
|
-
export type { CompileSharedType as C, DivertOccurrence as D, HashtagCommandOccurrence as H, IssueType as I, InkHashtagCommandInfo as a, InkValidationInfo as b };
|
|
135
|
+
export type { CompileSharedType as C, DivertOccurrence as D, HashtagCommandOccurrence as H, IssueType as I, SchemaValidationIssue as S, InkHashtagCommandInfo as a, InkValidationInfo as b };
|