hella-types 0.0.11 → 0.0.13

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
@@ -26009,6 +26009,7 @@ export declare const EnemyZod: z.ZodObject<{
26009
26009
  isInvalidKilled: z.ZodBoolean;
26010
26010
  overrideKillCntInfos: z.ZodRecord<z.ZodString, z.ZodNumber>;
26011
26011
  hideInHandbook: z.ZodBoolean;
26012
+ hideInStage: z.ZodBoolean;
26012
26013
  abilityList: z.ZodArray<z.ZodObject<{
26013
26014
  text: z.ZodString;
26014
26015
  textFormat: z.ZodEnum<["NORMAL", "SILENCE", "TITLE"]>;
@@ -26035,6 +26036,7 @@ export declare const EnemyZod: z.ZodObject<{
26035
26036
  isInvalidKilled: boolean;
26036
26037
  overrideKillCntInfos: Record<string, number>;
26037
26038
  hideInHandbook: boolean;
26039
+ hideInStage: boolean;
26038
26040
  abilityList: {
26039
26041
  text: string;
26040
26042
  textFormat: "NORMAL" | "SILENCE" | "TITLE";
@@ -26055,6 +26057,7 @@ export declare const EnemyZod: z.ZodObject<{
26055
26057
  isInvalidKilled: boolean;
26056
26058
  overrideKillCntInfos: Record<string, number>;
26057
26059
  hideInHandbook: boolean;
26060
+ hideInStage: boolean;
26058
26061
  abilityList: {
26059
26062
  text: string;
26060
26063
  textFormat: "NORMAL" | "SILENCE" | "TITLE";
@@ -27735,6 +27738,7 @@ export declare const EnemyZod: z.ZodObject<{
27735
27738
  isInvalidKilled: boolean;
27736
27739
  overrideKillCntInfos: Record<string, number>;
27737
27740
  hideInHandbook: boolean;
27741
+ hideInStage: boolean;
27738
27742
  abilityList: {
27739
27743
  text: string;
27740
27744
  textFormat: "NORMAL" | "SILENCE" | "TITLE";
@@ -27933,6 +27937,7 @@ export declare const EnemyZod: z.ZodObject<{
27933
27937
  isInvalidKilled: boolean;
27934
27938
  overrideKillCntInfos: Record<string, number>;
27935
27939
  hideInHandbook: boolean;
27940
+ hideInStage: boolean;
27936
27941
  abilityList: {
27937
27942
  text: string;
27938
27943
  textFormat: "NORMAL" | "SILENCE" | "TITLE";
@@ -28227,6 +28232,16 @@ export declare const ItemZod: z.ZodObject<{
28227
28232
  formulaId: string;
28228
28233
  roomType: string;
28229
28234
  }>, "many">;
28235
+ voucherRelateList: z.ZodNullable<z.ZodArray<z.ZodObject<{
28236
+ voucherId: z.ZodString;
28237
+ voucherItemType: z.ZodString;
28238
+ }, "strict", z.ZodTypeAny, {
28239
+ voucherId: string;
28240
+ voucherItemType: string;
28241
+ }, {
28242
+ voucherId: string;
28243
+ voucherItemType: string;
28244
+ }>, "many">>;
28230
28245
  }, "strict", z.ZodTypeAny, {
28231
28246
  name: string;
28232
28247
  description: string | null;
@@ -28249,6 +28264,10 @@ export declare const ItemZod: z.ZodObject<{
28249
28264
  formulaId: string;
28250
28265
  roomType: string;
28251
28266
  }[];
28267
+ voucherRelateList: {
28268
+ voucherId: string;
28269
+ voucherItemType: string;
28270
+ }[] | null;
28252
28271
  }, {
28253
28272
  name: string;
28254
28273
  description: string | null;
@@ -28271,6 +28290,10 @@ export declare const ItemZod: z.ZodObject<{
28271
28290
  formulaId: string;
28272
28291
  roomType: string;
28273
28292
  }[];
28293
+ voucherRelateList: {
28294
+ voucherId: string;
28295
+ voucherItemType: string;
28296
+ }[] | null;
28274
28297
  }>;
28275
28298
  formula: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
28276
28299
  formulaId: z.ZodString;
@@ -28504,6 +28527,10 @@ export declare const ItemZod: z.ZodObject<{
28504
28527
  formulaId: string;
28505
28528
  roomType: string;
28506
28529
  }[];
28530
+ voucherRelateList: {
28531
+ voucherId: string;
28532
+ voucherItemType: string;
28533
+ }[] | null;
28507
28534
  };
28508
28535
  formula: (({
28509
28536
  count: number;
@@ -28633,6 +28660,10 @@ export declare const ItemZod: z.ZodObject<{
28633
28660
  formulaId: string;
28634
28661
  roomType: string;
28635
28662
  }[];
28663
+ voucherRelateList: {
28664
+ voucherId: string;
28665
+ voucherItemType: string;
28666
+ }[] | null;
28636
28667
  };
28637
28668
  formula: (({
28638
28669
  count: number;
@@ -61712,7 +61743,7 @@ export declare const StageZod: z.ZodObject<{
61712
61743
  difficulty: z.ZodString;
61713
61744
  performanceStageFlag: z.ZodString;
61714
61745
  diffGroup: z.ZodString;
61715
- unlockCondition: z.ZodNullable<z.ZodObject<{
61746
+ unlockCondition: z.ZodArray<z.ZodObject<{
61716
61747
  stageId: z.ZodString;
61717
61748
  completeState: z.ZodString;
61718
61749
  }, "strict", z.ZodTypeAny, {
@@ -61721,7 +61752,7 @@ export declare const StageZod: z.ZodObject<{
61721
61752
  }, {
61722
61753
  stageId: string;
61723
61754
  completeState: string;
61724
- }>>;
61755
+ }>, "many">;
61725
61756
  stageId: z.ZodString;
61726
61757
  levelId: z.ZodString;
61727
61758
  zoneId: z.ZodString;
@@ -61906,7 +61937,7 @@ export declare const StageZod: z.ZodObject<{
61906
61937
  unlockCondition: {
61907
61938
  stageId: string;
61908
61939
  completeState: string;
61909
- } | null;
61940
+ }[];
61910
61941
  zoneId: string;
61911
61942
  stageType: string;
61912
61943
  performanceStageFlag: string;
@@ -61993,7 +62024,7 @@ export declare const StageZod: z.ZodObject<{
61993
62024
  unlockCondition: {
61994
62025
  stageId: string;
61995
62026
  completeState: string;
61996
- } | null;
62027
+ }[];
61997
62028
  zoneId: string;
61998
62029
  stageType: string;
61999
62030
  performanceStageFlag: string;
@@ -67466,7 +67497,7 @@ export declare const StageZod: z.ZodObject<{
67466
67497
  unlockCondition: {
67467
67498
  stageId: string;
67468
67499
  completeState: string;
67469
- } | null;
67500
+ }[];
67470
67501
  zoneId: string;
67471
67502
  stageType: string;
67472
67503
  performanceStageFlag: string;
@@ -68245,7 +68276,7 @@ export declare const StageZod: z.ZodObject<{
68245
68276
  unlockCondition: {
68246
68277
  stageId: string;
68247
68278
  completeState: string;
68248
- } | null;
68279
+ }[];
68249
68280
  zoneId: string;
68250
68281
  stageType: string;
68251
68282
  performanceStageFlag: string;
package/dist/index.js CHANGED
@@ -502,6 +502,7 @@ exports.EnemyZod = z.strictObject({
502
502
  isInvalidKilled: z.boolean(),
503
503
  overrideKillCntInfos: z.record(z.string(), z.number()),
504
504
  hideInHandbook: z.boolean(),
505
+ hideInStage: z.boolean(),
505
506
  abilityList: z.array(z.strictObject({
506
507
  text: z.string(),
507
508
  textFormat: z.enum(['NORMAL', 'SILENCE', 'TITLE'])
@@ -565,6 +566,10 @@ exports.ItemZod = z.strictObject({
565
566
  roomType: z.string(),
566
567
  formulaId: z.string(),
567
568
  })),
569
+ voucherRelateList: z.array(z.strictObject({
570
+ voucherId: z.string(),
571
+ voucherItemType: z.string(),
572
+ })).nullable(),
568
573
  }),
569
574
  formula: z.union([ManufactFormulaZod, WorkshopFormulaZod]).nullable(),
570
575
  });
@@ -741,10 +746,10 @@ exports.StageZod = z.strictObject({
741
746
  difficulty: z.string(),
742
747
  performanceStageFlag: z.string(),
743
748
  diffGroup: z.string(),
744
- unlockCondition: z.strictObject({
749
+ unlockCondition: z.array(z.strictObject({
745
750
  stageId: z.string(),
746
751
  completeState: z.string(),
747
- }).nullable(),
752
+ })),
748
753
  stageId: z.string(),
749
754
  levelId: z.string(),
750
755
  zoneId: z.string(),
package/package.json CHANGED
@@ -1,11 +1,14 @@
1
1
  {
2
2
  "name": "hella-types",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "",
7
7
  "license": "MIT",
8
8
  "description": "",
9
+ "scripts": {
10
+ "build": "tsc"
11
+ },
9
12
  "dependencies": {
10
13
  "zod": "^3.22.4"
11
14
  },
@@ -16,4 +19,4 @@
16
19
  "type": "git",
17
20
  "url": "https://github.com/Awedtan/HellaTypes.git"
18
21
  }
19
- }
22
+ }
package/src/index.ts CHANGED
@@ -803,10 +803,12 @@ export const StageZod = z.strictObject({
803
803
  difficulty: z.string(),
804
804
  performanceStageFlag: z.string(),
805
805
  diffGroup: z.string(),
806
- unlockCondition: z.strictObject({
807
- stageId: z.string(),
808
- completeState: z.string(),
809
- }).nullable(),
806
+ unlockCondition: z.array(
807
+ z.strictObject({
808
+ stageId: z.string(),
809
+ completeState: z.string(),
810
+ })
811
+ ),
810
812
  stageId: z.string(),
811
813
  levelId: z.string(),
812
814
  zoneId: z.string(),