hella-types 0.2.13 → 0.2.14

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 +42219 -42219
  2. package/dist/index.js +132 -132
  3. package/package.json +1 -1
  4. package/src/index.ts +124 -124
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(),
@@ -429,130 +429,6 @@ var StageDataZod = z.strictObject({
429
429
  runtimeData: z.null().optional(),
430
430
  cameraPlugin: z.string().nullable().optional(),
431
431
  });
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
432
  exports.BaseZod = z.strictObject({
557
433
  buffId: z.string(),
558
434
  buffName: z.string(),
@@ -900,18 +776,142 @@ exports.ParadoxZod = z.strictObject({
900
776
  }),
901
777
  levels: StageDataZod,
902
778
  });
779
+ exports.RogueRelicZod = z.strictObject({
780
+ id: z.string(),
781
+ name: z.string(),
782
+ description: z.string().nullable(),
783
+ usage: z.string(),
784
+ obtainApproach: z.string(),
785
+ iconId: z.string(),
786
+ type: z.string(),
787
+ subType: z.string(),
788
+ rarity: z.string(),
789
+ value: z.number(),
790
+ sortId: z.number(),
791
+ canSacrifice: z.boolean(),
792
+ unlockCondDesc: z.string().nullable(),
793
+ });
794
+ exports.RogueStageZod = z.strictObject({
795
+ excel: z.strictObject({
796
+ id: z.string(),
797
+ linkedStageId: z.string(),
798
+ levelId: z.string(),
799
+ levelReplaceIds: z.array(z.string()),
800
+ code: z.string(),
801
+ name: z.string(),
802
+ loadingPicId: z.string(),
803
+ description: z.string(),
804
+ eliteDesc: z.string().nullable(),
805
+ isBoss: z.number(),
806
+ isElite: z.number(),
807
+ difficulty: z.string(),
808
+ capsulePool: z.string().nullable(),
809
+ capsuleProb: z.number(),
810
+ vutresProb: z.array(z.number()),
811
+ boxProb: z.array(z.number()),
812
+ specialNodeId: z.string().nullable(),
813
+ }),
814
+ levels: StageDataZod,
815
+ });
816
+ exports.RogueVariationZod = z.strictObject({
817
+ id: z.string(),
818
+ type: z.string(),
819
+ outerName: z.string(),
820
+ innerName: z.string(),
821
+ functionDesc: z.string(),
822
+ desc: z.string(),
823
+ iconId: z.string().nullable(),
824
+ sound: z.string().nullable(),
825
+ });
903
826
  exports.RogueThemeZod = z.strictObject({
904
827
  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),
828
+ stageDict: z.record(z.string(), exports.RogueStageZod),
829
+ toughStageDict: z.record(z.string(), exports.RogueStageZod),
830
+ relicDict: z.record(z.string(), exports.RogueRelicZod),
831
+ variationDict: z.record(z.string(), exports.RogueVariationZod),
832
+ });
833
+ exports.SandboxItemZod = z.strictObject({
834
+ craft: z.strictObject({
835
+ itemId: z.string(),
836
+ type: z.string(),
837
+ buildingUnlockDesc: z.string(),
838
+ materialItems: z.record(z.string(), z.number()),
839
+ upgradeItems: z.record(z.string(), z.number()).nullable(),
840
+ outputRatio: z.number(),
841
+ withdrawRatio: z.number(),
842
+ repairCost: z.number(),
843
+ isHidden: z.boolean(),
844
+ craftGroupId: z.string(),
845
+ recipeLevel: z.number(),
846
+ }).nullable(),
847
+ drink: z.strictObject({
848
+ id: z.string(),
849
+ type: z.string(),
850
+ count: z.number(),
851
+ }).nullable(),
852
+ foodMat: z.strictObject({
853
+ id: z.string(),
854
+ type: z.string(),
855
+ attribute: z.string(),
856
+ variantType: z.string(),
857
+ bonusDuration: z.number(),
858
+ buffDesc: z.string().nullable(),
859
+ sortId: z.number(),
860
+ }).nullable(),
861
+ food: z.strictObject({
862
+ id: z.string(),
863
+ attributes: z.array(z.string()),
864
+ recipes: z.array(z.strictObject({
865
+ foodId: z.string(),
866
+ mats: z.array(z.string()),
867
+ })).nullable(),
868
+ variants: z.array(z.strictObject({
869
+ type: z.string(),
870
+ name: z.string(),
871
+ usage: z.string(),
872
+ })),
873
+ duration: z.number(),
874
+ sortId: z.number(),
875
+ }).nullable(),
876
+ data: z.strictObject({
877
+ itemId: z.string(),
878
+ itemType: z.string(),
879
+ itemName: z.string(),
880
+ itemUsage: z.string(),
881
+ itemDesc: z.string(),
882
+ itemRarity: z.number(),
883
+ sortId: z.number(),
884
+ obtainApproach: z.string(),
885
+ })
886
+ });
887
+ exports.SandboxStageZod = z.strictObject({
888
+ excel: z.strictObject({
889
+ stageId: z.string(),
890
+ levelId: z.string(),
891
+ code: z.string(),
892
+ name: z.string(),
893
+ description: z.string(),
894
+ actionCost: z.number(),
895
+ actionCostEnemyRush: z.number(),
896
+ }),
897
+ levels: StageDataZod,
898
+ });
899
+ exports.SandboxWeatherZod = z.strictObject({
900
+ weatherId: z.string(),
901
+ name: z.string(),
902
+ weatherLevel: z.number(),
903
+ weatherType: z.string(),
904
+ weatherTypeName: z.string(),
905
+ weatherIconId: z.string(),
906
+ functionDesc: z.string(),
907
+ description: z.string(),
908
+ buffId: z.string().nullable(),
909
909
  });
910
910
  exports.SandboxActZod = z.strictObject({
911
911
  name: z.string(),
912
- itemDict: z.record(z.string(), SandboxItemZod),
913
- weatherDict: z.record(z.string(), SandboxWeatherZod),
914
- stageDict: z.record(z.string(), SandboxStageZod),
912
+ itemDict: z.record(z.string(), exports.SandboxItemZod),
913
+ weatherDict: z.record(z.string(), exports.SandboxWeatherZod),
914
+ stageDict: z.record(z.string(), exports.SandboxStageZod),
915
915
  });
916
916
  exports.SkillZod = z.strictObject({
917
917
  deploy: DeploySkillZod.nullable(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hella-types",
3
- "version": "0.2.13",
3
+ "version": "0.2.14",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "",
package/src/index.ts CHANGED
@@ -457,130 +457,6 @@ const StageDataZod = z.strictObject({
457
457
  runtimeData: z.null().optional(),
458
458
  cameraPlugin: z.string().nullable().optional(),
459
459
  });
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
460
 
585
461
  export const BaseZod = z.strictObject({
586
462
  buffId: z.string(),
@@ -959,6 +835,53 @@ export const ParadoxZod = z.strictObject({
959
835
  }),
960
836
  levels: StageDataZod,
961
837
  });
838
+ export const RogueRelicZod = z.strictObject({
839
+ id: z.string(),
840
+ name: z.string(),
841
+ description: z.string().nullable(),
842
+ usage: z.string(),
843
+ obtainApproach: z.string(),
844
+ iconId: z.string(),
845
+ type: z.string(),
846
+ subType: z.string(),
847
+ rarity: z.string(),
848
+ value: z.number(),
849
+ sortId: z.number(),
850
+ canSacrifice: z.boolean(),
851
+ unlockCondDesc: z.string().nullable(),
852
+ });
853
+ export const RogueStageZod = z.strictObject({
854
+ excel: z.strictObject({
855
+ id: z.string(),
856
+ linkedStageId: z.string(),
857
+ levelId: z.string(),
858
+ levelReplaceIds: z.array(z.string()),
859
+ code: z.string(),
860
+ name: z.string(),
861
+ loadingPicId: z.string(),
862
+ description: z.string(),
863
+ eliteDesc: z.string().nullable(),
864
+ isBoss: z.number(),
865
+ isElite: z.number(),
866
+ difficulty: z.string(),
867
+ capsulePool: z.string().nullable(),
868
+ capsuleProb: z.number(),
869
+ vutresProb: z.array(z.number()),
870
+ boxProb: z.array(z.number()),
871
+ specialNodeId: z.string().nullable(),
872
+ }),
873
+ levels: StageDataZod,
874
+ });
875
+ export const RogueVariationZod = z.strictObject({
876
+ id: z.string(),
877
+ type: z.string(),
878
+ outerName: z.string(),
879
+ innerName: z.string(),
880
+ functionDesc: z.string(),
881
+ desc: z.string(),
882
+ iconId: z.string().nullable(),
883
+ sound: z.string().nullable(),
884
+ });
962
885
  export const RogueThemeZod = z.strictObject({
963
886
  name: z.string(),
964
887
  stageDict: z.record(z.string(), RogueStageZod),
@@ -966,6 +889,83 @@ export const RogueThemeZod = z.strictObject({
966
889
  relicDict: z.record(z.string(), RogueRelicZod),
967
890
  variationDict: z.record(z.string(), RogueVariationZod),
968
891
  });
892
+ export const SandboxItemZod = z.strictObject({
893
+ craft: z.strictObject({
894
+ itemId: z.string(),
895
+ type: z.string(),
896
+ buildingUnlockDesc: z.string(),
897
+ materialItems: z.record(z.string(), z.number()),
898
+ upgradeItems: z.record(z.string(), z.number()).nullable(),
899
+ outputRatio: z.number(),
900
+ withdrawRatio: z.number(),
901
+ repairCost: z.number(),
902
+ isHidden: z.boolean(),
903
+ craftGroupId: z.string(),
904
+ recipeLevel: z.number(),
905
+ }).nullable(),
906
+ drink: z.strictObject({
907
+ id: z.string(),
908
+ type: z.string(),
909
+ count: z.number(),
910
+ }).nullable(),
911
+ foodMat: z.strictObject({
912
+ id: z.string(),
913
+ type: z.string(),
914
+ attribute: z.string(),
915
+ variantType: z.string(),
916
+ bonusDuration: z.number(),
917
+ buffDesc: z.string().nullable(),
918
+ sortId: z.number(),
919
+ }).nullable(),
920
+ food: z.strictObject({
921
+ id: z.string(),
922
+ attributes: z.array(z.string()),
923
+ recipes: z.array(z.strictObject({
924
+ foodId: z.string(),
925
+ mats: z.array(z.string()),
926
+ })).nullable(),
927
+ variants: z.array(z.strictObject({
928
+ type: z.string(),
929
+ name: z.string(),
930
+ usage: z.string(),
931
+ })),
932
+ duration: z.number(),
933
+ sortId: z.number(),
934
+ }).nullable(),
935
+ data: z.strictObject({
936
+ itemId: z.string(),
937
+ itemType: z.string(),
938
+ itemName: z.string(),
939
+ itemUsage: z.string(),
940
+ itemDesc: z.string(),
941
+ itemRarity: z.number(),
942
+ sortId: z.number(),
943
+ obtainApproach: z.string(),
944
+ })
945
+ });
946
+ export const SandboxStageZod = z.strictObject({
947
+ excel: z.strictObject({
948
+ stageId: z.string(),
949
+ levelId: z.string(),
950
+ code: z.string(),
951
+ name: z.string(),
952
+ description: z.string(),
953
+ actionCost: z.number(),
954
+ actionCostEnemyRush: z.number(),
955
+ }),
956
+ levels: StageDataZod,
957
+ });
958
+ export const SandboxWeatherZod = z.strictObject({
959
+ weatherId: z.string(),
960
+ name: z.string(),
961
+ weatherLevel: z.number(),
962
+ weatherType: z.string(),
963
+ weatherTypeName: z.string(),
964
+ weatherIconId: z.string(),
965
+ functionDesc: z.string(),
966
+ description: z.string(),
967
+ buffId: z.string().nullable(),
968
+ });
969
969
  export const SandboxActZod = z.strictObject({
970
970
  name: z.string(),
971
971
  itemDict: z.record(z.string(), SandboxItemZod),