@bscotch/yy 0.17.1 → 1.0.0
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/Yy.d.ts +477 -295
- package/dist/Yy.d.ts.map +1 -1
- package/dist/Yy.js +24 -85
- package/dist/Yy.js.map +1 -1
- package/dist/Yy.parse.d.ts.map +1 -1
- package/dist/Yy.parse.js +19 -3
- package/dist/Yy.parse.js.map +1 -1
- package/dist/Yy.stringify.d.ts +6 -2
- package/dist/Yy.stringify.d.ts.map +1 -1
- package/dist/Yy.stringify.js +86 -3
- package/dist/Yy.stringify.js.map +1 -1
- package/dist/types/YyBase.d.ts +4 -1
- package/dist/types/YyBase.d.ts.map +1 -1
- package/dist/types/YyBase.js +1 -1
- package/dist/types/YyBase.js.map +1 -1
- package/dist/types/YyExtension.d.ts +3 -0
- package/dist/types/YyExtension.d.ts.map +1 -1
- package/dist/types/YyExtension.js +1 -0
- package/dist/types/YyExtension.js.map +1 -1
- package/dist/types/YyObject.d.ts +22 -19
- package/dist/types/YyObject.d.ts.map +1 -1
- package/dist/types/YyObject.js +2 -2
- package/dist/types/YyObject.js.map +1 -1
- package/dist/types/YyRoom.d.ts +6 -3
- package/dist/types/YyRoom.d.ts.map +1 -1
- package/dist/types/YyScript.d.ts +6 -3
- package/dist/types/YyScript.d.ts.map +1 -1
- package/dist/types/YySound.d.ts +6 -3
- package/dist/types/YySound.d.ts.map +1 -1
- package/dist/types/YySprite.d.ts +180 -169
- package/dist/types/YySprite.d.ts.map +1 -1
- package/dist/types/YySprite.js +7 -7
- package/dist/types/YySprite.js.map +1 -1
- package/dist/types/YySprite.lib.d.ts +7 -6
- package/dist/types/YySprite.lib.d.ts.map +1 -1
- package/dist/types/Yyp.d.ts +64 -60
- package/dist/types/Yyp.d.ts.map +1 -1
- package/dist/types/Yyp.js +5 -4
- package/dist/types/Yyp.js.map +1 -1
- package/dist/types/utility.d.ts +5 -2
- package/dist/types/utility.d.ts.map +1 -1
- package/dist/types/utility.js +11 -1
- package/dist/types/utility.js.map +1 -1
- package/package.json +1 -1
package/dist/types/Yyp.d.ts
CHANGED
|
@@ -93,11 +93,11 @@ export declare const yypFolderSchema: z.ZodObject<{
|
|
|
93
93
|
folderPath: z.ZodString;
|
|
94
94
|
order: z.ZodOptional<z.ZodNumber>;
|
|
95
95
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
|
|
96
|
-
resourceVersion: z.ZodDefault<z.
|
|
96
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
97
97
|
}, "strip", z.ZodTypeAny, {
|
|
98
98
|
name: string;
|
|
99
99
|
resourceType: "GMFolder";
|
|
100
|
-
resourceVersion:
|
|
100
|
+
resourceVersion: string;
|
|
101
101
|
folderPath: string;
|
|
102
102
|
tags?: string[] | undefined;
|
|
103
103
|
order?: number | undefined;
|
|
@@ -107,7 +107,7 @@ export declare const yypFolderSchema: z.ZodObject<{
|
|
|
107
107
|
tags?: string[] | undefined;
|
|
108
108
|
order?: number | undefined;
|
|
109
109
|
resourceType?: "GMFolder" | undefined;
|
|
110
|
-
resourceVersion?:
|
|
110
|
+
resourceVersion?: string | undefined;
|
|
111
111
|
}>;
|
|
112
112
|
export type YypAudioGroup = z.infer<typeof yypAudioGroupSchema>;
|
|
113
113
|
export type YypAudioGroupLoose = z.input<typeof yypAudioGroupSchema>;
|
|
@@ -116,11 +116,11 @@ export declare const yypAudioGroupSchema: z.ZodObject<{
|
|
|
116
116
|
name: z.ZodString;
|
|
117
117
|
targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
118
118
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
|
|
119
|
-
resourceVersion: z.ZodDefault<z.
|
|
119
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
120
120
|
}, "strip", z.ZodTypeAny, {
|
|
121
121
|
name: string;
|
|
122
122
|
resourceType: "GMAudioGroup";
|
|
123
|
-
resourceVersion:
|
|
123
|
+
resourceVersion: string;
|
|
124
124
|
targets: bigint;
|
|
125
125
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
126
126
|
}, {
|
|
@@ -128,7 +128,7 @@ export declare const yypAudioGroupSchema: z.ZodObject<{
|
|
|
128
128
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
129
129
|
targets?: number | bigint | undefined;
|
|
130
130
|
resourceType?: "GMAudioGroup" | undefined;
|
|
131
|
-
resourceVersion?:
|
|
131
|
+
resourceVersion?: string | undefined;
|
|
132
132
|
}>;
|
|
133
133
|
export type YypTextureGroup = z.infer<typeof yypTextureGroupSchema>;
|
|
134
134
|
export declare const yypTextureGroupSchema: z.ZodObject<{
|
|
@@ -153,11 +153,11 @@ export declare const yypTextureGroupSchema: z.ZodObject<{
|
|
|
153
153
|
loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
|
|
154
154
|
directory: z.ZodOptional<z.ZodString>;
|
|
155
155
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
|
|
156
|
-
resourceVersion: z.ZodDefault<z.
|
|
156
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
157
157
|
}, "strip", z.ZodTypeAny, {
|
|
158
158
|
name: string;
|
|
159
159
|
resourceType: "GMTextureGroup";
|
|
160
|
-
resourceVersion:
|
|
160
|
+
resourceVersion: string;
|
|
161
161
|
targets: bigint;
|
|
162
162
|
groupParent: {
|
|
163
163
|
path: string;
|
|
@@ -187,7 +187,7 @@ export declare const yypTextureGroupSchema: z.ZodObject<{
|
|
|
187
187
|
loadType?: "default" | "dynamicpages" | undefined;
|
|
188
188
|
directory?: string | undefined;
|
|
189
189
|
resourceType?: "GMTextureGroup" | undefined;
|
|
190
|
-
resourceVersion?:
|
|
190
|
+
resourceVersion?: string | undefined;
|
|
191
191
|
}>;
|
|
192
192
|
export type YypIncludedFile = z.infer<typeof yypIncludedFileSchema>;
|
|
193
193
|
declare const yypIncludedFileSchema: z.ZodObject<{
|
|
@@ -204,11 +204,11 @@ declare const yypIncludedFileSchema: z.ZodObject<{
|
|
|
204
204
|
/** `datafiles/${subdir}` */
|
|
205
205
|
filePath: z.ZodString;
|
|
206
206
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
|
|
207
|
-
resourceVersion: z.ZodDefault<z.
|
|
207
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
208
208
|
}, "strip", z.ZodTypeAny, {
|
|
209
209
|
name: string;
|
|
210
210
|
resourceType: "GMIncludedFile";
|
|
211
|
-
resourceVersion:
|
|
211
|
+
resourceVersion: string;
|
|
212
212
|
CopyToMask: bigint;
|
|
213
213
|
filePath: string;
|
|
214
214
|
ConfigValues?: Record<string, {
|
|
@@ -222,11 +222,12 @@ declare const yypIncludedFileSchema: z.ZodObject<{
|
|
|
222
222
|
}> | undefined;
|
|
223
223
|
CopyToMask?: number | bigint | undefined;
|
|
224
224
|
resourceType?: "GMIncludedFile" | undefined;
|
|
225
|
-
resourceVersion?:
|
|
225
|
+
resourceVersion?: string | undefined;
|
|
226
226
|
}>;
|
|
227
227
|
/** The YYP content that has not changed across GMS2.3 subversions */
|
|
228
228
|
export type Yyp = z.infer<typeof yypSchema>;
|
|
229
229
|
export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
230
|
+
"%Name": z.ZodOptional<z.ZodString>;
|
|
230
231
|
name: z.ZodString;
|
|
231
232
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMProject">>;
|
|
232
233
|
resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -310,11 +311,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
310
311
|
folderPath: z.ZodString;
|
|
311
312
|
order: z.ZodOptional<z.ZodNumber>;
|
|
312
313
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
|
|
313
|
-
resourceVersion: z.ZodDefault<z.
|
|
314
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
314
315
|
}, "strip", z.ZodTypeAny, {
|
|
315
316
|
name: string;
|
|
316
317
|
resourceType: "GMFolder";
|
|
317
|
-
resourceVersion:
|
|
318
|
+
resourceVersion: string;
|
|
318
319
|
folderPath: string;
|
|
319
320
|
tags?: string[] | undefined;
|
|
320
321
|
order?: number | undefined;
|
|
@@ -324,18 +325,18 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
324
325
|
tags?: string[] | undefined;
|
|
325
326
|
order?: number | undefined;
|
|
326
327
|
resourceType?: "GMFolder" | undefined;
|
|
327
|
-
resourceVersion?:
|
|
328
|
+
resourceVersion?: string | undefined;
|
|
328
329
|
}>, "many">>;
|
|
329
330
|
AudioGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
330
331
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
331
332
|
name: z.ZodString;
|
|
332
333
|
targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
333
334
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
|
|
334
|
-
resourceVersion: z.ZodDefault<z.
|
|
335
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
335
336
|
}, "strip", z.ZodTypeAny, {
|
|
336
337
|
name: string;
|
|
337
338
|
resourceType: "GMAudioGroup";
|
|
338
|
-
resourceVersion:
|
|
339
|
+
resourceVersion: string;
|
|
339
340
|
targets: bigint;
|
|
340
341
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
341
342
|
}, {
|
|
@@ -343,7 +344,7 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
343
344
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
344
345
|
targets?: number | bigint | undefined;
|
|
345
346
|
resourceType?: "GMAudioGroup" | undefined;
|
|
346
|
-
resourceVersion?:
|
|
347
|
+
resourceVersion?: string | undefined;
|
|
347
348
|
}>, "many">>;
|
|
348
349
|
TextureGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
349
350
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
@@ -367,11 +368,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
367
368
|
loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
|
|
368
369
|
directory: z.ZodOptional<z.ZodString>;
|
|
369
370
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
|
|
370
|
-
resourceVersion: z.ZodDefault<z.
|
|
371
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
371
372
|
}, "strip", z.ZodTypeAny, {
|
|
372
373
|
name: string;
|
|
373
374
|
resourceType: "GMTextureGroup";
|
|
374
|
-
resourceVersion:
|
|
375
|
+
resourceVersion: string;
|
|
375
376
|
targets: bigint;
|
|
376
377
|
groupParent: {
|
|
377
378
|
path: string;
|
|
@@ -401,7 +402,7 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
401
402
|
loadType?: "default" | "dynamicpages" | undefined;
|
|
402
403
|
directory?: string | undefined;
|
|
403
404
|
resourceType?: "GMTextureGroup" | undefined;
|
|
404
|
-
resourceVersion?:
|
|
405
|
+
resourceVersion?: string | undefined;
|
|
405
406
|
}>, "many">>;
|
|
406
407
|
IncludedFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
407
408
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -417,11 +418,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
417
418
|
/** `datafiles/${subdir}` */
|
|
418
419
|
filePath: z.ZodString;
|
|
419
420
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
|
|
420
|
-
resourceVersion: z.ZodDefault<z.
|
|
421
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
421
422
|
}, "strip", z.ZodTypeAny, {
|
|
422
423
|
name: string;
|
|
423
424
|
resourceType: "GMIncludedFile";
|
|
424
|
-
resourceVersion:
|
|
425
|
+
resourceVersion: string;
|
|
425
426
|
CopyToMask: bigint;
|
|
426
427
|
filePath: string;
|
|
427
428
|
ConfigValues?: Record<string, {
|
|
@@ -435,7 +436,7 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
435
436
|
}> | undefined;
|
|
436
437
|
CopyToMask?: number | bigint | undefined;
|
|
437
438
|
resourceType?: "GMIncludedFile" | undefined;
|
|
438
|
-
resourceVersion?:
|
|
439
|
+
resourceVersion?: string | undefined;
|
|
439
440
|
}>, "many">>;
|
|
440
441
|
MetaData: z.ZodObject<{
|
|
441
442
|
IDEVersion: z.ZodString;
|
|
@@ -448,6 +449,7 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
448
449
|
resourceVersion: z.ZodString;
|
|
449
450
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
450
451
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
452
|
+
"%Name": z.ZodOptional<z.ZodString>;
|
|
451
453
|
name: z.ZodString;
|
|
452
454
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMProject">>;
|
|
453
455
|
resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -531,11 +533,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
531
533
|
folderPath: z.ZodString;
|
|
532
534
|
order: z.ZodOptional<z.ZodNumber>;
|
|
533
535
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
|
|
534
|
-
resourceVersion: z.ZodDefault<z.
|
|
536
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
535
537
|
}, "strip", z.ZodTypeAny, {
|
|
536
538
|
name: string;
|
|
537
539
|
resourceType: "GMFolder";
|
|
538
|
-
resourceVersion:
|
|
540
|
+
resourceVersion: string;
|
|
539
541
|
folderPath: string;
|
|
540
542
|
tags?: string[] | undefined;
|
|
541
543
|
order?: number | undefined;
|
|
@@ -545,18 +547,18 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
545
547
|
tags?: string[] | undefined;
|
|
546
548
|
order?: number | undefined;
|
|
547
549
|
resourceType?: "GMFolder" | undefined;
|
|
548
|
-
resourceVersion?:
|
|
550
|
+
resourceVersion?: string | undefined;
|
|
549
551
|
}>, "many">>;
|
|
550
552
|
AudioGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
551
553
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
552
554
|
name: z.ZodString;
|
|
553
555
|
targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
554
556
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
|
|
555
|
-
resourceVersion: z.ZodDefault<z.
|
|
557
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
556
558
|
}, "strip", z.ZodTypeAny, {
|
|
557
559
|
name: string;
|
|
558
560
|
resourceType: "GMAudioGroup";
|
|
559
|
-
resourceVersion:
|
|
561
|
+
resourceVersion: string;
|
|
560
562
|
targets: bigint;
|
|
561
563
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
562
564
|
}, {
|
|
@@ -564,7 +566,7 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
564
566
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
565
567
|
targets?: number | bigint | undefined;
|
|
566
568
|
resourceType?: "GMAudioGroup" | undefined;
|
|
567
|
-
resourceVersion?:
|
|
569
|
+
resourceVersion?: string | undefined;
|
|
568
570
|
}>, "many">>;
|
|
569
571
|
TextureGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
570
572
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
@@ -588,11 +590,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
588
590
|
loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
|
|
589
591
|
directory: z.ZodOptional<z.ZodString>;
|
|
590
592
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
|
|
591
|
-
resourceVersion: z.ZodDefault<z.
|
|
593
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
592
594
|
}, "strip", z.ZodTypeAny, {
|
|
593
595
|
name: string;
|
|
594
596
|
resourceType: "GMTextureGroup";
|
|
595
|
-
resourceVersion:
|
|
597
|
+
resourceVersion: string;
|
|
596
598
|
targets: bigint;
|
|
597
599
|
groupParent: {
|
|
598
600
|
path: string;
|
|
@@ -622,7 +624,7 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
622
624
|
loadType?: "default" | "dynamicpages" | undefined;
|
|
623
625
|
directory?: string | undefined;
|
|
624
626
|
resourceType?: "GMTextureGroup" | undefined;
|
|
625
|
-
resourceVersion?:
|
|
627
|
+
resourceVersion?: string | undefined;
|
|
626
628
|
}>, "many">>;
|
|
627
629
|
IncludedFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
628
630
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -638,11 +640,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
638
640
|
/** `datafiles/${subdir}` */
|
|
639
641
|
filePath: z.ZodString;
|
|
640
642
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
|
|
641
|
-
resourceVersion: z.ZodDefault<z.
|
|
643
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
642
644
|
}, "strip", z.ZodTypeAny, {
|
|
643
645
|
name: string;
|
|
644
646
|
resourceType: "GMIncludedFile";
|
|
645
|
-
resourceVersion:
|
|
647
|
+
resourceVersion: string;
|
|
646
648
|
CopyToMask: bigint;
|
|
647
649
|
filePath: string;
|
|
648
650
|
ConfigValues?: Record<string, {
|
|
@@ -656,7 +658,7 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
656
658
|
}> | undefined;
|
|
657
659
|
CopyToMask?: number | bigint | undefined;
|
|
658
660
|
resourceType?: "GMIncludedFile" | undefined;
|
|
659
|
-
resourceVersion?:
|
|
661
|
+
resourceVersion?: string | undefined;
|
|
660
662
|
}>, "many">>;
|
|
661
663
|
MetaData: z.ZodObject<{
|
|
662
664
|
IDEVersion: z.ZodString;
|
|
@@ -669,6 +671,7 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
669
671
|
resourceVersion: z.ZodString;
|
|
670
672
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
671
673
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
674
|
+
"%Name": z.ZodOptional<z.ZodString>;
|
|
672
675
|
name: z.ZodString;
|
|
673
676
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMProject">>;
|
|
674
677
|
resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -752,11 +755,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
752
755
|
folderPath: z.ZodString;
|
|
753
756
|
order: z.ZodOptional<z.ZodNumber>;
|
|
754
757
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
|
|
755
|
-
resourceVersion: z.ZodDefault<z.
|
|
758
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
756
759
|
}, "strip", z.ZodTypeAny, {
|
|
757
760
|
name: string;
|
|
758
761
|
resourceType: "GMFolder";
|
|
759
|
-
resourceVersion:
|
|
762
|
+
resourceVersion: string;
|
|
760
763
|
folderPath: string;
|
|
761
764
|
tags?: string[] | undefined;
|
|
762
765
|
order?: number | undefined;
|
|
@@ -766,18 +769,18 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
766
769
|
tags?: string[] | undefined;
|
|
767
770
|
order?: number | undefined;
|
|
768
771
|
resourceType?: "GMFolder" | undefined;
|
|
769
|
-
resourceVersion?:
|
|
772
|
+
resourceVersion?: string | undefined;
|
|
770
773
|
}>, "many">>;
|
|
771
774
|
AudioGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
772
775
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
773
776
|
name: z.ZodString;
|
|
774
777
|
targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
775
778
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
|
|
776
|
-
resourceVersion: z.ZodDefault<z.
|
|
779
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
777
780
|
}, "strip", z.ZodTypeAny, {
|
|
778
781
|
name: string;
|
|
779
782
|
resourceType: "GMAudioGroup";
|
|
780
|
-
resourceVersion:
|
|
783
|
+
resourceVersion: string;
|
|
781
784
|
targets: bigint;
|
|
782
785
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
783
786
|
}, {
|
|
@@ -785,7 +788,7 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
785
788
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
786
789
|
targets?: number | bigint | undefined;
|
|
787
790
|
resourceType?: "GMAudioGroup" | undefined;
|
|
788
|
-
resourceVersion?:
|
|
791
|
+
resourceVersion?: string | undefined;
|
|
789
792
|
}>, "many">>;
|
|
790
793
|
TextureGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
791
794
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
@@ -809,11 +812,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
809
812
|
loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
|
|
810
813
|
directory: z.ZodOptional<z.ZodString>;
|
|
811
814
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
|
|
812
|
-
resourceVersion: z.ZodDefault<z.
|
|
815
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
813
816
|
}, "strip", z.ZodTypeAny, {
|
|
814
817
|
name: string;
|
|
815
818
|
resourceType: "GMTextureGroup";
|
|
816
|
-
resourceVersion:
|
|
819
|
+
resourceVersion: string;
|
|
817
820
|
targets: bigint;
|
|
818
821
|
groupParent: {
|
|
819
822
|
path: string;
|
|
@@ -843,7 +846,7 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
843
846
|
loadType?: "default" | "dynamicpages" | undefined;
|
|
844
847
|
directory?: string | undefined;
|
|
845
848
|
resourceType?: "GMTextureGroup" | undefined;
|
|
846
|
-
resourceVersion?:
|
|
849
|
+
resourceVersion?: string | undefined;
|
|
847
850
|
}>, "many">>;
|
|
848
851
|
IncludedFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
849
852
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -859,11 +862,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
859
862
|
/** `datafiles/${subdir}` */
|
|
860
863
|
filePath: z.ZodString;
|
|
861
864
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
|
|
862
|
-
resourceVersion: z.ZodDefault<z.
|
|
865
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
863
866
|
}, "strip", z.ZodTypeAny, {
|
|
864
867
|
name: string;
|
|
865
868
|
resourceType: "GMIncludedFile";
|
|
866
|
-
resourceVersion:
|
|
869
|
+
resourceVersion: string;
|
|
867
870
|
CopyToMask: bigint;
|
|
868
871
|
filePath: string;
|
|
869
872
|
ConfigValues?: Record<string, {
|
|
@@ -877,7 +880,7 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
877
880
|
}> | undefined;
|
|
878
881
|
CopyToMask?: number | bigint | undefined;
|
|
879
882
|
resourceType?: "GMIncludedFile" | undefined;
|
|
880
|
-
resourceVersion?:
|
|
883
|
+
resourceVersion?: string | undefined;
|
|
881
884
|
}>, "many">>;
|
|
882
885
|
MetaData: z.ZodObject<{
|
|
883
886
|
IDEVersion: z.ZodString;
|
|
@@ -890,6 +893,7 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
890
893
|
resourceVersion: z.ZodString;
|
|
891
894
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
892
895
|
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
896
|
+
"%Name": z.ZodOptional<z.ZodString>;
|
|
893
897
|
name: z.ZodString;
|
|
894
898
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMProject">>;
|
|
895
899
|
resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -973,11 +977,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
973
977
|
folderPath: z.ZodString;
|
|
974
978
|
order: z.ZodOptional<z.ZodNumber>;
|
|
975
979
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
|
|
976
|
-
resourceVersion: z.ZodDefault<z.
|
|
980
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
977
981
|
}, "strip", z.ZodTypeAny, {
|
|
978
982
|
name: string;
|
|
979
983
|
resourceType: "GMFolder";
|
|
980
|
-
resourceVersion:
|
|
984
|
+
resourceVersion: string;
|
|
981
985
|
folderPath: string;
|
|
982
986
|
tags?: string[] | undefined;
|
|
983
987
|
order?: number | undefined;
|
|
@@ -987,18 +991,18 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
987
991
|
tags?: string[] | undefined;
|
|
988
992
|
order?: number | undefined;
|
|
989
993
|
resourceType?: "GMFolder" | undefined;
|
|
990
|
-
resourceVersion?:
|
|
994
|
+
resourceVersion?: string | undefined;
|
|
991
995
|
}>, "many">>;
|
|
992
996
|
AudioGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
993
997
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
994
998
|
name: z.ZodString;
|
|
995
999
|
targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
996
1000
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
|
|
997
|
-
resourceVersion: z.ZodDefault<z.
|
|
1001
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
998
1002
|
}, "strip", z.ZodTypeAny, {
|
|
999
1003
|
name: string;
|
|
1000
1004
|
resourceType: "GMAudioGroup";
|
|
1001
|
-
resourceVersion:
|
|
1005
|
+
resourceVersion: string;
|
|
1002
1006
|
targets: bigint;
|
|
1003
1007
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
1004
1008
|
}, {
|
|
@@ -1006,7 +1010,7 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1006
1010
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
1007
1011
|
targets?: number | bigint | undefined;
|
|
1008
1012
|
resourceType?: "GMAudioGroup" | undefined;
|
|
1009
|
-
resourceVersion?:
|
|
1013
|
+
resourceVersion?: string | undefined;
|
|
1010
1014
|
}>, "many">>;
|
|
1011
1015
|
TextureGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1012
1016
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
@@ -1030,11 +1034,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1030
1034
|
loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
|
|
1031
1035
|
directory: z.ZodOptional<z.ZodString>;
|
|
1032
1036
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
|
|
1033
|
-
resourceVersion: z.ZodDefault<z.
|
|
1037
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
1034
1038
|
}, "strip", z.ZodTypeAny, {
|
|
1035
1039
|
name: string;
|
|
1036
1040
|
resourceType: "GMTextureGroup";
|
|
1037
|
-
resourceVersion:
|
|
1041
|
+
resourceVersion: string;
|
|
1038
1042
|
targets: bigint;
|
|
1039
1043
|
groupParent: {
|
|
1040
1044
|
path: string;
|
|
@@ -1064,7 +1068,7 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1064
1068
|
loadType?: "default" | "dynamicpages" | undefined;
|
|
1065
1069
|
directory?: string | undefined;
|
|
1066
1070
|
resourceType?: "GMTextureGroup" | undefined;
|
|
1067
|
-
resourceVersion?:
|
|
1071
|
+
resourceVersion?: string | undefined;
|
|
1068
1072
|
}>, "many">>;
|
|
1069
1073
|
IncludedFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1070
1074
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -1080,11 +1084,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1080
1084
|
/** `datafiles/${subdir}` */
|
|
1081
1085
|
filePath: z.ZodString;
|
|
1082
1086
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
|
|
1083
|
-
resourceVersion: z.ZodDefault<z.
|
|
1087
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
1084
1088
|
}, "strip", z.ZodTypeAny, {
|
|
1085
1089
|
name: string;
|
|
1086
1090
|
resourceType: "GMIncludedFile";
|
|
1087
|
-
resourceVersion:
|
|
1091
|
+
resourceVersion: string;
|
|
1088
1092
|
CopyToMask: bigint;
|
|
1089
1093
|
filePath: string;
|
|
1090
1094
|
ConfigValues?: Record<string, {
|
|
@@ -1098,7 +1102,7 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1098
1102
|
}> | undefined;
|
|
1099
1103
|
CopyToMask?: number | bigint | undefined;
|
|
1100
1104
|
resourceType?: "GMIncludedFile" | undefined;
|
|
1101
|
-
resourceVersion?:
|
|
1105
|
+
resourceVersion?: string | undefined;
|
|
1102
1106
|
}>, "many">>;
|
|
1103
1107
|
MetaData: z.ZodObject<{
|
|
1104
1108
|
IDEVersion: z.ZodString;
|
package/dist/types/Yyp.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Yyp.d.ts","sourceRoot":"","sources":["../../src/types/Yyp.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;GAMG;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,eAAO,MAAM,mBAAmB;;;;;;;;;EAG9B,CAAC;AAEH,2EAA2E;AAC3E,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC5D,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;EAGrB,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,QAAA,MAAM,eAAe;;;;;;;;;;;;EAInB,CAAC;AAEH,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,SAAS,EAAE,CAAC;CACvB;AAQD,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAyD/B,kEAAkE;;;QAGlE,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yCAmD7B,CAAC"}
|
package/dist/types/Yyp.js
CHANGED
|
@@ -31,14 +31,14 @@ export const yypFolderSchema = z.object({
|
|
|
31
31
|
folderPath: z.string(),
|
|
32
32
|
order: z.number().optional(),
|
|
33
33
|
resourceType: z.literal('GMFolder').default('GMFolder'),
|
|
34
|
-
resourceVersion: z.
|
|
34
|
+
resourceVersion: z.string().default('1.0'),
|
|
35
35
|
});
|
|
36
36
|
export const yypAudioGroupSchema = z.object({
|
|
37
37
|
ConfigValues: z.record(z.record(z.string())).optional(),
|
|
38
38
|
name: z.string(),
|
|
39
39
|
targets: bigNumber().default(461609314234257646n),
|
|
40
40
|
resourceType: z.literal('GMAudioGroup').default('GMAudioGroup'),
|
|
41
|
-
resourceVersion: z.
|
|
41
|
+
resourceVersion: z.string().default('1.3'),
|
|
42
42
|
});
|
|
43
43
|
export const yypTextureGroupSchema = z.object({
|
|
44
44
|
ConfigValues: z.record(z.record(z.string())).optional(),
|
|
@@ -59,7 +59,7 @@ export const yypTextureGroupSchema = z.object({
|
|
|
59
59
|
loadType: z.enum(['default', 'dynamicpages']).optional(),
|
|
60
60
|
directory: z.string().optional(),
|
|
61
61
|
resourceType: z.literal('GMTextureGroup').default('GMTextureGroup'),
|
|
62
|
-
resourceVersion: z.
|
|
62
|
+
resourceVersion: z.string().default('1.3'),
|
|
63
63
|
});
|
|
64
64
|
const yypIncludedFileSchema = z.object({
|
|
65
65
|
ConfigValues: z
|
|
@@ -73,7 +73,7 @@ const yypIncludedFileSchema = z.object({
|
|
|
73
73
|
/** `datafiles/${subdir}` */
|
|
74
74
|
filePath: z.string(),
|
|
75
75
|
resourceType: z.literal('GMIncludedFile').default('GMIncludedFile'),
|
|
76
|
-
resourceVersion: z.
|
|
76
|
+
resourceVersion: z.string().default('1.0'),
|
|
77
77
|
});
|
|
78
78
|
export const yypSchema = z.preprocess((input) => {
|
|
79
79
|
// Remove the Options field if it's an empty array
|
|
@@ -88,6 +88,7 @@ export const yypSchema = z.preprocess((input) => {
|
|
|
88
88
|
return input;
|
|
89
89
|
}, z
|
|
90
90
|
.object({
|
|
91
|
+
['%Name']: z.string().optional(),
|
|
91
92
|
name: z.string(),
|
|
92
93
|
resourceType: z.literal('GMProject').default('GMProject'),
|
|
93
94
|
resources: z.array(yypResourceSchema).default([]),
|
package/dist/types/Yyp.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Yyp.js","sourceRoot":"","sources":["../../src/types/Yyp.ts"],"names":[],"mappings":"AAAA,yBAAyB;AACzB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAUzC,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAIH,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,EAAE,EAAE,mBAAmB;IACvB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC7B,CAAC,CAAC;AAGH,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/B,YAAY,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;IACvD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAMH,MAAM,eAAe,GAA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C,KAAK,CAAC,mBAAmB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IACrD,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IACzD,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IACzD,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC;QACjB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;KACvB,CAAC;IACF,eAAe,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC5C,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;IAC3B,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CACrC,CAAC;KACD,WAAW,EAAE,CACjB,CAAC"}
|
package/dist/types/utility.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { YyResourceType } from './YyBase.js';
|
|
3
|
-
import { YypResourceId } from './Yyp.js';
|
|
2
|
+
import type { YyResourceType } from './YyBase.js';
|
|
3
|
+
import type { YypResourceId } from './Yyp.js';
|
|
4
4
|
export declare function randomString(length?: number): string;
|
|
5
5
|
export declare class FixedNumber extends Number {
|
|
6
6
|
readonly digits: number;
|
|
@@ -62,4 +62,7 @@ export declare function yyResourceIdSchemaGenerator(yyType: YyResourceType): z.Z
|
|
|
62
62
|
path: string;
|
|
63
63
|
name: string;
|
|
64
64
|
}, unknown>;
|
|
65
|
+
export declare function yyIsNewFormat<T>(yyData: T): yyData is T & {
|
|
66
|
+
'%Name': string;
|
|
67
|
+
};
|
|
65
68
|
//# sourceMappingURL=utility.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utility.d.ts","sourceRoot":"","sources":["../../src/types/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ACH,wBAAgB,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,WAAW,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAU1E;AAED,wBAAgB,eAAe,CAC7B,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,MAAM,GACX,aAAa,CAKf;AAED,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,cAAc;IAgB1D,kBAAkB;;IAElB,4DAA4D;;;;;;;;;;;;;;;;;YAKnE;AAED,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,MAAM,IAAI,CAAC,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAO7E"}
|
package/dist/types/utility.js
CHANGED
|
@@ -73,7 +73,11 @@ export function ensureObjects(obj, minItems = 1) {
|
|
|
73
73
|
*/
|
|
74
74
|
export function unstable(shape) {
|
|
75
75
|
return z.object(shape).catchall(z.unknown().superRefine((_arg, ctx) => {
|
|
76
|
-
|
|
76
|
+
// The new format for name/resourcetype keys should be ignore, since those are handled in other ways.
|
|
77
|
+
const isNewKey = `${ctx.path.at(-1)}`.match(/^[$%]/);
|
|
78
|
+
if (!isNewKey) {
|
|
79
|
+
console.log(`WARNING: Unexpected Key "${ctx.path.join('/')}"`);
|
|
80
|
+
}
|
|
77
81
|
}));
|
|
78
82
|
}
|
|
79
83
|
export function getYyResourceId(yyType, name) {
|
|
@@ -102,4 +106,10 @@ export function yyResourceIdSchemaGenerator(yyType) {
|
|
|
102
106
|
})
|
|
103
107
|
.refine((arg) => arg.path === pathFromName(arg.name)));
|
|
104
108
|
}
|
|
109
|
+
export function yyIsNewFormat(yyData) {
|
|
110
|
+
return (yyData &&
|
|
111
|
+
typeof yyData === 'object' &&
|
|
112
|
+
'%Name' in yyData &&
|
|
113
|
+
yyData['%Name'] !== undefined);
|
|
114
|
+
}
|
|
105
115
|
//# sourceMappingURL=utility.js.map
|
|
@@ -1 +1 @@
|
|
|
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