hella-types 0.2.13 → 0.2.15

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.
Files changed (4) hide show
  1. package/dist/index.d.ts +47174 -41575
  2. package/dist/index.js +165 -142
  3. package/package.json +1 -1
  4. package/src/index.ts +158 -136
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OperatorZod = exports.DeployableZod = exports.StageZod = exports.SkinZod = exports.SkillZod = exports.SandboxActZod = exports.RogueThemeZod = exports.ParadoxZod = exports.ModuleZod = exports.ItemZod = exports.GridRangeZod = exports.GameEventZod = exports.GachaPoolZod = exports.EnemyZod = exports.DefinitionZod = exports.CCSeasonZod = exports.CCStageZod = exports.CCStageLegacyZod = exports.BaseZod = void 0;
3
+ exports.OperatorZod = exports.DeployableZod = exports.StageZod = exports.SkinZod = exports.SkillZod = exports.SandboxActZod = exports.SandboxWeatherZod = exports.SandboxStageZod = exports.SandboxItemZod = exports.RogueThemeZod = exports.RogueVariationZod = exports.RogueStageZod = exports.RogueRelicZod = exports.ParadoxZod = exports.ModuleZod = exports.ItemZod = exports.GridRangeZod = exports.GameEventZod = exports.GachaPoolZod = exports.EnemyZod = exports.DefinitionZod = exports.CCSeasonZod = exports.CCStageZod = exports.CCStageLegacyZod = exports.BaseZod = void 0;
4
4
  var z = require("zod");
5
5
  var BlackboardZod = z.strictObject({
6
6
  key: z.string(),
@@ -284,6 +284,13 @@ var StageRouteZod = z.strictObject({
284
284
  visitEveryNodeCenter: z.boolean(),
285
285
  visitEveryCheckPoint: z.boolean().optional(),
286
286
  });
287
+ var StageRune = z.strictObject({
288
+ difficultyMask: z.union([z.string(), z.number()]),
289
+ key: z.string(),
290
+ professionMask: z.union([z.string(), z.number()]).optional(),
291
+ buildableMask: z.union([z.string(), z.number()]),
292
+ blackboard: z.array(BlackboardZod),
293
+ });
287
294
  var StageDataZod = z.strictObject({
288
295
  options: z.strictObject({
289
296
  characterLimit: z.number(),
@@ -330,14 +337,13 @@ var StageDataZod = z.strictObject({
330
337
  height: z.number().optional(),
331
338
  }),
332
339
  tilesDisallowToLocate: z.tuple([]),
333
- runes: z.array(z.strictObject({
334
- difficultyMask: z.union([z.string(), z.number()]),
335
- key: z.string(),
336
- professionMask: z.union([z.string(), z.number()]).optional(),
337
- buildableMask: z.union([z.string(), z.number()]),
338
- blackboard: z.array(BlackboardZod),
339
- })).nullable(),
340
- optionalRunes: z.array(z.null()).nullable().optional(),
340
+ runes: z.array(StageRune).nullable(),
341
+ optionalRunes: z.strictObject({
342
+ rune_level1_1: z.array(StageRune),
343
+ rune_level1_2: z.array(StageRune),
344
+ rune_level2_1: z.array(StageRune),
345
+ rune_level2_2: z.array(StageRune),
346
+ }).nullable().optional(),
341
347
  globalBuffs: z.array(z.strictObject({
342
348
  prefabKey: z.string(),
343
349
  blackboard: z.array(BlackboardZod).nullable(),
@@ -429,130 +435,6 @@ var StageDataZod = z.strictObject({
429
435
  runtimeData: z.null().optional(),
430
436
  cameraPlugin: z.string().nullable().optional(),
431
437
  });
432
- var RogueRelicZod = z.strictObject({
433
- id: z.string(),
434
- name: z.string(),
435
- description: z.string().nullable(),
436
- usage: z.string(),
437
- obtainApproach: z.string(),
438
- iconId: z.string(),
439
- type: z.string(),
440
- subType: z.string(),
441
- rarity: z.string(),
442
- value: z.number(),
443
- sortId: z.number(),
444
- canSacrifice: z.boolean(),
445
- unlockCondDesc: z.string().nullable(),
446
- });
447
- var RogueStageZod = z.strictObject({
448
- excel: z.strictObject({
449
- id: z.string(),
450
- linkedStageId: z.string(),
451
- levelId: z.string(),
452
- levelReplaceIds: z.array(z.string()),
453
- code: z.string(),
454
- name: z.string(),
455
- loadingPicId: z.string(),
456
- description: z.string(),
457
- eliteDesc: z.string().nullable(),
458
- isBoss: z.number(),
459
- isElite: z.number(),
460
- difficulty: z.string(),
461
- capsulePool: z.string().nullable(),
462
- capsuleProb: z.number(),
463
- vutresProb: z.array(z.number()),
464
- boxProb: z.array(z.number()),
465
- specialNodeId: z.string().nullable(),
466
- }),
467
- levels: StageDataZod,
468
- });
469
- var RogueVariationZod = z.strictObject({
470
- id: z.string(),
471
- type: z.string(),
472
- outerName: z.string(),
473
- innerName: z.string(),
474
- functionDesc: z.string(),
475
- desc: z.string(),
476
- iconId: z.string().nullable(),
477
- sound: z.string().nullable(),
478
- });
479
- var SandboxItemZod = z.strictObject({
480
- craft: z.strictObject({
481
- itemId: z.string(),
482
- type: z.string(),
483
- buildingUnlockDesc: z.string(),
484
- materialItems: z.record(z.string(), z.number()),
485
- upgradeItems: z.record(z.string(), z.number()).nullable(),
486
- outputRatio: z.number(),
487
- withdrawRatio: z.number(),
488
- repairCost: z.number(),
489
- isHidden: z.boolean(),
490
- craftGroupId: z.string(),
491
- recipeLevel: z.number(),
492
- }).nullable(),
493
- drink: z.strictObject({
494
- id: z.string(),
495
- type: z.string(),
496
- count: z.number(),
497
- }).nullable(),
498
- foodMat: z.strictObject({
499
- id: z.string(),
500
- type: z.string(),
501
- attribute: z.string(),
502
- variantType: z.string(),
503
- bonusDuration: z.number(),
504
- buffDesc: z.string().nullable(),
505
- sortId: z.number(),
506
- }).nullable(),
507
- food: z.strictObject({
508
- id: z.string(),
509
- attributes: z.array(z.string()),
510
- recipes: z.array(z.strictObject({
511
- foodId: z.string(),
512
- mats: z.array(z.string()),
513
- })).nullable(),
514
- variants: z.array(z.strictObject({
515
- type: z.string(),
516
- name: z.string(),
517
- usage: z.string(),
518
- })),
519
- duration: z.number(),
520
- sortId: z.number(),
521
- }).nullable(),
522
- data: z.strictObject({
523
- itemId: z.string(),
524
- itemType: z.string(),
525
- itemName: z.string(),
526
- itemUsage: z.string(),
527
- itemDesc: z.string(),
528
- itemRarity: z.number(),
529
- sortId: z.number(),
530
- obtainApproach: z.string(),
531
- })
532
- });
533
- var SandboxStageZod = z.strictObject({
534
- excel: z.strictObject({
535
- stageId: z.string(),
536
- levelId: z.string(),
537
- code: z.string(),
538
- name: z.string(),
539
- description: z.string(),
540
- actionCost: z.number(),
541
- actionCostEnemyRush: z.number(),
542
- }),
543
- levels: StageDataZod,
544
- });
545
- var SandboxWeatherZod = z.strictObject({
546
- weatherId: z.string(),
547
- name: z.string(),
548
- weatherLevel: z.number(),
549
- weatherType: z.string(),
550
- weatherTypeName: z.string(),
551
- weatherIconId: z.string(),
552
- functionDesc: z.string(),
553
- description: z.string(),
554
- buffId: z.string().nullable(),
555
- });
556
438
  exports.BaseZod = z.strictObject({
557
439
  buffId: z.string(),
558
440
  buffName: z.string(),
@@ -759,7 +641,20 @@ exports.GameEventZod = z.strictObject({
759
641
  recType: z.string().nullable(),
760
642
  isPageEntry: z.boolean(),
761
643
  isMagnify: z.boolean(),
762
- picGroup: z.array(z.null()),
644
+ picGroup: z.array(z.strictObject({
645
+ sortIndex: z.number(),
646
+ picId: z.string(),
647
+ availCheck: z.strictObject({
648
+ startTs: z.number(),
649
+ endTs: z.number(),
650
+ type: z.string(),
651
+ rate: z.number(),
652
+ stageUnlockParam: z.strictObject({
653
+ stageId: z.string(),
654
+ }).nullable(),
655
+ charUnlockParam: z.null(),
656
+ })
657
+ })),
763
658
  usePicGroup: z.boolean(),
764
659
  });
765
660
  exports.GridRangeZod = z.strictObject({
@@ -900,18 +795,142 @@ exports.ParadoxZod = z.strictObject({
900
795
  }),
901
796
  levels: StageDataZod,
902
797
  });
798
+ exports.RogueRelicZod = z.strictObject({
799
+ id: z.string(),
800
+ name: z.string(),
801
+ description: z.string().nullable(),
802
+ usage: z.string(),
803
+ obtainApproach: z.string(),
804
+ iconId: z.string(),
805
+ type: z.string(),
806
+ subType: z.string(),
807
+ rarity: z.string(),
808
+ value: z.number(),
809
+ sortId: z.number(),
810
+ canSacrifice: z.boolean(),
811
+ unlockCondDesc: z.string().nullable(),
812
+ });
813
+ exports.RogueStageZod = z.strictObject({
814
+ excel: z.strictObject({
815
+ id: z.string(),
816
+ linkedStageId: z.string(),
817
+ levelId: z.string(),
818
+ levelReplaceIds: z.array(z.string()),
819
+ code: z.string(),
820
+ name: z.string(),
821
+ loadingPicId: z.string(),
822
+ description: z.string(),
823
+ eliteDesc: z.string().nullable(),
824
+ isBoss: z.number(),
825
+ isElite: z.number(),
826
+ difficulty: z.string(),
827
+ capsulePool: z.string().nullable(),
828
+ capsuleProb: z.number(),
829
+ vutresProb: z.array(z.number()),
830
+ boxProb: z.array(z.number()),
831
+ specialNodeId: z.string().nullable(),
832
+ }),
833
+ levels: StageDataZod,
834
+ });
835
+ exports.RogueVariationZod = z.strictObject({
836
+ id: z.string(),
837
+ type: z.string(),
838
+ outerName: z.string(),
839
+ innerName: z.string(),
840
+ functionDesc: z.string(),
841
+ desc: z.string(),
842
+ iconId: z.string().nullable(),
843
+ sound: z.string().nullable(),
844
+ });
903
845
  exports.RogueThemeZod = z.strictObject({
904
846
  name: z.string(),
905
- stageDict: z.record(z.string(), RogueStageZod),
906
- toughStageDict: z.record(z.string(), RogueStageZod),
907
- relicDict: z.record(z.string(), RogueRelicZod),
908
- variationDict: z.record(z.string(), RogueVariationZod),
847
+ stageDict: z.record(z.string(), exports.RogueStageZod),
848
+ toughStageDict: z.record(z.string(), exports.RogueStageZod),
849
+ relicDict: z.record(z.string(), exports.RogueRelicZod),
850
+ variationDict: z.record(z.string(), exports.RogueVariationZod),
851
+ });
852
+ exports.SandboxItemZod = z.strictObject({
853
+ craft: z.strictObject({
854
+ itemId: z.string(),
855
+ type: z.string(),
856
+ buildingUnlockDesc: z.string(),
857
+ materialItems: z.record(z.string(), z.number()),
858
+ upgradeItems: z.record(z.string(), z.number()).nullable(),
859
+ outputRatio: z.number(),
860
+ withdrawRatio: z.number(),
861
+ repairCost: z.number(),
862
+ isHidden: z.boolean(),
863
+ craftGroupId: z.string(),
864
+ recipeLevel: z.number(),
865
+ }).nullable(),
866
+ drink: z.strictObject({
867
+ id: z.string(),
868
+ type: z.string(),
869
+ count: z.number(),
870
+ }).nullable(),
871
+ foodMat: z.strictObject({
872
+ id: z.string(),
873
+ type: z.string(),
874
+ attribute: z.string(),
875
+ variantType: z.string(),
876
+ bonusDuration: z.number(),
877
+ buffDesc: z.string().nullable(),
878
+ sortId: z.number(),
879
+ }).nullable(),
880
+ food: z.strictObject({
881
+ id: z.string(),
882
+ attributes: z.array(z.string()),
883
+ recipes: z.array(z.strictObject({
884
+ foodId: z.string(),
885
+ mats: z.array(z.string()),
886
+ })).nullable(),
887
+ variants: z.array(z.strictObject({
888
+ type: z.string(),
889
+ name: z.string(),
890
+ usage: z.string(),
891
+ })),
892
+ duration: z.number(),
893
+ sortId: z.number(),
894
+ }).nullable(),
895
+ data: z.strictObject({
896
+ itemId: z.string(),
897
+ itemType: z.string(),
898
+ itemName: z.string(),
899
+ itemUsage: z.string(),
900
+ itemDesc: z.string(),
901
+ itemRarity: z.number(),
902
+ sortId: z.number(),
903
+ obtainApproach: z.string(),
904
+ })
905
+ });
906
+ exports.SandboxStageZod = z.strictObject({
907
+ excel: z.strictObject({
908
+ stageId: z.string(),
909
+ levelId: z.string(),
910
+ code: z.string(),
911
+ name: z.string(),
912
+ description: z.string(),
913
+ actionCost: z.number(),
914
+ actionCostEnemyRush: z.number(),
915
+ }),
916
+ levels: StageDataZod,
917
+ });
918
+ exports.SandboxWeatherZod = z.strictObject({
919
+ weatherId: z.string(),
920
+ name: z.string(),
921
+ weatherLevel: z.number(),
922
+ weatherType: z.string(),
923
+ weatherTypeName: z.string(),
924
+ weatherIconId: z.string(),
925
+ functionDesc: z.string(),
926
+ description: z.string(),
927
+ buffId: z.string().nullable(),
909
928
  });
910
929
  exports.SandboxActZod = z.strictObject({
911
930
  name: z.string(),
912
- itemDict: z.record(z.string(), SandboxItemZod),
913
- weatherDict: z.record(z.string(), SandboxWeatherZod),
914
- stageDict: z.record(z.string(), SandboxStageZod),
931
+ itemDict: z.record(z.string(), exports.SandboxItemZod),
932
+ weatherDict: z.record(z.string(), exports.SandboxWeatherZod),
933
+ stageDict: z.record(z.string(), exports.SandboxStageZod),
915
934
  });
916
935
  exports.SkillZod = z.strictObject({
917
936
  deploy: DeploySkillZod.nullable(),
@@ -1075,7 +1094,11 @@ exports.StageZod = z.strictObject({
1075
1094
  })
1076
1095
  })).nullable(),
1077
1096
  sixStarBaseDesc: z.string().nullable().optional(),
1078
- sixStarDisplayRewardList: z.null().optional(),
1097
+ sixStarDisplayRewardList: z.array(z.strictObject({
1098
+ id: z.string(),
1099
+ count: z.number(),
1100
+ type: z.string(),
1101
+ })).nullable().optional(),
1079
1102
  advancedRuneIdList1: z.array(z.null()).optional(),
1080
1103
  advancedRuneIdList2: z.array(z.null()).optional(),
1081
1104
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hella-types",
3
- "version": "0.2.13",
3
+ "version": "0.2.15",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "",
package/src/index.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { count } from 'console';
1
2
  import * as z from 'zod';
2
3
 
3
4
  const BlackboardZod = z.strictObject({
@@ -297,6 +298,13 @@ const StageRouteZod = z.strictObject({
297
298
  visitEveryNodeCenter: z.boolean(),
298
299
  visitEveryCheckPoint: z.boolean().optional(),
299
300
  });
301
+ const StageRune = z.strictObject({
302
+ difficultyMask: z.union([z.string(), z.number()]),
303
+ key: z.string(),
304
+ professionMask: z.union([z.string(), z.number()]).optional(),
305
+ buildableMask: z.union([z.string(), z.number()]),
306
+ blackboard: z.array(BlackboardZod),
307
+ });
300
308
  const StageDataZod = z.strictObject({
301
309
  options: z.strictObject({
302
310
  characterLimit: z.number(),
@@ -345,16 +353,13 @@ const StageDataZod = z.strictObject({
345
353
  height: z.number().optional(),
346
354
  }),
347
355
  tilesDisallowToLocate: z.tuple([]),
348
- runes: z.array(
349
- z.strictObject({
350
- difficultyMask: z.union([z.string(), z.number()]),
351
- key: z.string(),
352
- professionMask: z.union([z.string(), z.number()]).optional(),
353
- buildableMask: z.union([z.string(), z.number()]),
354
- blackboard: z.array(BlackboardZod),
355
- })
356
- ).nullable(),
357
- optionalRunes: z.array(z.null()).nullable().optional(),
356
+ runes: z.array(StageRune).nullable(),
357
+ optionalRunes: z.strictObject({
358
+ rune_level1_1: z.array(StageRune),
359
+ rune_level1_2: z.array(StageRune),
360
+ rune_level2_1: z.array(StageRune),
361
+ rune_level2_2: z.array(StageRune),
362
+ }).nullable().optional(),
358
363
  globalBuffs: z.array(
359
364
  z.strictObject({
360
365
  prefabKey: z.string(),
@@ -457,130 +462,6 @@ const StageDataZod = z.strictObject({
457
462
  runtimeData: z.null().optional(),
458
463
  cameraPlugin: z.string().nullable().optional(),
459
464
  });
460
- const RogueRelicZod = z.strictObject({
461
- id: z.string(),
462
- name: z.string(),
463
- description: z.string().nullable(),
464
- usage: z.string(),
465
- obtainApproach: z.string(),
466
- iconId: z.string(),
467
- type: z.string(),
468
- subType: z.string(),
469
- rarity: z.string(),
470
- value: z.number(),
471
- sortId: z.number(),
472
- canSacrifice: z.boolean(),
473
- unlockCondDesc: z.string().nullable(),
474
- });
475
- const RogueStageZod = z.strictObject({
476
- excel: z.strictObject({
477
- id: z.string(),
478
- linkedStageId: z.string(),
479
- levelId: z.string(),
480
- levelReplaceIds: z.array(z.string()),
481
- code: z.string(),
482
- name: z.string(),
483
- loadingPicId: z.string(),
484
- description: z.string(),
485
- eliteDesc: z.string().nullable(),
486
- isBoss: z.number(),
487
- isElite: z.number(),
488
- difficulty: z.string(),
489
- capsulePool: z.string().nullable(),
490
- capsuleProb: z.number(),
491
- vutresProb: z.array(z.number()),
492
- boxProb: z.array(z.number()),
493
- specialNodeId: z.string().nullable(),
494
- }),
495
- levels: StageDataZod,
496
- });
497
- const RogueVariationZod = z.strictObject({
498
- id: z.string(),
499
- type: z.string(),
500
- outerName: z.string(),
501
- innerName: z.string(),
502
- functionDesc: z.string(),
503
- desc: z.string(),
504
- iconId: z.string().nullable(),
505
- sound: z.string().nullable(),
506
- });
507
- const SandboxItemZod = z.strictObject({
508
- craft: z.strictObject({
509
- itemId: z.string(),
510
- type: z.string(),
511
- buildingUnlockDesc: z.string(),
512
- materialItems: z.record(z.string(), z.number()),
513
- upgradeItems: z.record(z.string(), z.number()).nullable(),
514
- outputRatio: z.number(),
515
- withdrawRatio: z.number(),
516
- repairCost: z.number(),
517
- isHidden: z.boolean(),
518
- craftGroupId: z.string(),
519
- recipeLevel: z.number(),
520
- }).nullable(),
521
- drink: z.strictObject({
522
- id: z.string(),
523
- type: z.string(),
524
- count: z.number(),
525
- }).nullable(),
526
- foodMat: z.strictObject({
527
- id: z.string(),
528
- type: z.string(),
529
- attribute: z.string(),
530
- variantType: z.string(),
531
- bonusDuration: z.number(),
532
- buffDesc: z.string().nullable(),
533
- sortId: z.number(),
534
- }).nullable(),
535
- food: z.strictObject({
536
- id: z.string(),
537
- attributes: z.array(z.string()),
538
- recipes: z.array(z.strictObject({
539
- foodId: z.string(),
540
- mats: z.array(z.string()),
541
- })).nullable(),
542
- variants: z.array(z.strictObject({
543
- type: z.string(),
544
- name: z.string(),
545
- usage: z.string(),
546
- })),
547
- duration: z.number(),
548
- sortId: z.number(),
549
- }).nullable(),
550
- data: z.strictObject({
551
- itemId: z.string(),
552
- itemType: z.string(),
553
- itemName: z.string(),
554
- itemUsage: z.string(),
555
- itemDesc: z.string(),
556
- itemRarity: z.number(),
557
- sortId: z.number(),
558
- obtainApproach: z.string(),
559
- })
560
- });
561
- const SandboxStageZod = z.strictObject({
562
- excel: z.strictObject({
563
- stageId: z.string(),
564
- levelId: z.string(),
565
- code: z.string(),
566
- name: z.string(),
567
- description: z.string(),
568
- actionCost: z.number(),
569
- actionCostEnemyRush: z.number(),
570
- }),
571
- levels: StageDataZod,
572
- });
573
- const SandboxWeatherZod = z.strictObject({
574
- weatherId: z.string(),
575
- name: z.string(),
576
- weatherLevel: z.number(),
577
- weatherType: z.string(),
578
- weatherTypeName: z.string(),
579
- weatherIconId: z.string(),
580
- functionDesc: z.string(),
581
- description: z.string(),
582
- buffId: z.string().nullable(),
583
- });
584
465
 
585
466
  export const BaseZod = z.strictObject({
586
467
  buffId: z.string(),
@@ -798,7 +679,20 @@ export const GameEventZod = z.strictObject({
798
679
  recType: z.string().nullable(),
799
680
  isPageEntry: z.boolean(),
800
681
  isMagnify: z.boolean(),
801
- picGroup: z.array(z.null()),
682
+ picGroup: z.array(z.strictObject({
683
+ sortIndex: z.number(),
684
+ picId: z.string(),
685
+ availCheck: z.strictObject({
686
+ startTs: z.number(),
687
+ endTs: z.number(),
688
+ type: z.string(),
689
+ rate: z.number(),
690
+ stageUnlockParam: z.strictObject({
691
+ stageId: z.string(),
692
+ }).nullable(),
693
+ charUnlockParam: z.null(),
694
+ })
695
+ })),
802
696
  usePicGroup: z.boolean(),
803
697
  });
804
698
  export const GridRangeZod = z.strictObject({
@@ -959,6 +853,53 @@ export const ParadoxZod = z.strictObject({
959
853
  }),
960
854
  levels: StageDataZod,
961
855
  });
856
+ export const RogueRelicZod = z.strictObject({
857
+ id: z.string(),
858
+ name: z.string(),
859
+ description: z.string().nullable(),
860
+ usage: z.string(),
861
+ obtainApproach: z.string(),
862
+ iconId: z.string(),
863
+ type: z.string(),
864
+ subType: z.string(),
865
+ rarity: z.string(),
866
+ value: z.number(),
867
+ sortId: z.number(),
868
+ canSacrifice: z.boolean(),
869
+ unlockCondDesc: z.string().nullable(),
870
+ });
871
+ export const RogueStageZod = z.strictObject({
872
+ excel: z.strictObject({
873
+ id: z.string(),
874
+ linkedStageId: z.string(),
875
+ levelId: z.string(),
876
+ levelReplaceIds: z.array(z.string()),
877
+ code: z.string(),
878
+ name: z.string(),
879
+ loadingPicId: z.string(),
880
+ description: z.string(),
881
+ eliteDesc: z.string().nullable(),
882
+ isBoss: z.number(),
883
+ isElite: z.number(),
884
+ difficulty: z.string(),
885
+ capsulePool: z.string().nullable(),
886
+ capsuleProb: z.number(),
887
+ vutresProb: z.array(z.number()),
888
+ boxProb: z.array(z.number()),
889
+ specialNodeId: z.string().nullable(),
890
+ }),
891
+ levels: StageDataZod,
892
+ });
893
+ export const RogueVariationZod = z.strictObject({
894
+ id: z.string(),
895
+ type: z.string(),
896
+ outerName: z.string(),
897
+ innerName: z.string(),
898
+ functionDesc: z.string(),
899
+ desc: z.string(),
900
+ iconId: z.string().nullable(),
901
+ sound: z.string().nullable(),
902
+ });
962
903
  export const RogueThemeZod = z.strictObject({
963
904
  name: z.string(),
964
905
  stageDict: z.record(z.string(), RogueStageZod),
@@ -966,6 +907,83 @@ export const RogueThemeZod = z.strictObject({
966
907
  relicDict: z.record(z.string(), RogueRelicZod),
967
908
  variationDict: z.record(z.string(), RogueVariationZod),
968
909
  });
910
+ export const SandboxItemZod = z.strictObject({
911
+ craft: z.strictObject({
912
+ itemId: z.string(),
913
+ type: z.string(),
914
+ buildingUnlockDesc: z.string(),
915
+ materialItems: z.record(z.string(), z.number()),
916
+ upgradeItems: z.record(z.string(), z.number()).nullable(),
917
+ outputRatio: z.number(),
918
+ withdrawRatio: z.number(),
919
+ repairCost: z.number(),
920
+ isHidden: z.boolean(),
921
+ craftGroupId: z.string(),
922
+ recipeLevel: z.number(),
923
+ }).nullable(),
924
+ drink: z.strictObject({
925
+ id: z.string(),
926
+ type: z.string(),
927
+ count: z.number(),
928
+ }).nullable(),
929
+ foodMat: z.strictObject({
930
+ id: z.string(),
931
+ type: z.string(),
932
+ attribute: z.string(),
933
+ variantType: z.string(),
934
+ bonusDuration: z.number(),
935
+ buffDesc: z.string().nullable(),
936
+ sortId: z.number(),
937
+ }).nullable(),
938
+ food: z.strictObject({
939
+ id: z.string(),
940
+ attributes: z.array(z.string()),
941
+ recipes: z.array(z.strictObject({
942
+ foodId: z.string(),
943
+ mats: z.array(z.string()),
944
+ })).nullable(),
945
+ variants: z.array(z.strictObject({
946
+ type: z.string(),
947
+ name: z.string(),
948
+ usage: z.string(),
949
+ })),
950
+ duration: z.number(),
951
+ sortId: z.number(),
952
+ }).nullable(),
953
+ data: z.strictObject({
954
+ itemId: z.string(),
955
+ itemType: z.string(),
956
+ itemName: z.string(),
957
+ itemUsage: z.string(),
958
+ itemDesc: z.string(),
959
+ itemRarity: z.number(),
960
+ sortId: z.number(),
961
+ obtainApproach: z.string(),
962
+ })
963
+ });
964
+ export const SandboxStageZod = z.strictObject({
965
+ excel: z.strictObject({
966
+ stageId: z.string(),
967
+ levelId: z.string(),
968
+ code: z.string(),
969
+ name: z.string(),
970
+ description: z.string(),
971
+ actionCost: z.number(),
972
+ actionCostEnemyRush: z.number(),
973
+ }),
974
+ levels: StageDataZod,
975
+ });
976
+ export const SandboxWeatherZod = z.strictObject({
977
+ weatherId: z.string(),
978
+ name: z.string(),
979
+ weatherLevel: z.number(),
980
+ weatherType: z.string(),
981
+ weatherTypeName: z.string(),
982
+ weatherIconId: z.string(),
983
+ functionDesc: z.string(),
984
+ description: z.string(),
985
+ buffId: z.string().nullable(),
986
+ });
969
987
  export const SandboxActZod = z.strictObject({
970
988
  name: z.string(),
971
989
  itemDict: z.record(z.string(), SandboxItemZod),
@@ -1148,7 +1166,11 @@ export const StageZod = z.strictObject({
1148
1166
  })
1149
1167
  ).nullable(),
1150
1168
  sixStarBaseDesc: z.string().nullable().optional(),
1151
- sixStarDisplayRewardList: z.null().optional(),
1169
+ sixStarDisplayRewardList: z.array(z.strictObject({
1170
+ id: z.string(),
1171
+ count: z.number(),
1172
+ type: z.string(),
1173
+ })).nullable().optional(),
1152
1174
  advancedRuneIdList1: z.array(z.null()).optional(),
1153
1175
  advancedRuneIdList2: z.array(z.null()).optional(),
1154
1176
  }),