@bscotch/yy 2.1.2 → 2.1.3
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 +1048 -1048
- package/dist/Yy.stringify.d.ts.map +1 -1
- package/dist/Yy.stringify.js +4 -2
- package/dist/Yy.stringify.js.map +1 -1
- package/dist/types/YyBase.d.ts +7 -7
- package/dist/types/YyExtension.d.ts +32 -32
- package/dist/types/YyObject.d.ts +36 -36
- package/dist/types/YyRoom.d.ts +337 -337
- package/dist/types/YyRoom.d.ts.map +1 -1
- package/dist/types/YyScript.d.ts +8 -8
- package/dist/types/YyShader.d.ts +12 -12
- package/dist/types/YySound.d.ts +13 -13
- package/dist/types/YySprite.d.ts +252 -252
- package/dist/types/YySprite.lib.d.ts +11 -11
- package/dist/types/Yyp.d.ts +87 -87
- package/dist/types/utility.d.ts +5 -5
- package/package.json +1 -1
|
@@ -3,14 +3,14 @@ import { YySprite } from './YySprite.js';
|
|
|
3
3
|
export declare function ensureTrackKeyFrames(sprite: PartialDeep<YySprite, {
|
|
4
4
|
recurseIntoArrays: true;
|
|
5
5
|
}>): import("type-fest/source/partial-deep.js").PartialObjectDeep<{
|
|
6
|
-
type: import("./YySprite.js").SpriteType;
|
|
7
6
|
name: string;
|
|
8
7
|
resourceType: "GMSprite";
|
|
8
|
+
type: import("./YySprite.js").SpriteType;
|
|
9
|
+
resourceVersion: string;
|
|
9
10
|
parent: {
|
|
10
|
-
path: string;
|
|
11
11
|
name: string;
|
|
12
|
+
path: string;
|
|
12
13
|
};
|
|
13
|
-
resourceVersion: string;
|
|
14
14
|
gridX: number;
|
|
15
15
|
gridY: number;
|
|
16
16
|
layers: any[];
|
|
@@ -32,8 +32,8 @@ export declare function ensureTrackKeyFrames(sprite: PartialDeep<YySprite, {
|
|
|
32
32
|
width: number;
|
|
33
33
|
height: number;
|
|
34
34
|
textureGroupId: {
|
|
35
|
-
path: string;
|
|
36
35
|
name: string;
|
|
36
|
+
path: string;
|
|
37
37
|
};
|
|
38
38
|
frames: {
|
|
39
39
|
name: string;
|
|
@@ -45,8 +45,8 @@ export declare function ensureTrackKeyFrames(sprite: PartialDeep<YySprite, {
|
|
|
45
45
|
resourceType: "GMSpriteBitmap";
|
|
46
46
|
resourceVersion: "1.0";
|
|
47
47
|
FrameId: {
|
|
48
|
-
path: string;
|
|
49
48
|
name: string;
|
|
49
|
+
path: string;
|
|
50
50
|
};
|
|
51
51
|
LayerId: null;
|
|
52
52
|
tags?: string[] | undefined;
|
|
@@ -56,23 +56,23 @@ export declare function ensureTrackKeyFrames(sprite: PartialDeep<YySprite, {
|
|
|
56
56
|
resourceType: "GMSpriteBitmap";
|
|
57
57
|
resourceVersion: "1.0";
|
|
58
58
|
FrameId: {
|
|
59
|
-
path: string;
|
|
60
59
|
name: string;
|
|
60
|
+
path: string;
|
|
61
61
|
};
|
|
62
62
|
LayerId: {
|
|
63
|
-
path: string;
|
|
64
63
|
name: string;
|
|
64
|
+
path: string;
|
|
65
65
|
};
|
|
66
66
|
tags?: string[] | undefined;
|
|
67
67
|
}[] | undefined;
|
|
68
68
|
parent?: {
|
|
69
|
-
path: string;
|
|
70
69
|
name: string;
|
|
70
|
+
path: string;
|
|
71
71
|
} | undefined;
|
|
72
72
|
}[];
|
|
73
73
|
sequence: {
|
|
74
|
-
length: import("./utility.js").FixedNumber;
|
|
75
74
|
resourceType: "GMSequence";
|
|
75
|
+
length: import("./utility.js").FixedNumber;
|
|
76
76
|
resourceVersion: string;
|
|
77
77
|
volume: import("./utility.js").FixedNumber;
|
|
78
78
|
timeUnits: number;
|
|
@@ -125,12 +125,12 @@ export declare function ensureTrackKeyFrames(sprite: PartialDeep<YySprite, {
|
|
|
125
125
|
name?: string | undefined;
|
|
126
126
|
tags?: string[] | undefined;
|
|
127
127
|
spriteId?: {
|
|
128
|
-
path: string;
|
|
129
128
|
name: string;
|
|
129
|
+
path: string;
|
|
130
130
|
} | undefined;
|
|
131
131
|
parent?: {
|
|
132
|
-
path: string;
|
|
133
132
|
name: string;
|
|
133
|
+
path: string;
|
|
134
134
|
} | undefined;
|
|
135
135
|
};
|
|
136
136
|
"%Name"?: string | undefined;
|
package/dist/types/Yyp.d.ts
CHANGED
|
@@ -11,11 +11,11 @@ export declare const yypResourceIdSchema: z.ZodObject<{
|
|
|
11
11
|
name: z.ZodString;
|
|
12
12
|
path: z.ZodString;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
|
-
path: string;
|
|
15
14
|
name: string;
|
|
16
|
-
}, {
|
|
17
15
|
path: string;
|
|
16
|
+
}, {
|
|
18
17
|
name: string;
|
|
18
|
+
path: string;
|
|
19
19
|
}>;
|
|
20
20
|
/** A 'Resource' is a an asset like a sprite, object, script, and so on. */
|
|
21
21
|
export type YypResource = z.infer<typeof yypResourceSchema>;
|
|
@@ -24,23 +24,23 @@ declare const yypResourceSchema: z.ZodObject<{
|
|
|
24
24
|
name: z.ZodString;
|
|
25
25
|
path: z.ZodString;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
path: string;
|
|
28
27
|
name: string;
|
|
29
|
-
}, {
|
|
30
28
|
path: string;
|
|
29
|
+
}, {
|
|
31
30
|
name: string;
|
|
31
|
+
path: string;
|
|
32
32
|
}>;
|
|
33
33
|
order: z.ZodOptional<z.ZodNumber>;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
35
|
id: {
|
|
36
|
-
path: string;
|
|
37
36
|
name: string;
|
|
37
|
+
path: string;
|
|
38
38
|
};
|
|
39
39
|
order?: number | undefined;
|
|
40
40
|
}, {
|
|
41
41
|
id: {
|
|
42
|
-
path: string;
|
|
43
42
|
name: string;
|
|
43
|
+
path: string;
|
|
44
44
|
};
|
|
45
45
|
order?: number | undefined;
|
|
46
46
|
}>;
|
|
@@ -50,12 +50,12 @@ declare const yypOptionSchema: z.ZodObject<{
|
|
|
50
50
|
name: z.ZodString;
|
|
51
51
|
path: z.ZodString;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
path: string;
|
|
54
53
|
name: string;
|
|
54
|
+
path: string;
|
|
55
55
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
56
56
|
}, {
|
|
57
|
-
path: string;
|
|
58
57
|
name: string;
|
|
58
|
+
path: string;
|
|
59
59
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
60
60
|
}>;
|
|
61
61
|
export interface YypConfig {
|
|
@@ -69,21 +69,21 @@ declare const yypRoomOrderNodeSchema: z.ZodObject<{
|
|
|
69
69
|
/** rooms/{name}/{name}.yy */
|
|
70
70
|
path: z.ZodString;
|
|
71
71
|
}, "strip", z.ZodTypeAny, {
|
|
72
|
-
path: string;
|
|
73
72
|
name: string;
|
|
74
|
-
}, {
|
|
75
73
|
path: string;
|
|
74
|
+
}, {
|
|
76
75
|
name: string;
|
|
76
|
+
path: string;
|
|
77
77
|
}>;
|
|
78
78
|
}, "strip", z.ZodTypeAny, {
|
|
79
79
|
roomId: {
|
|
80
|
-
path: string;
|
|
81
80
|
name: string;
|
|
81
|
+
path: string;
|
|
82
82
|
};
|
|
83
83
|
}, {
|
|
84
84
|
roomId: {
|
|
85
|
-
path: string;
|
|
86
85
|
name: string;
|
|
86
|
+
path: string;
|
|
87
87
|
};
|
|
88
88
|
}>;
|
|
89
89
|
export type YypFolder = z.infer<typeof yypFolderSchema>;
|
|
@@ -97,8 +97,8 @@ export declare const yypFolderSchema: z.ZodObject<{
|
|
|
97
97
|
}, "strip", z.ZodTypeAny, {
|
|
98
98
|
name: string;
|
|
99
99
|
resourceType: "GMFolder";
|
|
100
|
-
resourceVersion: string;
|
|
101
100
|
folderPath: string;
|
|
101
|
+
resourceVersion: string;
|
|
102
102
|
tags?: string[] | undefined;
|
|
103
103
|
order?: number | undefined;
|
|
104
104
|
}, {
|
|
@@ -138,11 +138,11 @@ export declare const yypTextureGroupSchema: z.ZodObject<{
|
|
|
138
138
|
name: z.ZodString;
|
|
139
139
|
path: z.ZodString;
|
|
140
140
|
}, "strip", z.ZodTypeAny, {
|
|
141
|
-
path: string;
|
|
142
141
|
name: string;
|
|
143
|
-
}, {
|
|
144
142
|
path: string;
|
|
143
|
+
}, {
|
|
145
144
|
name: string;
|
|
145
|
+
path: string;
|
|
146
146
|
}>>>;
|
|
147
147
|
isScaled: z.ZodDefault<z.ZodBoolean>;
|
|
148
148
|
customOptions: z.ZodOptional<z.ZodString>;
|
|
@@ -162,11 +162,11 @@ export declare const yypTextureGroupSchema: z.ZodObject<{
|
|
|
162
162
|
name: z.ZodString;
|
|
163
163
|
path: z.ZodString;
|
|
164
164
|
}, "strip", z.ZodTypeAny, {
|
|
165
|
-
path: string;
|
|
166
165
|
name: string;
|
|
167
|
-
}, {
|
|
168
166
|
path: string;
|
|
167
|
+
}, {
|
|
169
168
|
name: string;
|
|
169
|
+
path: string;
|
|
170
170
|
}>>>;
|
|
171
171
|
isScaled: z.ZodDefault<z.ZodBoolean>;
|
|
172
172
|
customOptions: z.ZodOptional<z.ZodString>;
|
|
@@ -186,11 +186,11 @@ export declare const yypTextureGroupSchema: z.ZodObject<{
|
|
|
186
186
|
name: z.ZodString;
|
|
187
187
|
path: z.ZodString;
|
|
188
188
|
}, "strip", z.ZodTypeAny, {
|
|
189
|
-
path: string;
|
|
190
189
|
name: string;
|
|
191
|
-
}, {
|
|
192
190
|
path: string;
|
|
191
|
+
}, {
|
|
193
192
|
name: string;
|
|
193
|
+
path: string;
|
|
194
194
|
}>>>;
|
|
195
195
|
isScaled: z.ZodDefault<z.ZodBoolean>;
|
|
196
196
|
customOptions: z.ZodOptional<z.ZodString>;
|
|
@@ -250,23 +250,23 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
250
250
|
name: z.ZodString;
|
|
251
251
|
path: z.ZodString;
|
|
252
252
|
}, "strip", z.ZodTypeAny, {
|
|
253
|
-
path: string;
|
|
254
253
|
name: string;
|
|
255
|
-
}, {
|
|
256
254
|
path: string;
|
|
255
|
+
}, {
|
|
257
256
|
name: string;
|
|
257
|
+
path: string;
|
|
258
258
|
}>;
|
|
259
259
|
order: z.ZodOptional<z.ZodNumber>;
|
|
260
260
|
}, "strip", z.ZodTypeAny, {
|
|
261
261
|
id: {
|
|
262
|
-
path: string;
|
|
263
262
|
name: string;
|
|
263
|
+
path: string;
|
|
264
264
|
};
|
|
265
265
|
order?: number | undefined;
|
|
266
266
|
}, {
|
|
267
267
|
id: {
|
|
268
|
-
path: string;
|
|
269
268
|
name: string;
|
|
269
|
+
path: string;
|
|
270
270
|
};
|
|
271
271
|
order?: number | undefined;
|
|
272
272
|
}>, "many">>;
|
|
@@ -276,21 +276,21 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
276
276
|
/** rooms/{name}/{name}.yy */
|
|
277
277
|
path: z.ZodString;
|
|
278
278
|
}, "strip", z.ZodTypeAny, {
|
|
279
|
-
path: string;
|
|
280
279
|
name: string;
|
|
281
|
-
}, {
|
|
282
280
|
path: string;
|
|
281
|
+
}, {
|
|
283
282
|
name: string;
|
|
283
|
+
path: string;
|
|
284
284
|
}>;
|
|
285
285
|
}, "strip", z.ZodTypeAny, {
|
|
286
286
|
roomId: {
|
|
287
|
-
path: string;
|
|
288
287
|
name: string;
|
|
288
|
+
path: string;
|
|
289
289
|
};
|
|
290
290
|
}, {
|
|
291
291
|
roomId: {
|
|
292
|
-
path: string;
|
|
293
292
|
name: string;
|
|
293
|
+
path: string;
|
|
294
294
|
};
|
|
295
295
|
}>, "many">>;
|
|
296
296
|
Options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -298,12 +298,12 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
298
298
|
name: z.ZodString;
|
|
299
299
|
path: z.ZodString;
|
|
300
300
|
}, "strip", z.ZodTypeAny, {
|
|
301
|
-
path: string;
|
|
302
301
|
name: string;
|
|
302
|
+
path: string;
|
|
303
303
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
304
304
|
}, {
|
|
305
|
-
path: string;
|
|
306
305
|
name: string;
|
|
306
|
+
path: string;
|
|
307
307
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
308
308
|
}>, "many">>;
|
|
309
309
|
isDnDProject: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -330,8 +330,8 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
330
330
|
}, "strip", z.ZodTypeAny, {
|
|
331
331
|
name: string;
|
|
332
332
|
resourceType: "GMFolder";
|
|
333
|
-
resourceVersion: string;
|
|
334
333
|
folderPath: string;
|
|
334
|
+
resourceVersion: string;
|
|
335
335
|
tags?: string[] | undefined;
|
|
336
336
|
order?: number | undefined;
|
|
337
337
|
}, {
|
|
@@ -368,11 +368,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
368
368
|
name: z.ZodString;
|
|
369
369
|
path: z.ZodString;
|
|
370
370
|
}, "strip", z.ZodTypeAny, {
|
|
371
|
-
path: string;
|
|
372
371
|
name: string;
|
|
373
|
-
}, {
|
|
374
372
|
path: string;
|
|
373
|
+
}, {
|
|
375
374
|
name: string;
|
|
375
|
+
path: string;
|
|
376
376
|
}>>>;
|
|
377
377
|
isScaled: z.ZodDefault<z.ZodBoolean>;
|
|
378
378
|
customOptions: z.ZodOptional<z.ZodString>;
|
|
@@ -392,11 +392,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
392
392
|
name: z.ZodString;
|
|
393
393
|
path: z.ZodString;
|
|
394
394
|
}, "strip", z.ZodTypeAny, {
|
|
395
|
-
path: string;
|
|
396
395
|
name: string;
|
|
397
|
-
}, {
|
|
398
396
|
path: string;
|
|
397
|
+
}, {
|
|
399
398
|
name: string;
|
|
399
|
+
path: string;
|
|
400
400
|
}>>>;
|
|
401
401
|
isScaled: z.ZodDefault<z.ZodBoolean>;
|
|
402
402
|
customOptions: z.ZodOptional<z.ZodString>;
|
|
@@ -416,11 +416,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
416
416
|
name: z.ZodString;
|
|
417
417
|
path: z.ZodString;
|
|
418
418
|
}, "strip", z.ZodTypeAny, {
|
|
419
|
-
path: string;
|
|
420
419
|
name: string;
|
|
421
|
-
}, {
|
|
422
420
|
path: string;
|
|
421
|
+
}, {
|
|
423
422
|
name: string;
|
|
423
|
+
path: string;
|
|
424
424
|
}>>>;
|
|
425
425
|
isScaled: z.ZodDefault<z.ZodBoolean>;
|
|
426
426
|
customOptions: z.ZodOptional<z.ZodString>;
|
|
@@ -487,23 +487,23 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
487
487
|
name: z.ZodString;
|
|
488
488
|
path: z.ZodString;
|
|
489
489
|
}, "strip", z.ZodTypeAny, {
|
|
490
|
-
path: string;
|
|
491
490
|
name: string;
|
|
492
|
-
}, {
|
|
493
491
|
path: string;
|
|
492
|
+
}, {
|
|
494
493
|
name: string;
|
|
494
|
+
path: string;
|
|
495
495
|
}>;
|
|
496
496
|
order: z.ZodOptional<z.ZodNumber>;
|
|
497
497
|
}, "strip", z.ZodTypeAny, {
|
|
498
498
|
id: {
|
|
499
|
-
path: string;
|
|
500
499
|
name: string;
|
|
500
|
+
path: string;
|
|
501
501
|
};
|
|
502
502
|
order?: number | undefined;
|
|
503
503
|
}, {
|
|
504
504
|
id: {
|
|
505
|
-
path: string;
|
|
506
505
|
name: string;
|
|
506
|
+
path: string;
|
|
507
507
|
};
|
|
508
508
|
order?: number | undefined;
|
|
509
509
|
}>, "many">>;
|
|
@@ -513,21 +513,21 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
513
513
|
/** rooms/{name}/{name}.yy */
|
|
514
514
|
path: z.ZodString;
|
|
515
515
|
}, "strip", z.ZodTypeAny, {
|
|
516
|
-
path: string;
|
|
517
516
|
name: string;
|
|
518
|
-
}, {
|
|
519
517
|
path: string;
|
|
518
|
+
}, {
|
|
520
519
|
name: string;
|
|
520
|
+
path: string;
|
|
521
521
|
}>;
|
|
522
522
|
}, "strip", z.ZodTypeAny, {
|
|
523
523
|
roomId: {
|
|
524
|
-
path: string;
|
|
525
524
|
name: string;
|
|
525
|
+
path: string;
|
|
526
526
|
};
|
|
527
527
|
}, {
|
|
528
528
|
roomId: {
|
|
529
|
-
path: string;
|
|
530
529
|
name: string;
|
|
530
|
+
path: string;
|
|
531
531
|
};
|
|
532
532
|
}>, "many">>;
|
|
533
533
|
Options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -535,12 +535,12 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
535
535
|
name: z.ZodString;
|
|
536
536
|
path: z.ZodString;
|
|
537
537
|
}, "strip", z.ZodTypeAny, {
|
|
538
|
-
path: string;
|
|
539
538
|
name: string;
|
|
539
|
+
path: string;
|
|
540
540
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
541
541
|
}, {
|
|
542
|
-
path: string;
|
|
543
542
|
name: string;
|
|
543
|
+
path: string;
|
|
544
544
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
545
545
|
}>, "many">>;
|
|
546
546
|
isDnDProject: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -567,8 +567,8 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
567
567
|
}, "strip", z.ZodTypeAny, {
|
|
568
568
|
name: string;
|
|
569
569
|
resourceType: "GMFolder";
|
|
570
|
-
resourceVersion: string;
|
|
571
570
|
folderPath: string;
|
|
571
|
+
resourceVersion: string;
|
|
572
572
|
tags?: string[] | undefined;
|
|
573
573
|
order?: number | undefined;
|
|
574
574
|
}, {
|
|
@@ -605,11 +605,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
605
605
|
name: z.ZodString;
|
|
606
606
|
path: z.ZodString;
|
|
607
607
|
}, "strip", z.ZodTypeAny, {
|
|
608
|
-
path: string;
|
|
609
608
|
name: string;
|
|
610
|
-
}, {
|
|
611
609
|
path: string;
|
|
610
|
+
}, {
|
|
612
611
|
name: string;
|
|
612
|
+
path: string;
|
|
613
613
|
}>>>;
|
|
614
614
|
isScaled: z.ZodDefault<z.ZodBoolean>;
|
|
615
615
|
customOptions: z.ZodOptional<z.ZodString>;
|
|
@@ -629,11 +629,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
629
629
|
name: z.ZodString;
|
|
630
630
|
path: z.ZodString;
|
|
631
631
|
}, "strip", z.ZodTypeAny, {
|
|
632
|
-
path: string;
|
|
633
632
|
name: string;
|
|
634
|
-
}, {
|
|
635
633
|
path: string;
|
|
634
|
+
}, {
|
|
636
635
|
name: string;
|
|
636
|
+
path: string;
|
|
637
637
|
}>>>;
|
|
638
638
|
isScaled: z.ZodDefault<z.ZodBoolean>;
|
|
639
639
|
customOptions: z.ZodOptional<z.ZodString>;
|
|
@@ -653,11 +653,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
653
653
|
name: z.ZodString;
|
|
654
654
|
path: z.ZodString;
|
|
655
655
|
}, "strip", z.ZodTypeAny, {
|
|
656
|
-
path: string;
|
|
657
656
|
name: string;
|
|
658
|
-
}, {
|
|
659
657
|
path: string;
|
|
658
|
+
}, {
|
|
660
659
|
name: string;
|
|
660
|
+
path: string;
|
|
661
661
|
}>>>;
|
|
662
662
|
isScaled: z.ZodDefault<z.ZodBoolean>;
|
|
663
663
|
customOptions: z.ZodOptional<z.ZodString>;
|
|
@@ -724,23 +724,23 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
724
724
|
name: z.ZodString;
|
|
725
725
|
path: z.ZodString;
|
|
726
726
|
}, "strip", z.ZodTypeAny, {
|
|
727
|
-
path: string;
|
|
728
727
|
name: string;
|
|
729
|
-
}, {
|
|
730
728
|
path: string;
|
|
729
|
+
}, {
|
|
731
730
|
name: string;
|
|
731
|
+
path: string;
|
|
732
732
|
}>;
|
|
733
733
|
order: z.ZodOptional<z.ZodNumber>;
|
|
734
734
|
}, "strip", z.ZodTypeAny, {
|
|
735
735
|
id: {
|
|
736
|
-
path: string;
|
|
737
736
|
name: string;
|
|
737
|
+
path: string;
|
|
738
738
|
};
|
|
739
739
|
order?: number | undefined;
|
|
740
740
|
}, {
|
|
741
741
|
id: {
|
|
742
|
-
path: string;
|
|
743
742
|
name: string;
|
|
743
|
+
path: string;
|
|
744
744
|
};
|
|
745
745
|
order?: number | undefined;
|
|
746
746
|
}>, "many">>;
|
|
@@ -750,21 +750,21 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
750
750
|
/** rooms/{name}/{name}.yy */
|
|
751
751
|
path: z.ZodString;
|
|
752
752
|
}, "strip", z.ZodTypeAny, {
|
|
753
|
-
path: string;
|
|
754
753
|
name: string;
|
|
755
|
-
}, {
|
|
756
754
|
path: string;
|
|
755
|
+
}, {
|
|
757
756
|
name: string;
|
|
757
|
+
path: string;
|
|
758
758
|
}>;
|
|
759
759
|
}, "strip", z.ZodTypeAny, {
|
|
760
760
|
roomId: {
|
|
761
|
-
path: string;
|
|
762
761
|
name: string;
|
|
762
|
+
path: string;
|
|
763
763
|
};
|
|
764
764
|
}, {
|
|
765
765
|
roomId: {
|
|
766
|
-
path: string;
|
|
767
766
|
name: string;
|
|
767
|
+
path: string;
|
|
768
768
|
};
|
|
769
769
|
}>, "many">>;
|
|
770
770
|
Options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -772,12 +772,12 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
772
772
|
name: z.ZodString;
|
|
773
773
|
path: z.ZodString;
|
|
774
774
|
}, "strip", z.ZodTypeAny, {
|
|
775
|
-
path: string;
|
|
776
775
|
name: string;
|
|
776
|
+
path: string;
|
|
777
777
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
778
778
|
}, {
|
|
779
|
-
path: string;
|
|
780
779
|
name: string;
|
|
780
|
+
path: string;
|
|
781
781
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
782
782
|
}>, "many">>;
|
|
783
783
|
isDnDProject: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -804,8 +804,8 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
804
804
|
}, "strip", z.ZodTypeAny, {
|
|
805
805
|
name: string;
|
|
806
806
|
resourceType: "GMFolder";
|
|
807
|
-
resourceVersion: string;
|
|
808
807
|
folderPath: string;
|
|
808
|
+
resourceVersion: string;
|
|
809
809
|
tags?: string[] | undefined;
|
|
810
810
|
order?: number | undefined;
|
|
811
811
|
}, {
|
|
@@ -842,11 +842,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
842
842
|
name: z.ZodString;
|
|
843
843
|
path: z.ZodString;
|
|
844
844
|
}, "strip", z.ZodTypeAny, {
|
|
845
|
-
path: string;
|
|
846
845
|
name: string;
|
|
847
|
-
}, {
|
|
848
846
|
path: string;
|
|
847
|
+
}, {
|
|
849
848
|
name: string;
|
|
849
|
+
path: string;
|
|
850
850
|
}>>>;
|
|
851
851
|
isScaled: z.ZodDefault<z.ZodBoolean>;
|
|
852
852
|
customOptions: z.ZodOptional<z.ZodString>;
|
|
@@ -866,11 +866,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
866
866
|
name: z.ZodString;
|
|
867
867
|
path: z.ZodString;
|
|
868
868
|
}, "strip", z.ZodTypeAny, {
|
|
869
|
-
path: string;
|
|
870
869
|
name: string;
|
|
871
|
-
}, {
|
|
872
870
|
path: string;
|
|
871
|
+
}, {
|
|
873
872
|
name: string;
|
|
873
|
+
path: string;
|
|
874
874
|
}>>>;
|
|
875
875
|
isScaled: z.ZodDefault<z.ZodBoolean>;
|
|
876
876
|
customOptions: z.ZodOptional<z.ZodString>;
|
|
@@ -890,11 +890,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
890
890
|
name: z.ZodString;
|
|
891
891
|
path: z.ZodString;
|
|
892
892
|
}, "strip", z.ZodTypeAny, {
|
|
893
|
-
path: string;
|
|
894
893
|
name: string;
|
|
895
|
-
}, {
|
|
896
894
|
path: string;
|
|
895
|
+
}, {
|
|
897
896
|
name: string;
|
|
897
|
+
path: string;
|
|
898
898
|
}>>>;
|
|
899
899
|
isScaled: z.ZodDefault<z.ZodBoolean>;
|
|
900
900
|
customOptions: z.ZodOptional<z.ZodString>;
|
|
@@ -961,23 +961,23 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
961
961
|
name: z.ZodString;
|
|
962
962
|
path: z.ZodString;
|
|
963
963
|
}, "strip", z.ZodTypeAny, {
|
|
964
|
-
path: string;
|
|
965
964
|
name: string;
|
|
966
|
-
}, {
|
|
967
965
|
path: string;
|
|
966
|
+
}, {
|
|
968
967
|
name: string;
|
|
968
|
+
path: string;
|
|
969
969
|
}>;
|
|
970
970
|
order: z.ZodOptional<z.ZodNumber>;
|
|
971
971
|
}, "strip", z.ZodTypeAny, {
|
|
972
972
|
id: {
|
|
973
|
-
path: string;
|
|
974
973
|
name: string;
|
|
974
|
+
path: string;
|
|
975
975
|
};
|
|
976
976
|
order?: number | undefined;
|
|
977
977
|
}, {
|
|
978
978
|
id: {
|
|
979
|
-
path: string;
|
|
980
979
|
name: string;
|
|
980
|
+
path: string;
|
|
981
981
|
};
|
|
982
982
|
order?: number | undefined;
|
|
983
983
|
}>, "many">>;
|
|
@@ -987,21 +987,21 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
987
987
|
/** rooms/{name}/{name}.yy */
|
|
988
988
|
path: z.ZodString;
|
|
989
989
|
}, "strip", z.ZodTypeAny, {
|
|
990
|
-
path: string;
|
|
991
990
|
name: string;
|
|
992
|
-
}, {
|
|
993
991
|
path: string;
|
|
992
|
+
}, {
|
|
994
993
|
name: string;
|
|
994
|
+
path: string;
|
|
995
995
|
}>;
|
|
996
996
|
}, "strip", z.ZodTypeAny, {
|
|
997
997
|
roomId: {
|
|
998
|
-
path: string;
|
|
999
998
|
name: string;
|
|
999
|
+
path: string;
|
|
1000
1000
|
};
|
|
1001
1001
|
}, {
|
|
1002
1002
|
roomId: {
|
|
1003
|
-
path: string;
|
|
1004
1003
|
name: string;
|
|
1004
|
+
path: string;
|
|
1005
1005
|
};
|
|
1006
1006
|
}>, "many">>;
|
|
1007
1007
|
Options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1009,12 +1009,12 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1009
1009
|
name: z.ZodString;
|
|
1010
1010
|
path: z.ZodString;
|
|
1011
1011
|
}, "strip", z.ZodTypeAny, {
|
|
1012
|
-
path: string;
|
|
1013
1012
|
name: string;
|
|
1013
|
+
path: string;
|
|
1014
1014
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
1015
1015
|
}, {
|
|
1016
|
-
path: string;
|
|
1017
1016
|
name: string;
|
|
1017
|
+
path: string;
|
|
1018
1018
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
1019
1019
|
}>, "many">>;
|
|
1020
1020
|
isDnDProject: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1041,8 +1041,8 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1041
1041
|
}, "strip", z.ZodTypeAny, {
|
|
1042
1042
|
name: string;
|
|
1043
1043
|
resourceType: "GMFolder";
|
|
1044
|
-
resourceVersion: string;
|
|
1045
1044
|
folderPath: string;
|
|
1045
|
+
resourceVersion: string;
|
|
1046
1046
|
tags?: string[] | undefined;
|
|
1047
1047
|
order?: number | undefined;
|
|
1048
1048
|
}, {
|
|
@@ -1079,11 +1079,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1079
1079
|
name: z.ZodString;
|
|
1080
1080
|
path: z.ZodString;
|
|
1081
1081
|
}, "strip", z.ZodTypeAny, {
|
|
1082
|
-
path: string;
|
|
1083
1082
|
name: string;
|
|
1084
|
-
}, {
|
|
1085
1083
|
path: string;
|
|
1084
|
+
}, {
|
|
1086
1085
|
name: string;
|
|
1086
|
+
path: string;
|
|
1087
1087
|
}>>>;
|
|
1088
1088
|
isScaled: z.ZodDefault<z.ZodBoolean>;
|
|
1089
1089
|
customOptions: z.ZodOptional<z.ZodString>;
|
|
@@ -1103,11 +1103,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1103
1103
|
name: z.ZodString;
|
|
1104
1104
|
path: z.ZodString;
|
|
1105
1105
|
}, "strip", z.ZodTypeAny, {
|
|
1106
|
-
path: string;
|
|
1107
1106
|
name: string;
|
|
1108
|
-
}, {
|
|
1109
1107
|
path: string;
|
|
1108
|
+
}, {
|
|
1110
1109
|
name: string;
|
|
1110
|
+
path: string;
|
|
1111
1111
|
}>>>;
|
|
1112
1112
|
isScaled: z.ZodDefault<z.ZodBoolean>;
|
|
1113
1113
|
customOptions: z.ZodOptional<z.ZodString>;
|
|
@@ -1127,11 +1127,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1127
1127
|
name: z.ZodString;
|
|
1128
1128
|
path: z.ZodString;
|
|
1129
1129
|
}, "strip", z.ZodTypeAny, {
|
|
1130
|
-
path: string;
|
|
1131
1130
|
name: string;
|
|
1132
|
-
}, {
|
|
1133
1131
|
path: string;
|
|
1132
|
+
}, {
|
|
1134
1133
|
name: string;
|
|
1134
|
+
path: string;
|
|
1135
1135
|
}>>>;
|
|
1136
1136
|
isScaled: z.ZodDefault<z.ZodBoolean>;
|
|
1137
1137
|
customOptions: z.ZodOptional<z.ZodString>;
|
package/dist/types/utility.d.ts
CHANGED
|
@@ -47,20 +47,20 @@ export declare function yyResourceIdSchemaGenerator(yyType: YyResourceType): z.Z
|
|
|
47
47
|
/** Object resource path, e.g. "objects/{name}/{name}.yy" */
|
|
48
48
|
path: z.ZodString;
|
|
49
49
|
}, "strip", z.ZodTypeAny, {
|
|
50
|
-
path: string;
|
|
51
50
|
name: string;
|
|
52
|
-
}, {
|
|
53
51
|
path: string;
|
|
52
|
+
}, {
|
|
54
53
|
name: string;
|
|
55
|
-
}>, {
|
|
56
54
|
path: string;
|
|
55
|
+
}>, {
|
|
57
56
|
name: string;
|
|
58
|
-
}, {
|
|
59
57
|
path: string;
|
|
58
|
+
}, {
|
|
60
59
|
name: string;
|
|
61
|
-
}>, {
|
|
62
60
|
path: string;
|
|
61
|
+
}>, {
|
|
63
62
|
name: string;
|
|
63
|
+
path: string;
|
|
64
64
|
}, unknown>;
|
|
65
65
|
export declare function yyIsNewFormat<T>(yyData: T): yyData is T & {
|
|
66
66
|
'%Name': string;
|