@bscotch/yy 0.9.0 → 0.10.1
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 +741 -185
- package/dist/Yy.d.ts.map +1 -1
- package/dist/types/Yyp.d.ts +352 -63
- package/dist/types/Yyp.d.ts.map +1 -1
- package/dist/types/Yyp.js +7 -4
- package/dist/types/Yyp.js.map +1 -1
- package/package.json +6 -6
package/dist/Yy.d.ts
CHANGED
|
@@ -89,16 +89,16 @@ export declare const yySchemas: {
|
|
|
89
89
|
name: z.ZodString;
|
|
90
90
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
91
91
|
folderPath: z.ZodString;
|
|
92
|
-
order: z.
|
|
92
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
93
93
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
|
|
94
94
|
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
|
|
95
95
|
}, "strip", z.ZodTypeAny, {
|
|
96
96
|
name: string;
|
|
97
97
|
resourceType: "GMFolder";
|
|
98
98
|
resourceVersion: "1.0";
|
|
99
|
-
order: number;
|
|
100
99
|
folderPath: string;
|
|
101
100
|
tags?: string[] | undefined;
|
|
101
|
+
order?: number | undefined;
|
|
102
102
|
}, {
|
|
103
103
|
name: string;
|
|
104
104
|
folderPath: string;
|
|
@@ -127,12 +127,7 @@ export declare const yySchemas: {
|
|
|
127
127
|
resourceVersion?: "1.3" | undefined;
|
|
128
128
|
}>, "many">>;
|
|
129
129
|
TextureGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
130
|
-
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
131
|
-
* Stringify an object into a Yy-formatted string,
|
|
132
|
-
* including trailing commas. If a schema is provided,
|
|
133
|
-
* it will be used to validate and populate defaults before
|
|
134
|
-
* stringifying.
|
|
135
|
-
*/
|
|
130
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
136
131
|
name: z.ZodString;
|
|
137
132
|
groupParent: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
138
133
|
name: z.ZodString;
|
|
@@ -228,52 +223,151 @@ export declare const yySchemas: {
|
|
|
228
223
|
}, {
|
|
229
224
|
IDEVersion: string;
|
|
230
225
|
}>;
|
|
226
|
+
LibraryEmitters: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
231
227
|
resourceVersion: z.ZodString;
|
|
232
228
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
233
|
-
}, "
|
|
234
|
-
name:
|
|
235
|
-
resourceType: "GMProject"
|
|
236
|
-
|
|
237
|
-
|
|
229
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
230
|
+
name: z.ZodString;
|
|
231
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMProject">>;
|
|
232
|
+
resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
233
|
+
id: z.ZodObject<{
|
|
234
|
+
name: z.ZodString;
|
|
235
|
+
path: z.ZodString;
|
|
236
|
+
}, "strip", z.ZodTypeAny, {
|
|
237
|
+
path: string;
|
|
238
|
+
name: string;
|
|
239
|
+
}, {
|
|
240
|
+
path: string;
|
|
241
|
+
name: string;
|
|
242
|
+
}>;
|
|
243
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
244
|
+
}, "strip", z.ZodTypeAny, {
|
|
238
245
|
id: {
|
|
239
246
|
path: string;
|
|
240
247
|
name: string;
|
|
241
248
|
};
|
|
242
249
|
order?: number | undefined;
|
|
243
|
-
}
|
|
244
|
-
|
|
250
|
+
}, {
|
|
251
|
+
id: {
|
|
252
|
+
path: string;
|
|
253
|
+
name: string;
|
|
254
|
+
};
|
|
255
|
+
order?: number | undefined;
|
|
256
|
+
}>, "many">>;
|
|
257
|
+
RoomOrderNodes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
258
|
+
roomId: z.ZodObject<{
|
|
259
|
+
name: z.ZodString;
|
|
260
|
+
path: z.ZodString;
|
|
261
|
+
}, "strip", z.ZodTypeAny, {
|
|
262
|
+
path: string;
|
|
263
|
+
name: string;
|
|
264
|
+
}, {
|
|
265
|
+
path: string;
|
|
266
|
+
name: string;
|
|
267
|
+
}>;
|
|
268
|
+
}, "strip", z.ZodTypeAny, {
|
|
245
269
|
roomId: {
|
|
246
270
|
path: string;
|
|
247
271
|
name: string;
|
|
248
272
|
};
|
|
249
|
-
}
|
|
250
|
-
|
|
273
|
+
}, {
|
|
274
|
+
roomId: {
|
|
275
|
+
path: string;
|
|
276
|
+
name: string;
|
|
277
|
+
};
|
|
278
|
+
}>, "many">>;
|
|
279
|
+
Options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
280
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
281
|
+
name: z.ZodString;
|
|
282
|
+
path: z.ZodString;
|
|
283
|
+
}, "strip", z.ZodTypeAny, {
|
|
251
284
|
path: string;
|
|
252
285
|
name: string;
|
|
253
286
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
287
|
+
}, {
|
|
288
|
+
path: string;
|
|
289
|
+
name: string;
|
|
290
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
291
|
+
}>, "many">>;
|
|
292
|
+
isDnDProject: z.ZodOptional<z.ZodBoolean>;
|
|
293
|
+
defaultScriptType: z.ZodDefault<z.ZodNumber>;
|
|
294
|
+
isEcma: z.ZodDefault<z.ZodBoolean>;
|
|
295
|
+
tutorialPath: z.ZodOptional<z.ZodString>;
|
|
296
|
+
configs: z.ZodObject<{
|
|
297
|
+
name: z.ZodDefault<z.ZodLiteral<"Default">>;
|
|
298
|
+
children: z.ZodDefault<z.ZodArray<Schema<import("./types/Yyp.js").YypConfig, z.ZodTypeDef, import("./types/Yyp.js").YypConfig>, "many">>;
|
|
299
|
+
}, "strip", z.ZodTypeAny, {
|
|
258
300
|
name: "Default";
|
|
259
301
|
children: import("./types/Yyp.js").YypConfig[];
|
|
260
|
-
}
|
|
261
|
-
|
|
302
|
+
}, {
|
|
303
|
+
name?: "Default" | undefined;
|
|
304
|
+
children?: import("./types/Yyp.js").YypConfig[] | undefined;
|
|
305
|
+
}>;
|
|
306
|
+
Folders: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
307
|
+
name: z.ZodString;
|
|
308
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
309
|
+
folderPath: z.ZodString;
|
|
310
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
311
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
|
|
312
|
+
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
|
|
313
|
+
}, "strip", z.ZodTypeAny, {
|
|
262
314
|
name: string;
|
|
263
315
|
resourceType: "GMFolder";
|
|
264
316
|
resourceVersion: "1.0";
|
|
265
|
-
order: number;
|
|
266
317
|
folderPath: string;
|
|
267
318
|
tags?: string[] | undefined;
|
|
268
|
-
|
|
269
|
-
|
|
319
|
+
order?: number | undefined;
|
|
320
|
+
}, {
|
|
321
|
+
name: string;
|
|
322
|
+
folderPath: string;
|
|
323
|
+
tags?: string[] | undefined;
|
|
324
|
+
order?: number | undefined;
|
|
325
|
+
resourceType?: "GMFolder" | undefined;
|
|
326
|
+
resourceVersion?: "1.0" | undefined;
|
|
327
|
+
}>, "many">>;
|
|
328
|
+
AudioGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
329
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
330
|
+
name: z.ZodString;
|
|
331
|
+
targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
332
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
|
|
333
|
+
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
|
|
334
|
+
}, "strip", z.ZodTypeAny, {
|
|
270
335
|
name: string;
|
|
271
336
|
resourceType: "GMAudioGroup";
|
|
272
337
|
resourceVersion: "1.3";
|
|
273
338
|
targets: bigint;
|
|
274
339
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
275
|
-
}
|
|
276
|
-
|
|
340
|
+
}, {
|
|
341
|
+
name: string;
|
|
342
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
343
|
+
targets?: number | bigint | undefined;
|
|
344
|
+
resourceType?: "GMAudioGroup" | undefined;
|
|
345
|
+
resourceVersion?: "1.3" | undefined;
|
|
346
|
+
}>, "many">>;
|
|
347
|
+
TextureGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
348
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
349
|
+
name: z.ZodString;
|
|
350
|
+
groupParent: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
351
|
+
name: z.ZodString;
|
|
352
|
+
path: z.ZodString;
|
|
353
|
+
}, "strip", z.ZodTypeAny, {
|
|
354
|
+
path: string;
|
|
355
|
+
name: string;
|
|
356
|
+
}, {
|
|
357
|
+
path: string;
|
|
358
|
+
name: string;
|
|
359
|
+
}>>>;
|
|
360
|
+
isScaled: z.ZodDefault<z.ZodBoolean>;
|
|
361
|
+
compressFormat: z.ZodOptional<z.ZodString>;
|
|
362
|
+
autocrop: z.ZodDefault<z.ZodBoolean>;
|
|
363
|
+
border: z.ZodDefault<z.ZodNumber>;
|
|
364
|
+
mipsToGenerate: z.ZodDefault<z.ZodNumber>;
|
|
365
|
+
targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
366
|
+
loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
|
|
367
|
+
directory: z.ZodOptional<z.ZodString>;
|
|
368
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
|
|
369
|
+
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
|
|
370
|
+
}, "strip", z.ZodTypeAny, {
|
|
277
371
|
name: string;
|
|
278
372
|
resourceType: "GMTextureGroup";
|
|
279
373
|
resourceVersion: "1.3";
|
|
@@ -290,8 +384,38 @@ export declare const yySchemas: {
|
|
|
290
384
|
compressFormat?: string | undefined;
|
|
291
385
|
loadType?: "default" | "dynamicpages" | undefined;
|
|
292
386
|
directory?: string | undefined;
|
|
293
|
-
}
|
|
294
|
-
|
|
387
|
+
}, {
|
|
388
|
+
name: string;
|
|
389
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
390
|
+
groupParent?: {
|
|
391
|
+
path: string;
|
|
392
|
+
name: string;
|
|
393
|
+
} | null | undefined;
|
|
394
|
+
isScaled?: boolean | undefined;
|
|
395
|
+
compressFormat?: string | undefined;
|
|
396
|
+
autocrop?: boolean | undefined;
|
|
397
|
+
border?: number | undefined;
|
|
398
|
+
mipsToGenerate?: number | undefined;
|
|
399
|
+
targets?: number | bigint | undefined;
|
|
400
|
+
loadType?: "default" | "dynamicpages" | undefined;
|
|
401
|
+
directory?: string | undefined;
|
|
402
|
+
resourceType?: "GMTextureGroup" | undefined;
|
|
403
|
+
resourceVersion?: "1.3" | undefined;
|
|
404
|
+
}>, "many">>;
|
|
405
|
+
IncludedFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
406
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
407
|
+
CopyToMask: z.ZodString;
|
|
408
|
+
}, "strip", z.ZodTypeAny, {
|
|
409
|
+
CopyToMask: string;
|
|
410
|
+
}, {
|
|
411
|
+
CopyToMask: string;
|
|
412
|
+
}>>>;
|
|
413
|
+
name: z.ZodString;
|
|
414
|
+
CopyToMask: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
415
|
+
filePath: z.ZodString;
|
|
416
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
|
|
417
|
+
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
|
|
418
|
+
}, "strip", z.ZodTypeAny, {
|
|
295
419
|
name: string;
|
|
296
420
|
resourceType: "GMIncludedFile";
|
|
297
421
|
resourceVersion: "1.0";
|
|
@@ -300,62 +424,185 @@ export declare const yySchemas: {
|
|
|
300
424
|
ConfigValues?: Record<string, {
|
|
301
425
|
CopyToMask: string;
|
|
302
426
|
}> | undefined;
|
|
303
|
-
}
|
|
304
|
-
|
|
427
|
+
}, {
|
|
428
|
+
name: string;
|
|
429
|
+
filePath: string;
|
|
430
|
+
ConfigValues?: Record<string, {
|
|
431
|
+
CopyToMask: string;
|
|
432
|
+
}> | undefined;
|
|
433
|
+
CopyToMask?: number | bigint | undefined;
|
|
434
|
+
resourceType?: "GMIncludedFile" | undefined;
|
|
435
|
+
resourceVersion?: "1.0" | undefined;
|
|
436
|
+
}>, "many">>;
|
|
437
|
+
MetaData: z.ZodObject<{
|
|
438
|
+
IDEVersion: z.ZodString;
|
|
439
|
+
}, "strip", z.ZodTypeAny, {
|
|
305
440
|
IDEVersion: string;
|
|
306
|
-
}
|
|
307
|
-
isDnDProject?: boolean | undefined;
|
|
308
|
-
tutorialPath?: string | undefined;
|
|
309
|
-
tags?: string[] | undefined;
|
|
310
|
-
}, {
|
|
311
|
-
name: string;
|
|
312
|
-
resourceVersion: string;
|
|
313
|
-
configs: {
|
|
314
|
-
name?: "Default" | undefined;
|
|
315
|
-
children?: import("./types/Yyp.js").YypConfig[] | undefined;
|
|
316
|
-
};
|
|
317
|
-
MetaData: {
|
|
441
|
+
}, {
|
|
318
442
|
IDEVersion: string;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
|
|
443
|
+
}>;
|
|
444
|
+
LibraryEmitters: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
445
|
+
resourceVersion: z.ZodString;
|
|
446
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
447
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
448
|
+
name: z.ZodString;
|
|
449
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMProject">>;
|
|
450
|
+
resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
451
|
+
id: z.ZodObject<{
|
|
452
|
+
name: z.ZodString;
|
|
453
|
+
path: z.ZodString;
|
|
454
|
+
}, "strip", z.ZodTypeAny, {
|
|
455
|
+
path: string;
|
|
456
|
+
name: string;
|
|
457
|
+
}, {
|
|
458
|
+
path: string;
|
|
459
|
+
name: string;
|
|
460
|
+
}>;
|
|
461
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
462
|
+
}, "strip", z.ZodTypeAny, {
|
|
322
463
|
id: {
|
|
323
464
|
path: string;
|
|
324
465
|
name: string;
|
|
325
466
|
};
|
|
326
467
|
order?: number | undefined;
|
|
327
|
-
}
|
|
328
|
-
|
|
468
|
+
}, {
|
|
469
|
+
id: {
|
|
470
|
+
path: string;
|
|
471
|
+
name: string;
|
|
472
|
+
};
|
|
473
|
+
order?: number | undefined;
|
|
474
|
+
}>, "many">>;
|
|
475
|
+
RoomOrderNodes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
476
|
+
roomId: z.ZodObject<{
|
|
477
|
+
name: z.ZodString;
|
|
478
|
+
path: z.ZodString;
|
|
479
|
+
}, "strip", z.ZodTypeAny, {
|
|
480
|
+
path: string;
|
|
481
|
+
name: string;
|
|
482
|
+
}, {
|
|
483
|
+
path: string;
|
|
484
|
+
name: string;
|
|
485
|
+
}>;
|
|
486
|
+
}, "strip", z.ZodTypeAny, {
|
|
329
487
|
roomId: {
|
|
330
488
|
path: string;
|
|
331
489
|
name: string;
|
|
332
490
|
};
|
|
333
|
-
}
|
|
334
|
-
|
|
491
|
+
}, {
|
|
492
|
+
roomId: {
|
|
493
|
+
path: string;
|
|
494
|
+
name: string;
|
|
495
|
+
};
|
|
496
|
+
}>, "many">>;
|
|
497
|
+
Options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
498
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
499
|
+
name: z.ZodString;
|
|
500
|
+
path: z.ZodString;
|
|
501
|
+
}, "strip", z.ZodTypeAny, {
|
|
335
502
|
path: string;
|
|
336
503
|
name: string;
|
|
337
504
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
505
|
+
}, {
|
|
506
|
+
path: string;
|
|
507
|
+
name: string;
|
|
508
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
509
|
+
}>, "many">>;
|
|
510
|
+
isDnDProject: z.ZodOptional<z.ZodBoolean>;
|
|
511
|
+
defaultScriptType: z.ZodDefault<z.ZodNumber>;
|
|
512
|
+
isEcma: z.ZodDefault<z.ZodBoolean>;
|
|
513
|
+
tutorialPath: z.ZodOptional<z.ZodString>;
|
|
514
|
+
configs: z.ZodObject<{
|
|
515
|
+
name: z.ZodDefault<z.ZodLiteral<"Default">>;
|
|
516
|
+
children: z.ZodDefault<z.ZodArray<Schema<import("./types/Yyp.js").YypConfig, z.ZodTypeDef, import("./types/Yyp.js").YypConfig>, "many">>;
|
|
517
|
+
}, "strip", z.ZodTypeAny, {
|
|
518
|
+
name: "Default";
|
|
519
|
+
children: import("./types/Yyp.js").YypConfig[];
|
|
520
|
+
}, {
|
|
521
|
+
name?: "Default" | undefined;
|
|
522
|
+
children?: import("./types/Yyp.js").YypConfig[] | undefined;
|
|
523
|
+
}>;
|
|
524
|
+
Folders: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
525
|
+
name: z.ZodString;
|
|
526
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
527
|
+
folderPath: z.ZodString;
|
|
528
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
529
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
|
|
530
|
+
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
|
|
531
|
+
}, "strip", z.ZodTypeAny, {
|
|
532
|
+
name: string;
|
|
533
|
+
resourceType: "GMFolder";
|
|
534
|
+
resourceVersion: "1.0";
|
|
535
|
+
folderPath: string;
|
|
536
|
+
tags?: string[] | undefined;
|
|
537
|
+
order?: number | undefined;
|
|
538
|
+
}, {
|
|
344
539
|
name: string;
|
|
345
540
|
folderPath: string;
|
|
346
541
|
tags?: string[] | undefined;
|
|
347
542
|
order?: number | undefined;
|
|
348
543
|
resourceType?: "GMFolder" | undefined;
|
|
349
544
|
resourceVersion?: "1.0" | undefined;
|
|
350
|
-
}
|
|
351
|
-
AudioGroups
|
|
545
|
+
}>, "many">>;
|
|
546
|
+
AudioGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
547
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
548
|
+
name: z.ZodString;
|
|
549
|
+
targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
550
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
|
|
551
|
+
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
|
|
552
|
+
}, "strip", z.ZodTypeAny, {
|
|
553
|
+
name: string;
|
|
554
|
+
resourceType: "GMAudioGroup";
|
|
555
|
+
resourceVersion: "1.3";
|
|
556
|
+
targets: bigint;
|
|
557
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
558
|
+
}, {
|
|
352
559
|
name: string;
|
|
353
560
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
354
561
|
targets?: number | bigint | undefined;
|
|
355
562
|
resourceType?: "GMAudioGroup" | undefined;
|
|
356
563
|
resourceVersion?: "1.3" | undefined;
|
|
357
|
-
}
|
|
358
|
-
TextureGroups
|
|
564
|
+
}>, "many">>;
|
|
565
|
+
TextureGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
566
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
567
|
+
name: z.ZodString;
|
|
568
|
+
groupParent: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
569
|
+
name: z.ZodString;
|
|
570
|
+
path: z.ZodString;
|
|
571
|
+
}, "strip", z.ZodTypeAny, {
|
|
572
|
+
path: string;
|
|
573
|
+
name: string;
|
|
574
|
+
}, {
|
|
575
|
+
path: string;
|
|
576
|
+
name: string;
|
|
577
|
+
}>>>;
|
|
578
|
+
isScaled: z.ZodDefault<z.ZodBoolean>;
|
|
579
|
+
compressFormat: z.ZodOptional<z.ZodString>;
|
|
580
|
+
autocrop: z.ZodDefault<z.ZodBoolean>;
|
|
581
|
+
border: z.ZodDefault<z.ZodNumber>;
|
|
582
|
+
mipsToGenerate: z.ZodDefault<z.ZodNumber>;
|
|
583
|
+
targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
584
|
+
loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
|
|
585
|
+
directory: z.ZodOptional<z.ZodString>;
|
|
586
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
|
|
587
|
+
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
|
|
588
|
+
}, "strip", z.ZodTypeAny, {
|
|
589
|
+
name: string;
|
|
590
|
+
resourceType: "GMTextureGroup";
|
|
591
|
+
resourceVersion: "1.3";
|
|
592
|
+
targets: bigint;
|
|
593
|
+
groupParent: {
|
|
594
|
+
path: string;
|
|
595
|
+
name: string;
|
|
596
|
+
} | null;
|
|
597
|
+
isScaled: boolean;
|
|
598
|
+
autocrop: boolean;
|
|
599
|
+
border: number;
|
|
600
|
+
mipsToGenerate: number;
|
|
601
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
602
|
+
compressFormat?: string | undefined;
|
|
603
|
+
loadType?: "default" | "dynamicpages" | undefined;
|
|
604
|
+
directory?: string | undefined;
|
|
605
|
+
}, {
|
|
359
606
|
name: string;
|
|
360
607
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
361
608
|
groupParent?: {
|
|
@@ -372,8 +619,30 @@ export declare const yySchemas: {
|
|
|
372
619
|
directory?: string | undefined;
|
|
373
620
|
resourceType?: "GMTextureGroup" | undefined;
|
|
374
621
|
resourceVersion?: "1.3" | undefined;
|
|
375
|
-
}
|
|
376
|
-
IncludedFiles
|
|
622
|
+
}>, "many">>;
|
|
623
|
+
IncludedFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
624
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
625
|
+
CopyToMask: z.ZodString;
|
|
626
|
+
}, "strip", z.ZodTypeAny, {
|
|
627
|
+
CopyToMask: string;
|
|
628
|
+
}, {
|
|
629
|
+
CopyToMask: string;
|
|
630
|
+
}>>>;
|
|
631
|
+
name: z.ZodString;
|
|
632
|
+
CopyToMask: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
633
|
+
filePath: z.ZodString;
|
|
634
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
|
|
635
|
+
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
|
|
636
|
+
}, "strip", z.ZodTypeAny, {
|
|
637
|
+
name: string;
|
|
638
|
+
resourceType: "GMIncludedFile";
|
|
639
|
+
resourceVersion: "1.0";
|
|
640
|
+
CopyToMask: bigint;
|
|
641
|
+
filePath: string;
|
|
642
|
+
ConfigValues?: Record<string, {
|
|
643
|
+
CopyToMask: string;
|
|
644
|
+
}> | undefined;
|
|
645
|
+
}, {
|
|
377
646
|
name: string;
|
|
378
647
|
filePath: string;
|
|
379
648
|
ConfigValues?: Record<string, {
|
|
@@ -382,9 +651,18 @@ export declare const yySchemas: {
|
|
|
382
651
|
CopyToMask?: number | bigint | undefined;
|
|
383
652
|
resourceType?: "GMIncludedFile" | undefined;
|
|
384
653
|
resourceVersion?: "1.0" | undefined;
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
|
|
654
|
+
}>, "many">>;
|
|
655
|
+
MetaData: z.ZodObject<{
|
|
656
|
+
IDEVersion: z.ZodString;
|
|
657
|
+
}, "strip", z.ZodTypeAny, {
|
|
658
|
+
IDEVersion: string;
|
|
659
|
+
}, {
|
|
660
|
+
IDEVersion: string;
|
|
661
|
+
}>;
|
|
662
|
+
LibraryEmitters: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
663
|
+
resourceVersion: z.ZodString;
|
|
664
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
665
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
388
666
|
readonly animcurves: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
389
667
|
readonly extensions: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
390
668
|
readonly fonts: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -3427,26 +3705,244 @@ export declare const yySchemas: {
|
|
|
3427
3705
|
parent?: {
|
|
3428
3706
|
path: string;
|
|
3429
3707
|
name: string;
|
|
3430
|
-
} | undefined;
|
|
3431
|
-
};
|
|
3432
|
-
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
3433
|
-
tags?: string[] | undefined;
|
|
3434
|
-
swatchColours?: unknown;
|
|
3435
|
-
nineSlice?: unknown;
|
|
3436
|
-
}, unknown>;
|
|
3437
|
-
readonly tilesets: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
3438
|
-
readonly timelines: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
3439
|
-
};
|
|
3440
|
-
export type YyDiff = {
|
|
3441
|
-
[path: string]: {
|
|
3442
|
-
left?: any;
|
|
3443
|
-
right?: any;
|
|
3444
|
-
};
|
|
3445
|
-
};
|
|
3446
|
-
export declare class Yy {
|
|
3447
|
-
protected constructor();
|
|
3448
|
-
static readonly schemas: {
|
|
3449
|
-
readonly project: z.ZodObject<{
|
|
3708
|
+
} | undefined;
|
|
3709
|
+
};
|
|
3710
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
3711
|
+
tags?: string[] | undefined;
|
|
3712
|
+
swatchColours?: unknown;
|
|
3713
|
+
nineSlice?: unknown;
|
|
3714
|
+
}, unknown>;
|
|
3715
|
+
readonly tilesets: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
3716
|
+
readonly timelines: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
3717
|
+
};
|
|
3718
|
+
export type YyDiff = {
|
|
3719
|
+
[path: string]: {
|
|
3720
|
+
left?: any;
|
|
3721
|
+
right?: any;
|
|
3722
|
+
};
|
|
3723
|
+
};
|
|
3724
|
+
export declare class Yy {
|
|
3725
|
+
protected constructor();
|
|
3726
|
+
static readonly schemas: {
|
|
3727
|
+
readonly project: z.ZodObject<{
|
|
3728
|
+
name: z.ZodString;
|
|
3729
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMProject">>;
|
|
3730
|
+
resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3731
|
+
id: z.ZodObject<{
|
|
3732
|
+
name: z.ZodString;
|
|
3733
|
+
path: z.ZodString;
|
|
3734
|
+
}, "strip", z.ZodTypeAny, {
|
|
3735
|
+
path: string;
|
|
3736
|
+
name: string;
|
|
3737
|
+
}, {
|
|
3738
|
+
path: string;
|
|
3739
|
+
name: string;
|
|
3740
|
+
}>;
|
|
3741
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
3742
|
+
}, "strip", z.ZodTypeAny, {
|
|
3743
|
+
id: {
|
|
3744
|
+
path: string;
|
|
3745
|
+
name: string;
|
|
3746
|
+
};
|
|
3747
|
+
order?: number | undefined;
|
|
3748
|
+
}, {
|
|
3749
|
+
id: {
|
|
3750
|
+
path: string;
|
|
3751
|
+
name: string;
|
|
3752
|
+
};
|
|
3753
|
+
order?: number | undefined;
|
|
3754
|
+
}>, "many">>;
|
|
3755
|
+
RoomOrderNodes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3756
|
+
roomId: z.ZodObject<{
|
|
3757
|
+
name: z.ZodString;
|
|
3758
|
+
path: z.ZodString;
|
|
3759
|
+
}, "strip", z.ZodTypeAny, {
|
|
3760
|
+
path: string;
|
|
3761
|
+
name: string;
|
|
3762
|
+
}, {
|
|
3763
|
+
path: string;
|
|
3764
|
+
name: string;
|
|
3765
|
+
}>;
|
|
3766
|
+
}, "strip", z.ZodTypeAny, {
|
|
3767
|
+
roomId: {
|
|
3768
|
+
path: string;
|
|
3769
|
+
name: string;
|
|
3770
|
+
};
|
|
3771
|
+
}, {
|
|
3772
|
+
roomId: {
|
|
3773
|
+
path: string;
|
|
3774
|
+
name: string;
|
|
3775
|
+
};
|
|
3776
|
+
}>, "many">>;
|
|
3777
|
+
Options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3778
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3779
|
+
name: z.ZodString;
|
|
3780
|
+
path: z.ZodString;
|
|
3781
|
+
}, "strip", z.ZodTypeAny, {
|
|
3782
|
+
path: string;
|
|
3783
|
+
name: string;
|
|
3784
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
3785
|
+
}, {
|
|
3786
|
+
path: string;
|
|
3787
|
+
name: string;
|
|
3788
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
3789
|
+
}>, "many">>;
|
|
3790
|
+
isDnDProject: z.ZodOptional<z.ZodBoolean>;
|
|
3791
|
+
defaultScriptType: z.ZodDefault<z.ZodNumber>;
|
|
3792
|
+
isEcma: z.ZodDefault<z.ZodBoolean>;
|
|
3793
|
+
tutorialPath: z.ZodOptional<z.ZodString>;
|
|
3794
|
+
configs: z.ZodObject<{
|
|
3795
|
+
name: z.ZodDefault<z.ZodLiteral<"Default">>;
|
|
3796
|
+
children: z.ZodDefault<z.ZodArray<Schema<import("./types/Yyp.js").YypConfig, z.ZodTypeDef, import("./types/Yyp.js").YypConfig>, "many">>;
|
|
3797
|
+
}, "strip", z.ZodTypeAny, {
|
|
3798
|
+
name: "Default";
|
|
3799
|
+
children: import("./types/Yyp.js").YypConfig[];
|
|
3800
|
+
}, {
|
|
3801
|
+
name?: "Default" | undefined;
|
|
3802
|
+
children?: import("./types/Yyp.js").YypConfig[] | undefined;
|
|
3803
|
+
}>;
|
|
3804
|
+
Folders: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3805
|
+
name: z.ZodString;
|
|
3806
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3807
|
+
folderPath: z.ZodString;
|
|
3808
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
3809
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
|
|
3810
|
+
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
|
|
3811
|
+
}, "strip", z.ZodTypeAny, {
|
|
3812
|
+
name: string;
|
|
3813
|
+
resourceType: "GMFolder";
|
|
3814
|
+
resourceVersion: "1.0";
|
|
3815
|
+
folderPath: string;
|
|
3816
|
+
tags?: string[] | undefined;
|
|
3817
|
+
order?: number | undefined;
|
|
3818
|
+
}, {
|
|
3819
|
+
name: string;
|
|
3820
|
+
folderPath: string;
|
|
3821
|
+
tags?: string[] | undefined;
|
|
3822
|
+
order?: number | undefined;
|
|
3823
|
+
resourceType?: "GMFolder" | undefined;
|
|
3824
|
+
resourceVersion?: "1.0" | undefined;
|
|
3825
|
+
}>, "many">>;
|
|
3826
|
+
AudioGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3827
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3828
|
+
name: z.ZodString;
|
|
3829
|
+
targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
3830
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
|
|
3831
|
+
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
|
|
3832
|
+
}, "strip", z.ZodTypeAny, {
|
|
3833
|
+
name: string;
|
|
3834
|
+
resourceType: "GMAudioGroup";
|
|
3835
|
+
resourceVersion: "1.3";
|
|
3836
|
+
targets: bigint;
|
|
3837
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
3838
|
+
}, {
|
|
3839
|
+
name: string;
|
|
3840
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
3841
|
+
targets?: number | bigint | undefined;
|
|
3842
|
+
resourceType?: "GMAudioGroup" | undefined;
|
|
3843
|
+
resourceVersion?: "1.3" | undefined;
|
|
3844
|
+
}>, "many">>;
|
|
3845
|
+
TextureGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3846
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3847
|
+
name: z.ZodString;
|
|
3848
|
+
groupParent: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
3849
|
+
name: z.ZodString;
|
|
3850
|
+
path: z.ZodString;
|
|
3851
|
+
}, "strip", z.ZodTypeAny, {
|
|
3852
|
+
path: string;
|
|
3853
|
+
name: string;
|
|
3854
|
+
}, {
|
|
3855
|
+
path: string;
|
|
3856
|
+
name: string;
|
|
3857
|
+
}>>>;
|
|
3858
|
+
isScaled: z.ZodDefault<z.ZodBoolean>;
|
|
3859
|
+
compressFormat: z.ZodOptional<z.ZodString>;
|
|
3860
|
+
autocrop: z.ZodDefault<z.ZodBoolean>;
|
|
3861
|
+
border: z.ZodDefault<z.ZodNumber>;
|
|
3862
|
+
mipsToGenerate: z.ZodDefault<z.ZodNumber>;
|
|
3863
|
+
targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
3864
|
+
loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
|
|
3865
|
+
directory: z.ZodOptional<z.ZodString>;
|
|
3866
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
|
|
3867
|
+
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
|
|
3868
|
+
}, "strip", z.ZodTypeAny, {
|
|
3869
|
+
name: string;
|
|
3870
|
+
resourceType: "GMTextureGroup";
|
|
3871
|
+
resourceVersion: "1.3";
|
|
3872
|
+
targets: bigint;
|
|
3873
|
+
groupParent: {
|
|
3874
|
+
path: string;
|
|
3875
|
+
name: string;
|
|
3876
|
+
} | null;
|
|
3877
|
+
isScaled: boolean;
|
|
3878
|
+
autocrop: boolean;
|
|
3879
|
+
border: number;
|
|
3880
|
+
mipsToGenerate: number;
|
|
3881
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
3882
|
+
compressFormat?: string | undefined;
|
|
3883
|
+
loadType?: "default" | "dynamicpages" | undefined;
|
|
3884
|
+
directory?: string | undefined;
|
|
3885
|
+
}, {
|
|
3886
|
+
name: string;
|
|
3887
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
3888
|
+
groupParent?: {
|
|
3889
|
+
path: string;
|
|
3890
|
+
name: string;
|
|
3891
|
+
} | null | undefined;
|
|
3892
|
+
isScaled?: boolean | undefined;
|
|
3893
|
+
compressFormat?: string | undefined;
|
|
3894
|
+
autocrop?: boolean | undefined;
|
|
3895
|
+
border?: number | undefined;
|
|
3896
|
+
mipsToGenerate?: number | undefined;
|
|
3897
|
+
targets?: number | bigint | undefined;
|
|
3898
|
+
loadType?: "default" | "dynamicpages" | undefined;
|
|
3899
|
+
directory?: string | undefined;
|
|
3900
|
+
resourceType?: "GMTextureGroup" | undefined;
|
|
3901
|
+
resourceVersion?: "1.3" | undefined;
|
|
3902
|
+
}>, "many">>;
|
|
3903
|
+
IncludedFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3904
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3905
|
+
CopyToMask: z.ZodString;
|
|
3906
|
+
}, "strip", z.ZodTypeAny, {
|
|
3907
|
+
CopyToMask: string;
|
|
3908
|
+
}, {
|
|
3909
|
+
CopyToMask: string;
|
|
3910
|
+
}>>>;
|
|
3911
|
+
name: z.ZodString;
|
|
3912
|
+
CopyToMask: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
3913
|
+
filePath: z.ZodString;
|
|
3914
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
|
|
3915
|
+
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
|
|
3916
|
+
}, "strip", z.ZodTypeAny, {
|
|
3917
|
+
name: string;
|
|
3918
|
+
resourceType: "GMIncludedFile";
|
|
3919
|
+
resourceVersion: "1.0";
|
|
3920
|
+
CopyToMask: bigint;
|
|
3921
|
+
filePath: string;
|
|
3922
|
+
ConfigValues?: Record<string, {
|
|
3923
|
+
CopyToMask: string;
|
|
3924
|
+
}> | undefined;
|
|
3925
|
+
}, {
|
|
3926
|
+
name: string;
|
|
3927
|
+
filePath: string;
|
|
3928
|
+
ConfigValues?: Record<string, {
|
|
3929
|
+
CopyToMask: string;
|
|
3930
|
+
}> | undefined;
|
|
3931
|
+
CopyToMask?: number | bigint | undefined;
|
|
3932
|
+
resourceType?: "GMIncludedFile" | undefined;
|
|
3933
|
+
resourceVersion?: "1.0" | undefined;
|
|
3934
|
+
}>, "many">>;
|
|
3935
|
+
MetaData: z.ZodObject<{
|
|
3936
|
+
IDEVersion: z.ZodString;
|
|
3937
|
+
}, "strip", z.ZodTypeAny, {
|
|
3938
|
+
IDEVersion: string;
|
|
3939
|
+
}, {
|
|
3940
|
+
IDEVersion: string;
|
|
3941
|
+
}>;
|
|
3942
|
+
LibraryEmitters: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
3943
|
+
resourceVersion: z.ZodString;
|
|
3944
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3945
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3450
3946
|
name: z.ZodString;
|
|
3451
3947
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMProject">>;
|
|
3452
3948
|
resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -3527,16 +4023,16 @@ export declare class Yy {
|
|
|
3527
4023
|
name: z.ZodString;
|
|
3528
4024
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3529
4025
|
folderPath: z.ZodString;
|
|
3530
|
-
order: z.
|
|
4026
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
3531
4027
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
|
|
3532
4028
|
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
|
|
3533
4029
|
}, "strip", z.ZodTypeAny, {
|
|
3534
4030
|
name: string;
|
|
3535
4031
|
resourceType: "GMFolder";
|
|
3536
4032
|
resourceVersion: "1.0";
|
|
3537
|
-
order: number;
|
|
3538
4033
|
folderPath: string;
|
|
3539
4034
|
tags?: string[] | undefined;
|
|
4035
|
+
order?: number | undefined;
|
|
3540
4036
|
}, {
|
|
3541
4037
|
name: string;
|
|
3542
4038
|
folderPath: string;
|
|
@@ -3565,12 +4061,7 @@ export declare class Yy {
|
|
|
3565
4061
|
resourceVersion?: "1.3" | undefined;
|
|
3566
4062
|
}>, "many">>;
|
|
3567
4063
|
TextureGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3568
|
-
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3569
|
-
* Stringify an object into a Yy-formatted string,
|
|
3570
|
-
* including trailing commas. If a schema is provided,
|
|
3571
|
-
* it will be used to validate and populate defaults before
|
|
3572
|
-
* stringifying.
|
|
3573
|
-
*/
|
|
4064
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3574
4065
|
name: z.ZodString;
|
|
3575
4066
|
groupParent: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
3576
4067
|
name: z.ZodString;
|
|
@@ -3666,52 +4157,151 @@ export declare class Yy {
|
|
|
3666
4157
|
}, {
|
|
3667
4158
|
IDEVersion: string;
|
|
3668
4159
|
}>;
|
|
4160
|
+
LibraryEmitters: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
3669
4161
|
resourceVersion: z.ZodString;
|
|
3670
4162
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3671
|
-
}, "
|
|
3672
|
-
name:
|
|
3673
|
-
resourceType: "GMProject"
|
|
3674
|
-
|
|
3675
|
-
|
|
4163
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4164
|
+
name: z.ZodString;
|
|
4165
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMProject">>;
|
|
4166
|
+
resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4167
|
+
id: z.ZodObject<{
|
|
4168
|
+
name: z.ZodString;
|
|
4169
|
+
path: z.ZodString;
|
|
4170
|
+
}, "strip", z.ZodTypeAny, {
|
|
4171
|
+
path: string;
|
|
4172
|
+
name: string;
|
|
4173
|
+
}, {
|
|
4174
|
+
path: string;
|
|
4175
|
+
name: string;
|
|
4176
|
+
}>;
|
|
4177
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
4178
|
+
}, "strip", z.ZodTypeAny, {
|
|
3676
4179
|
id: {
|
|
3677
4180
|
path: string;
|
|
3678
4181
|
name: string;
|
|
3679
4182
|
};
|
|
3680
4183
|
order?: number | undefined;
|
|
3681
|
-
}
|
|
3682
|
-
|
|
4184
|
+
}, {
|
|
4185
|
+
id: {
|
|
4186
|
+
path: string;
|
|
4187
|
+
name: string;
|
|
4188
|
+
};
|
|
4189
|
+
order?: number | undefined;
|
|
4190
|
+
}>, "many">>;
|
|
4191
|
+
RoomOrderNodes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4192
|
+
roomId: z.ZodObject<{
|
|
4193
|
+
name: z.ZodString;
|
|
4194
|
+
path: z.ZodString;
|
|
4195
|
+
}, "strip", z.ZodTypeAny, {
|
|
4196
|
+
path: string;
|
|
4197
|
+
name: string;
|
|
4198
|
+
}, {
|
|
4199
|
+
path: string;
|
|
4200
|
+
name: string;
|
|
4201
|
+
}>;
|
|
4202
|
+
}, "strip", z.ZodTypeAny, {
|
|
3683
4203
|
roomId: {
|
|
3684
4204
|
path: string;
|
|
3685
4205
|
name: string;
|
|
3686
4206
|
};
|
|
3687
|
-
}
|
|
3688
|
-
|
|
4207
|
+
}, {
|
|
4208
|
+
roomId: {
|
|
4209
|
+
path: string;
|
|
4210
|
+
name: string;
|
|
4211
|
+
};
|
|
4212
|
+
}>, "many">>;
|
|
4213
|
+
Options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4214
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
4215
|
+
name: z.ZodString;
|
|
4216
|
+
path: z.ZodString;
|
|
4217
|
+
}, "strip", z.ZodTypeAny, {
|
|
3689
4218
|
path: string;
|
|
3690
4219
|
name: string;
|
|
3691
4220
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
3692
|
-
}
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
4221
|
+
}, {
|
|
4222
|
+
path: string;
|
|
4223
|
+
name: string;
|
|
4224
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
4225
|
+
}>, "many">>;
|
|
4226
|
+
isDnDProject: z.ZodOptional<z.ZodBoolean>;
|
|
4227
|
+
defaultScriptType: z.ZodDefault<z.ZodNumber>;
|
|
4228
|
+
isEcma: z.ZodDefault<z.ZodBoolean>;
|
|
4229
|
+
tutorialPath: z.ZodOptional<z.ZodString>;
|
|
4230
|
+
configs: z.ZodObject<{
|
|
4231
|
+
name: z.ZodDefault<z.ZodLiteral<"Default">>;
|
|
4232
|
+
children: z.ZodDefault<z.ZodArray<Schema<import("./types/Yyp.js").YypConfig, z.ZodTypeDef, import("./types/Yyp.js").YypConfig>, "many">>;
|
|
4233
|
+
}, "strip", z.ZodTypeAny, {
|
|
3696
4234
|
name: "Default";
|
|
3697
4235
|
children: import("./types/Yyp.js").YypConfig[];
|
|
3698
|
-
}
|
|
3699
|
-
|
|
4236
|
+
}, {
|
|
4237
|
+
name?: "Default" | undefined;
|
|
4238
|
+
children?: import("./types/Yyp.js").YypConfig[] | undefined;
|
|
4239
|
+
}>;
|
|
4240
|
+
Folders: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4241
|
+
name: z.ZodString;
|
|
4242
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4243
|
+
folderPath: z.ZodString;
|
|
4244
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
4245
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
|
|
4246
|
+
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
|
|
4247
|
+
}, "strip", z.ZodTypeAny, {
|
|
3700
4248
|
name: string;
|
|
3701
4249
|
resourceType: "GMFolder";
|
|
3702
4250
|
resourceVersion: "1.0";
|
|
3703
|
-
order: number;
|
|
3704
4251
|
folderPath: string;
|
|
3705
4252
|
tags?: string[] | undefined;
|
|
3706
|
-
|
|
3707
|
-
|
|
4253
|
+
order?: number | undefined;
|
|
4254
|
+
}, {
|
|
4255
|
+
name: string;
|
|
4256
|
+
folderPath: string;
|
|
4257
|
+
tags?: string[] | undefined;
|
|
4258
|
+
order?: number | undefined;
|
|
4259
|
+
resourceType?: "GMFolder" | undefined;
|
|
4260
|
+
resourceVersion?: "1.0" | undefined;
|
|
4261
|
+
}>, "many">>;
|
|
4262
|
+
AudioGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4263
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
4264
|
+
name: z.ZodString;
|
|
4265
|
+
targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
4266
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
|
|
4267
|
+
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
|
|
4268
|
+
}, "strip", z.ZodTypeAny, {
|
|
3708
4269
|
name: string;
|
|
3709
4270
|
resourceType: "GMAudioGroup";
|
|
3710
4271
|
resourceVersion: "1.3";
|
|
3711
4272
|
targets: bigint;
|
|
3712
4273
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
3713
|
-
}
|
|
3714
|
-
|
|
4274
|
+
}, {
|
|
4275
|
+
name: string;
|
|
4276
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
4277
|
+
targets?: number | bigint | undefined;
|
|
4278
|
+
resourceType?: "GMAudioGroup" | undefined;
|
|
4279
|
+
resourceVersion?: "1.3" | undefined;
|
|
4280
|
+
}>, "many">>;
|
|
4281
|
+
TextureGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4282
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
4283
|
+
name: z.ZodString;
|
|
4284
|
+
groupParent: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
4285
|
+
name: z.ZodString;
|
|
4286
|
+
path: z.ZodString;
|
|
4287
|
+
}, "strip", z.ZodTypeAny, {
|
|
4288
|
+
path: string;
|
|
4289
|
+
name: string;
|
|
4290
|
+
}, {
|
|
4291
|
+
path: string;
|
|
4292
|
+
name: string;
|
|
4293
|
+
}>>>;
|
|
4294
|
+
isScaled: z.ZodDefault<z.ZodBoolean>;
|
|
4295
|
+
compressFormat: z.ZodOptional<z.ZodString>;
|
|
4296
|
+
autocrop: z.ZodDefault<z.ZodBoolean>;
|
|
4297
|
+
border: z.ZodDefault<z.ZodNumber>;
|
|
4298
|
+
mipsToGenerate: z.ZodDefault<z.ZodNumber>;
|
|
4299
|
+
targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
4300
|
+
loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
|
|
4301
|
+
directory: z.ZodOptional<z.ZodString>;
|
|
4302
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
|
|
4303
|
+
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
|
|
4304
|
+
}, "strip", z.ZodTypeAny, {
|
|
3715
4305
|
name: string;
|
|
3716
4306
|
resourceType: "GMTextureGroup";
|
|
3717
4307
|
resourceVersion: "1.3";
|
|
@@ -3728,72 +4318,7 @@ export declare class Yy {
|
|
|
3728
4318
|
compressFormat?: string | undefined;
|
|
3729
4319
|
loadType?: "default" | "dynamicpages" | undefined;
|
|
3730
4320
|
directory?: string | undefined;
|
|
3731
|
-
}
|
|
3732
|
-
IncludedFiles: {
|
|
3733
|
-
name: string;
|
|
3734
|
-
resourceType: "GMIncludedFile";
|
|
3735
|
-
resourceVersion: "1.0";
|
|
3736
|
-
CopyToMask: bigint;
|
|
3737
|
-
filePath: string;
|
|
3738
|
-
ConfigValues?: Record<string, {
|
|
3739
|
-
CopyToMask: string;
|
|
3740
|
-
}> | undefined;
|
|
3741
|
-
}[];
|
|
3742
|
-
MetaData: {
|
|
3743
|
-
IDEVersion: string;
|
|
3744
|
-
};
|
|
3745
|
-
isDnDProject?: boolean | undefined;
|
|
3746
|
-
tutorialPath?: string | undefined;
|
|
3747
|
-
tags?: string[] | undefined;
|
|
3748
|
-
}, {
|
|
3749
|
-
name: string;
|
|
3750
|
-
resourceVersion: string;
|
|
3751
|
-
configs: {
|
|
3752
|
-
name?: "Default" | undefined;
|
|
3753
|
-
children?: import("./types/Yyp.js").YypConfig[] | undefined;
|
|
3754
|
-
};
|
|
3755
|
-
MetaData: {
|
|
3756
|
-
IDEVersion: string;
|
|
3757
|
-
};
|
|
3758
|
-
resourceType?: "GMProject" | undefined;
|
|
3759
|
-
resources?: {
|
|
3760
|
-
id: {
|
|
3761
|
-
path: string;
|
|
3762
|
-
name: string;
|
|
3763
|
-
};
|
|
3764
|
-
order?: number | undefined;
|
|
3765
|
-
}[] | undefined;
|
|
3766
|
-
RoomOrderNodes?: {
|
|
3767
|
-
roomId: {
|
|
3768
|
-
path: string;
|
|
3769
|
-
name: string;
|
|
3770
|
-
};
|
|
3771
|
-
}[] | undefined;
|
|
3772
|
-
Options?: {
|
|
3773
|
-
path: string;
|
|
3774
|
-
name: string;
|
|
3775
|
-
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
3776
|
-
}[] | undefined;
|
|
3777
|
-
isDnDProject?: boolean | undefined;
|
|
3778
|
-
defaultScriptType?: number | undefined;
|
|
3779
|
-
isEcma?: boolean | undefined;
|
|
3780
|
-
tutorialPath?: string | undefined;
|
|
3781
|
-
Folders?: {
|
|
3782
|
-
name: string;
|
|
3783
|
-
folderPath: string;
|
|
3784
|
-
tags?: string[] | undefined;
|
|
3785
|
-
order?: number | undefined;
|
|
3786
|
-
resourceType?: "GMFolder" | undefined;
|
|
3787
|
-
resourceVersion?: "1.0" | undefined;
|
|
3788
|
-
}[] | undefined;
|
|
3789
|
-
AudioGroups?: {
|
|
3790
|
-
name: string;
|
|
3791
|
-
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
3792
|
-
targets?: number | bigint | undefined;
|
|
3793
|
-
resourceType?: "GMAudioGroup" | undefined;
|
|
3794
|
-
resourceVersion?: "1.3" | undefined;
|
|
3795
|
-
}[] | undefined;
|
|
3796
|
-
TextureGroups?: {
|
|
4321
|
+
}, {
|
|
3797
4322
|
name: string;
|
|
3798
4323
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
3799
4324
|
groupParent?: {
|
|
@@ -3810,8 +4335,30 @@ export declare class Yy {
|
|
|
3810
4335
|
directory?: string | undefined;
|
|
3811
4336
|
resourceType?: "GMTextureGroup" | undefined;
|
|
3812
4337
|
resourceVersion?: "1.3" | undefined;
|
|
3813
|
-
}
|
|
3814
|
-
IncludedFiles
|
|
4338
|
+
}>, "many">>;
|
|
4339
|
+
IncludedFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4340
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4341
|
+
CopyToMask: z.ZodString;
|
|
4342
|
+
}, "strip", z.ZodTypeAny, {
|
|
4343
|
+
CopyToMask: string;
|
|
4344
|
+
}, {
|
|
4345
|
+
CopyToMask: string;
|
|
4346
|
+
}>>>;
|
|
4347
|
+
name: z.ZodString;
|
|
4348
|
+
CopyToMask: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
4349
|
+
filePath: z.ZodString;
|
|
4350
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
|
|
4351
|
+
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
|
|
4352
|
+
}, "strip", z.ZodTypeAny, {
|
|
4353
|
+
name: string;
|
|
4354
|
+
resourceType: "GMIncludedFile";
|
|
4355
|
+
resourceVersion: "1.0";
|
|
4356
|
+
CopyToMask: bigint;
|
|
4357
|
+
filePath: string;
|
|
4358
|
+
ConfigValues?: Record<string, {
|
|
4359
|
+
CopyToMask: string;
|
|
4360
|
+
}> | undefined;
|
|
4361
|
+
}, {
|
|
3815
4362
|
name: string;
|
|
3816
4363
|
filePath: string;
|
|
3817
4364
|
ConfigValues?: Record<string, {
|
|
@@ -3820,9 +4367,18 @@ export declare class Yy {
|
|
|
3820
4367
|
CopyToMask?: number | bigint | undefined;
|
|
3821
4368
|
resourceType?: "GMIncludedFile" | undefined;
|
|
3822
4369
|
resourceVersion?: "1.0" | undefined;
|
|
3823
|
-
}
|
|
3824
|
-
|
|
3825
|
-
|
|
4370
|
+
}>, "many">>;
|
|
4371
|
+
MetaData: z.ZodObject<{
|
|
4372
|
+
IDEVersion: z.ZodString;
|
|
4373
|
+
}, "strip", z.ZodTypeAny, {
|
|
4374
|
+
IDEVersion: string;
|
|
4375
|
+
}, {
|
|
4376
|
+
IDEVersion: string;
|
|
4377
|
+
}>;
|
|
4378
|
+
LibraryEmitters: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
4379
|
+
resourceVersion: z.ZodString;
|
|
4380
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4381
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
3826
4382
|
readonly animcurves: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
3827
4383
|
readonly extensions: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
3828
4384
|
readonly fonts: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|