@mbler/mcx-core 0.0.7-alpha.r1 → 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.7-alpha.r1",
3
+ "version": "0.0.7-alpha.r2",
4
4
  "description": "a DSL compiler of mcx",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {