@bscotch/yy 1.0.2 → 2.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/LICENSE.md +1 -1
- package/dist/Yy.d.ts +96 -96
- package/dist/Yy.parse.d.ts.map +1 -1
- package/dist/Yy.parse.js +0 -10
- package/dist/Yy.parse.js.map +1 -1
- package/dist/Yy.stringify.d.ts.map +1 -1
- package/dist/Yy.stringify.js +39 -52
- package/dist/Yy.stringify.js.map +1 -1
- package/dist/types/YyBase.d.ts +1 -1
- package/dist/types/YyObject.d.ts +4 -4
- package/dist/types/YyRoom.d.ts +37 -37
- package/dist/types/YyRoom.js +3 -3
- package/dist/types/YyRoom.js.map +1 -1
- package/dist/types/YyScript.d.ts +4 -4
- package/dist/types/YySound.d.ts +4 -4
- package/dist/types/YySprite.d.ts +93 -93
- package/dist/types/YySprite.lib.d.ts +1 -1
- package/dist/types/utility.d.ts.map +1 -1
- package/dist/types/utility.js +7 -4
- package/dist/types/utility.js.map +1 -1
- package/package.json +1 -1
package/dist/types/YyScript.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export type YyScript = z.infer<typeof yyScriptSchema>;
|
|
3
3
|
export declare const yyScriptSchema: z.ZodObject<{
|
|
4
|
-
"%Name": z.ZodOptional<z.ZodString>;
|
|
5
4
|
name: z.ZodString;
|
|
6
|
-
|
|
5
|
+
"%Name": z.ZodOptional<z.ZodString>;
|
|
7
6
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
8
7
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9
8
|
parent: z.ZodDefault<z.ZodObject<{
|
|
@@ -16,17 +15,18 @@ export declare const yyScriptSchema: z.ZodObject<{
|
|
|
16
15
|
path: string;
|
|
17
16
|
name: string;
|
|
18
17
|
}>>;
|
|
18
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
19
19
|
isDnD: z.ZodDefault<z.ZodBoolean>;
|
|
20
20
|
isCompatibility: z.ZodDefault<z.ZodBoolean>;
|
|
21
21
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMScript">>;
|
|
22
22
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
23
23
|
name: string;
|
|
24
24
|
resourceType: "GMScript";
|
|
25
|
-
resourceVersion: string;
|
|
26
25
|
parent: {
|
|
27
26
|
path: string;
|
|
28
27
|
name: string;
|
|
29
28
|
};
|
|
29
|
+
resourceVersion: string;
|
|
30
30
|
isDnD: boolean;
|
|
31
31
|
isCompatibility: boolean;
|
|
32
32
|
"%Name"?: string | undefined;
|
|
@@ -35,13 +35,13 @@ export declare const yyScriptSchema: z.ZodObject<{
|
|
|
35
35
|
}, {
|
|
36
36
|
name: string;
|
|
37
37
|
"%Name"?: string | undefined;
|
|
38
|
-
resourceVersion?: string | undefined;
|
|
39
38
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
40
39
|
tags?: string[] | undefined;
|
|
41
40
|
parent?: {
|
|
42
41
|
path: string;
|
|
43
42
|
name: string;
|
|
44
43
|
} | undefined;
|
|
44
|
+
resourceVersion?: string | undefined;
|
|
45
45
|
isDnD?: boolean | undefined;
|
|
46
46
|
isCompatibility?: boolean | undefined;
|
|
47
47
|
resourceType?: "GMScript" | undefined;
|
package/dist/types/YySound.d.ts
CHANGED
|
@@ -20,9 +20,8 @@ export type SoundSampleRate = z.infer<typeof soundSampleRateSchema>;
|
|
|
20
20
|
declare const soundSampleRateSchema: z.ZodUnion<[z.ZodLiteral<5512>, z.ZodLiteral<11025>, z.ZodLiteral<22050>, z.ZodLiteral<32000>, z.ZodLiteral<44100>, z.ZodLiteral<48000>]>;
|
|
21
21
|
export type YySound = z.infer<typeof yySoundSchema>;
|
|
22
22
|
export declare const yySoundSchema: z.ZodObject<{
|
|
23
|
-
"%Name": z.ZodOptional<z.ZodString>;
|
|
24
23
|
name: z.ZodString;
|
|
25
|
-
|
|
24
|
+
"%Name": z.ZodOptional<z.ZodString>;
|
|
26
25
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
27
26
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
28
27
|
parent: z.ZodDefault<z.ZodObject<{
|
|
@@ -35,6 +34,7 @@ export declare const yySoundSchema: z.ZodObject<{
|
|
|
35
34
|
path: string;
|
|
36
35
|
name: string;
|
|
37
36
|
}>>;
|
|
37
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
38
38
|
compression: z.ZodDefault<z.ZodNativeEnum<typeof SoundCompression>>;
|
|
39
39
|
conversionMode: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
40
40
|
volume: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodNumber, number, number | import("./utility.js").FixedNumber>, import("./utility.js").FixedNumber, number | import("./utility.js").FixedNumber>>;
|
|
@@ -60,11 +60,11 @@ export declare const yySoundSchema: z.ZodObject<{
|
|
|
60
60
|
type: SoundChannel;
|
|
61
61
|
name: string;
|
|
62
62
|
resourceType: "GMSound";
|
|
63
|
-
resourceVersion: string;
|
|
64
63
|
parent: {
|
|
65
64
|
path: string;
|
|
66
65
|
name: string;
|
|
67
66
|
};
|
|
67
|
+
resourceVersion: string;
|
|
68
68
|
volume: import("./utility.js").FixedNumber;
|
|
69
69
|
compression: SoundCompression;
|
|
70
70
|
conversionMode: number;
|
|
@@ -85,13 +85,13 @@ export declare const yySoundSchema: z.ZodObject<{
|
|
|
85
85
|
name: string;
|
|
86
86
|
soundFile: string;
|
|
87
87
|
"%Name"?: string | undefined;
|
|
88
|
-
resourceVersion?: string | undefined;
|
|
89
88
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
90
89
|
tags?: string[] | undefined;
|
|
91
90
|
parent?: {
|
|
92
91
|
path: string;
|
|
93
92
|
name: string;
|
|
94
93
|
} | undefined;
|
|
94
|
+
resourceVersion?: string | undefined;
|
|
95
95
|
compression?: SoundCompression | undefined;
|
|
96
96
|
conversionMode?: number | undefined;
|
|
97
97
|
volume?: number | import("./utility.js").FixedNumber | undefined;
|