@mbler/mcx-core 0.0.6 → 0.0.7-alpha.r2
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/index.d.ts
CHANGED
|
@@ -352,7 +352,7 @@ interface ItemComponentOpt {
|
|
|
352
352
|
id: string;
|
|
353
353
|
name: string;
|
|
354
354
|
format: string;
|
|
355
|
-
components: {
|
|
355
|
+
components: Partial<{
|
|
356
356
|
offHand: boolean;
|
|
357
357
|
damage: number;
|
|
358
358
|
DestroyInCreate: boolean;
|
|
@@ -1147,7 +1147,7 @@ interface ItemComponentOpt {
|
|
|
1147
1147
|
*/
|
|
1148
1148
|
value?: number;
|
|
1149
1149
|
};
|
|
1150
|
-
}
|
|
1150
|
+
}>;
|
|
1151
1151
|
}
|
|
1152
1152
|
type JSONValue<T> = T | {
|
|
1153
1153
|
value: T;
|
|
@@ -5,7 +5,7 @@ interface ItemComponentOpt {
|
|
|
5
5
|
id: string;
|
|
6
6
|
name: string;
|
|
7
7
|
format: string;
|
|
8
|
-
components: {
|
|
8
|
+
components: Partial<{
|
|
9
9
|
offHand: boolean;
|
|
10
10
|
damage: number;
|
|
11
11
|
DestroyInCreate: boolean;
|
|
@@ -800,7 +800,7 @@ interface ItemComponentOpt {
|
|
|
800
800
|
*/
|
|
801
801
|
value?: number;
|
|
802
802
|
};
|
|
803
|
-
}
|
|
803
|
+
}>;
|
|
804
804
|
}
|
|
805
805
|
type JSONValue<T> = T | {
|
|
806
806
|
value: T;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mbler/mcx-core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7-alpha.r2",
|
|
4
4
|
"description": "a DSL compiler of mcx",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@babel/generator": "7.28.5",
|
|
27
27
|
"@babel/parser": "7.28.5",
|
|
28
28
|
"@babel/types": "7.28.6",
|
|
29
|
-
"@mbler/mcx-types": "0.0.3-rc.
|
|
29
|
+
"@mbler/mcx-types": "0.0.3-rc.5",
|
|
30
30
|
"@volar/language-core": "^2.4.28",
|
|
31
31
|
"magic-string": "0.30.21",
|
|
32
32
|
"rollup": "4.59.0",
|