hella-types 0.2.0 → 0.2.2
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/LICENSE +20 -20
- package/README.md +12 -0
- package/dist/index.d.ts +4938 -3183
- package/dist/index.js +77 -25
- package/package.json +2 -2
- package/src/index.ts +78 -26
- package/tsconfig.json +9 -9
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ exports.OperatorZod = exports.DeployableZod = exports.StageZod = exports.SkinZod
|
|
|
4
4
|
var z = require("zod");
|
|
5
5
|
var BlackboardZod = z.strictObject({
|
|
6
6
|
key: z.string(),
|
|
7
|
-
value: z.number().nullable(),
|
|
7
|
+
value: z.number().nullable().optional(),
|
|
8
8
|
valueStr: z.string().nullable().optional(),
|
|
9
9
|
});
|
|
10
10
|
var DefinedStringZod = z.strictObject({
|
|
@@ -49,6 +49,7 @@ var AttributesKeyFrameZod = z.strictObject({
|
|
|
49
49
|
frozenImmune: z.boolean(),
|
|
50
50
|
levitateImmune: z.boolean(),
|
|
51
51
|
disarmedCombatImmune: z.boolean(),
|
|
52
|
+
fearedImmune: z.boolean(),
|
|
52
53
|
}),
|
|
53
54
|
});
|
|
54
55
|
var EnemyAttributesZod = z.strictObject({
|
|
@@ -78,6 +79,7 @@ var EnemyAttributesZod = z.strictObject({
|
|
|
78
79
|
frozenImmune: DefinedBooleanZod.optional(),
|
|
79
80
|
levitateImmune: DefinedBooleanZod.optional(),
|
|
80
81
|
disarmedCombatImmune: DefinedBooleanZod.optional(),
|
|
82
|
+
fearedImmune: DefinedBooleanZod.optional(),
|
|
81
83
|
});
|
|
82
84
|
var EnemySkillsZod = z.strictObject({
|
|
83
85
|
prefabKey: z.string(),
|
|
@@ -365,16 +367,22 @@ var StageDataZod = z.strictObject({
|
|
|
365
367
|
frozenImmune: z.boolean(),
|
|
366
368
|
levitateImmune: z.boolean(),
|
|
367
369
|
disarmedCombatImmune: z.boolean(),
|
|
370
|
+
fearedImmune: z.boolean().optional(),
|
|
368
371
|
}),
|
|
372
|
+
applyWay: z.string(),
|
|
373
|
+
motion: z.string(),
|
|
374
|
+
enemyTags: z.array(z.string()).nullable(),
|
|
375
|
+
notCountInTotal: z.boolean(),
|
|
369
376
|
alias: z.null(),
|
|
370
377
|
lifePointReduce: z.number(),
|
|
371
378
|
rangeRadius: z.number(),
|
|
372
379
|
numOfExtraDrops: z.number(),
|
|
373
380
|
viewRadius: z.number(),
|
|
374
|
-
levelType: z.
|
|
381
|
+
levelType: z.string(),
|
|
375
382
|
talentBlackboard: z.array(BlackboardZod).nullable(),
|
|
376
383
|
skills: z.array(EnemySkillsZod).nullable(),
|
|
377
384
|
spData: EnemySpDataZod.nullable(),
|
|
385
|
+
m_runtimeData: z.null(),
|
|
378
386
|
})),
|
|
379
387
|
enemyDbRefs: z.array(z.strictObject({
|
|
380
388
|
useDb: z.boolean(),
|
|
@@ -463,6 +471,7 @@ var SandboxItemZod = z.strictObject({
|
|
|
463
471
|
buildingUnlockDesc: z.string(),
|
|
464
472
|
materialItems: z.record(z.string(), z.number()),
|
|
465
473
|
upgradeItems: z.record(z.string(), z.number()).nullable(),
|
|
474
|
+
outputRatio: z.number(),
|
|
466
475
|
withdrawRatio: z.number(),
|
|
467
476
|
repairCost: z.number(),
|
|
468
477
|
isHidden: z.boolean(),
|
|
@@ -478,6 +487,8 @@ var SandboxItemZod = z.strictObject({
|
|
|
478
487
|
id: z.string(),
|
|
479
488
|
type: z.string(),
|
|
480
489
|
attribute: z.string(),
|
|
490
|
+
variantType: z.string(),
|
|
491
|
+
bonusDuration: z.number(),
|
|
481
492
|
buffDesc: z.string().nullable(),
|
|
482
493
|
sortId: z.number(),
|
|
483
494
|
}).nullable(),
|
|
@@ -488,12 +499,12 @@ var SandboxItemZod = z.strictObject({
|
|
|
488
499
|
foodId: z.string(),
|
|
489
500
|
mats: z.array(z.string()),
|
|
490
501
|
})).nullable(),
|
|
502
|
+
variants: z.array(z.strictObject({
|
|
503
|
+
type: z.string(),
|
|
504
|
+
name: z.string(),
|
|
505
|
+
usage: z.string(),
|
|
506
|
+
})),
|
|
491
507
|
duration: z.number(),
|
|
492
|
-
itemName: z.string(),
|
|
493
|
-
generalName: z.string().nullable(),
|
|
494
|
-
enhancedName: z.string().nullable(),
|
|
495
|
-
itemUsage: z.string(),
|
|
496
|
-
enhancedUsage: z.string().nullable(),
|
|
497
508
|
sortId: z.number(),
|
|
498
509
|
}).nullable(),
|
|
499
510
|
data: z.strictObject({
|
|
@@ -619,30 +630,49 @@ exports.GachaPoolZod = z.strictObject({
|
|
|
619
630
|
gachaPoolDetail: z.string().nullable(),
|
|
620
631
|
guarantee5Avail: z.number(),
|
|
621
632
|
guarantee5Count: z.number(),
|
|
622
|
-
LMTGSID: z.
|
|
623
|
-
CDPrimColor: z.
|
|
624
|
-
CDSecColor: z.
|
|
633
|
+
LMTGSID: z.string().nullable(),
|
|
634
|
+
CDPrimColor: z.string().nullable(),
|
|
635
|
+
CDSecColor: z.string().nullable(),
|
|
636
|
+
freeBackColor: z.string().nullable().optional(),
|
|
625
637
|
gachaRuleType: z.string(),
|
|
626
638
|
dynMeta: z.union([
|
|
627
639
|
z.strictObject({
|
|
628
|
-
chooseRuleConst: z.string()
|
|
629
|
-
homeDescConst: z.string()
|
|
630
|
-
rarityPickCharDict: z.record(z.string(), z.array(z.string()))
|
|
640
|
+
chooseRuleConst: z.string(),
|
|
641
|
+
homeDescConst: z.string(),
|
|
642
|
+
rarityPickCharDict: z.record(z.string(), z.array(z.string())),
|
|
631
643
|
scrollIndex: z.number(),
|
|
632
|
-
star5ChooseRuleConst: z.string()
|
|
633
|
-
star6ChooseRuleConst: z.string()
|
|
644
|
+
star5ChooseRuleConst: z.string(),
|
|
645
|
+
star6ChooseRuleConst: z.string(),
|
|
634
646
|
}),
|
|
635
647
|
z.strictObject({
|
|
636
|
-
main6RarityCharId: z.string()
|
|
637
|
-
rare5CharList: z.array(z.string())
|
|
648
|
+
main6RarityCharId: z.string(),
|
|
649
|
+
rare5CharList: z.array(z.string()),
|
|
638
650
|
scrollIndex: z.number(),
|
|
639
|
-
sub6RarityCharId: z.string()
|
|
651
|
+
sub6RarityCharId: z.string(),
|
|
652
|
+
}),
|
|
653
|
+
z.strictObject({
|
|
654
|
+
attainRare6CharList: z.array(z.string()),
|
|
655
|
+
attainRare6Num: z.number(),
|
|
656
|
+
scrollIndex: z.number().optional(),
|
|
640
657
|
}),
|
|
658
|
+
z.strictObject({
|
|
659
|
+
detailInfo: z.string(),
|
|
660
|
+
detailTitle: z.string(),
|
|
661
|
+
homeIntroDesc: z.string(),
|
|
662
|
+
rarityPickCharDict: z.record(z.string(), z.array(z.string())),
|
|
663
|
+
star5ChooseRule: z.string(),
|
|
664
|
+
star6ChooseRule: z.string(),
|
|
665
|
+
})
|
|
641
666
|
]).nullable(),
|
|
642
667
|
linkageRuleId: z.string().nullable(),
|
|
643
668
|
linkageParam: z.strictObject({
|
|
644
669
|
guaranteeTarget6Count: z.number(),
|
|
645
670
|
}).nullable(),
|
|
671
|
+
limitParam: z.strictObject({
|
|
672
|
+
freeCount: z.number(),
|
|
673
|
+
hasFreeChar: z.boolean(),
|
|
674
|
+
limitedCharId: z.string(),
|
|
675
|
+
}).nullable().optional(),
|
|
646
676
|
}),
|
|
647
677
|
details: z.strictObject({
|
|
648
678
|
detailInfo: z.strictObject({
|
|
@@ -666,8 +696,12 @@ exports.GachaPoolZod = z.strictObject({
|
|
|
666
696
|
count: z.number(),
|
|
667
697
|
})),
|
|
668
698
|
}),
|
|
669
|
-
limitedChar: z.
|
|
670
|
-
weightUpCharInfoList: z.
|
|
699
|
+
limitedChar: z.union([z.string(), z.array(z.string())]).nullable(),
|
|
700
|
+
weightUpCharInfoList: z.array(z.strictObject({
|
|
701
|
+
rarityRank: z.number(),
|
|
702
|
+
charId: z.string(),
|
|
703
|
+
weight: z.number(),
|
|
704
|
+
})).nullable(),
|
|
671
705
|
gachaObjList: z.array(z.strictObject({
|
|
672
706
|
gachaObject: z.string(),
|
|
673
707
|
type: z.number(),
|
|
@@ -678,7 +712,13 @@ exports.GachaPoolZod = z.strictObject({
|
|
|
678
712
|
gachaObjGroupType: z.number(),
|
|
679
713
|
playerDataDelta: z.strictObject({
|
|
680
714
|
modified: z.strictObject({}),
|
|
681
|
-
deleted: z.strictObject({
|
|
715
|
+
deleted: z.strictObject({
|
|
716
|
+
activity: z.strictObject({
|
|
717
|
+
TYPE_ACT9D0: z.array(z.string()),
|
|
718
|
+
CHECKIN_ONLY: z.array(z.string()),
|
|
719
|
+
LOGIN_ONLY: z.array(z.string()),
|
|
720
|
+
}).optional(),
|
|
721
|
+
}),
|
|
682
722
|
}),
|
|
683
723
|
}),
|
|
684
724
|
});
|
|
@@ -697,6 +737,9 @@ exports.GameEventZod = z.strictObject({
|
|
|
697
737
|
ungroupedMedalIds: z.array(z.string()).nullable(),
|
|
698
738
|
isReplicate: z.boolean(),
|
|
699
739
|
needFixedSync: z.boolean(),
|
|
740
|
+
trapDomainId: z.string().nullable(),
|
|
741
|
+
recType: z.string().nullable(),
|
|
742
|
+
isPageEntry: z.boolean(),
|
|
700
743
|
});
|
|
701
744
|
exports.GridRangeZod = z.strictObject({
|
|
702
745
|
id: z.string(),
|
|
@@ -752,12 +795,21 @@ exports.ModuleZod = z.strictObject({
|
|
|
752
795
|
tmplId: z.string().nullable(),
|
|
753
796
|
showLevel: z.number(),
|
|
754
797
|
unlockLevel: z.number(),
|
|
755
|
-
unlockFavorPoint: z.number(),
|
|
798
|
+
unlockFavorPoint: z.number().optional(),
|
|
756
799
|
missionList: z.array(z.string()),
|
|
800
|
+
unlockFavors: z.strictObject({
|
|
801
|
+
1: z.number(),
|
|
802
|
+
2: z.number(),
|
|
803
|
+
3: z.number(),
|
|
804
|
+
}).nullable(),
|
|
757
805
|
itemCost: z.record(z.string(), z.array(LevelUpCostZod)).nullable(),
|
|
758
806
|
type: z.string(),
|
|
759
807
|
uniEquipGetTime: z.number(),
|
|
760
808
|
charEquipOrder: z.number(),
|
|
809
|
+
hasUnlockMission: z.boolean(),
|
|
810
|
+
isSpecialEquip: z.boolean(),
|
|
811
|
+
specialEquipDesc: z.string().nullable(),
|
|
812
|
+
specialEquipColor: z.string().nullable(),
|
|
761
813
|
}),
|
|
762
814
|
data: z.strictObject({
|
|
763
815
|
phases: z.array(z.strictObject({
|
|
@@ -779,6 +831,7 @@ exports.ModuleZod = z.strictObject({
|
|
|
779
831
|
rangeId: z.string().nullable(),
|
|
780
832
|
blackboard: z.array(BlackboardZod),
|
|
781
833
|
tokenKey: z.string().optional(),
|
|
834
|
+
isHideTalent: z.boolean(),
|
|
782
835
|
})).nullable(),
|
|
783
836
|
}),
|
|
784
837
|
overrideTraitDataBundle: z.strictObject({
|
|
@@ -819,9 +872,6 @@ exports.ParadoxZod = z.strictObject({
|
|
|
819
872
|
count: z.number(),
|
|
820
873
|
type: z.string(),
|
|
821
874
|
})),
|
|
822
|
-
stageNameForShow: z.string(),
|
|
823
|
-
zoneNameForShow: z.string(),
|
|
824
|
-
picId: z.string(),
|
|
825
875
|
stageGetTime: z.number(),
|
|
826
876
|
}),
|
|
827
877
|
levels: StageDataZod,
|
|
@@ -974,6 +1024,7 @@ exports.StageZod = z.strictObject({
|
|
|
974
1024
|
canUseTech: z.boolean(),
|
|
975
1025
|
canUseTrapTool: z.boolean(),
|
|
976
1026
|
canUseBattlePerformance: z.boolean(),
|
|
1027
|
+
canContinuousBattle: z.boolean(),
|
|
977
1028
|
startButtonOverrideId: z.string().nullable(),
|
|
978
1029
|
isStagePatch: z.boolean(),
|
|
979
1030
|
mainStageId: z.string().nullable(),
|
|
@@ -1060,6 +1111,7 @@ exports.DeployableZod = z.strictObject({
|
|
|
1060
1111
|
rangeId: z.string().nullable(),
|
|
1061
1112
|
blackboard: z.array(BlackboardZod),
|
|
1062
1113
|
tokenKey: z.string().nullable(),
|
|
1114
|
+
isHideTalent: z.boolean(),
|
|
1063
1115
|
})).nullable(),
|
|
1064
1116
|
})).nullable(),
|
|
1065
1117
|
potentialRanks: z.array(z.strictObject({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hella-types",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"author": "",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"build": "tsc"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"zod": "
|
|
13
|
+
"zod": "3.22.4"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@types/node": "^20.11.0"
|
package/src/index.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as z from 'zod';
|
|
|
2
2
|
|
|
3
3
|
const BlackboardZod = z.strictObject({
|
|
4
4
|
key: z.string(),
|
|
5
|
-
value: z.number().nullable(),
|
|
5
|
+
value: z.number().nullable().optional(),
|
|
6
6
|
valueStr: z.string().nullable().optional(),
|
|
7
7
|
});
|
|
8
8
|
const DefinedStringZod = z.strictObject({
|
|
@@ -48,6 +48,7 @@ const AttributesKeyFrameZod = z.strictObject({
|
|
|
48
48
|
frozenImmune: z.boolean(),
|
|
49
49
|
levitateImmune: z.boolean(),
|
|
50
50
|
disarmedCombatImmune: z.boolean(),
|
|
51
|
+
fearedImmune: z.boolean(),
|
|
51
52
|
}),
|
|
52
53
|
});
|
|
53
54
|
const EnemyAttributesZod = z.strictObject({
|
|
@@ -77,6 +78,7 @@ const EnemyAttributesZod = z.strictObject({
|
|
|
77
78
|
frozenImmune: DefinedBooleanZod.optional(),
|
|
78
79
|
levitateImmune: DefinedBooleanZod.optional(),
|
|
79
80
|
disarmedCombatImmune: DefinedBooleanZod.optional(),
|
|
81
|
+
fearedImmune: DefinedBooleanZod.optional(),
|
|
80
82
|
});
|
|
81
83
|
const EnemySkillsZod = z.strictObject({
|
|
82
84
|
prefabKey: z.string(),
|
|
@@ -385,16 +387,22 @@ const StageDataZod = z.strictObject({
|
|
|
385
387
|
frozenImmune: z.boolean(),
|
|
386
388
|
levitateImmune: z.boolean(),
|
|
387
389
|
disarmedCombatImmune: z.boolean(),
|
|
390
|
+
fearedImmune: z.boolean().optional(),
|
|
388
391
|
}),
|
|
392
|
+
applyWay: z.string(),
|
|
393
|
+
motion: z.string(),
|
|
394
|
+
enemyTags: z.array(z.string()).nullable(),
|
|
395
|
+
notCountInTotal: z.boolean(),
|
|
389
396
|
alias: z.null(),
|
|
390
397
|
lifePointReduce: z.number(),
|
|
391
398
|
rangeRadius: z.number(),
|
|
392
399
|
numOfExtraDrops: z.number(),
|
|
393
400
|
viewRadius: z.number(),
|
|
394
|
-
levelType: z.
|
|
401
|
+
levelType: z.string(),
|
|
395
402
|
talentBlackboard: z.array(BlackboardZod).nullable(),
|
|
396
403
|
skills: z.array(EnemySkillsZod).nullable(),
|
|
397
404
|
spData: EnemySpDataZod.nullable(),
|
|
405
|
+
m_runtimeData: z.null(),
|
|
398
406
|
})
|
|
399
407
|
),
|
|
400
408
|
enemyDbRefs: z.array(
|
|
@@ -491,6 +499,7 @@ const SandboxItemZod = z.strictObject({
|
|
|
491
499
|
buildingUnlockDesc: z.string(),
|
|
492
500
|
materialItems: z.record(z.string(), z.number()),
|
|
493
501
|
upgradeItems: z.record(z.string(), z.number()).nullable(),
|
|
502
|
+
outputRatio: z.number(),
|
|
494
503
|
withdrawRatio: z.number(),
|
|
495
504
|
repairCost: z.number(),
|
|
496
505
|
isHidden: z.boolean(),
|
|
@@ -506,6 +515,8 @@ const SandboxItemZod = z.strictObject({
|
|
|
506
515
|
id: z.string(),
|
|
507
516
|
type: z.string(),
|
|
508
517
|
attribute: z.string(),
|
|
518
|
+
variantType: z.string(),
|
|
519
|
+
bonusDuration: z.number(),
|
|
509
520
|
buffDesc: z.string().nullable(),
|
|
510
521
|
sortId: z.number(),
|
|
511
522
|
}).nullable(),
|
|
@@ -516,12 +527,12 @@ const SandboxItemZod = z.strictObject({
|
|
|
516
527
|
foodId: z.string(),
|
|
517
528
|
mats: z.array(z.string()),
|
|
518
529
|
})).nullable(),
|
|
530
|
+
variants: z.array(z.strictObject({
|
|
531
|
+
type: z.string(),
|
|
532
|
+
name: z.string(),
|
|
533
|
+
usage: z.string(),
|
|
534
|
+
})),
|
|
519
535
|
duration: z.number(),
|
|
520
|
-
itemName: z.string(),
|
|
521
|
-
generalName: z.string().nullable(),
|
|
522
|
-
enhancedName: z.string().nullable(),
|
|
523
|
-
itemUsage: z.string(),
|
|
524
|
-
enhancedUsage: z.string().nullable(),
|
|
525
536
|
sortId: z.number(),
|
|
526
537
|
}).nullable(),
|
|
527
538
|
data: z.strictObject({
|
|
@@ -652,30 +663,49 @@ export const GachaPoolZod = z.strictObject({
|
|
|
652
663
|
gachaPoolDetail: z.string().nullable(),
|
|
653
664
|
guarantee5Avail: z.number(),
|
|
654
665
|
guarantee5Count: z.number(),
|
|
655
|
-
LMTGSID: z.
|
|
656
|
-
CDPrimColor: z.
|
|
657
|
-
CDSecColor: z.
|
|
666
|
+
LMTGSID: z.string().nullable(),
|
|
667
|
+
CDPrimColor: z.string().nullable(),
|
|
668
|
+
CDSecColor: z.string().nullable(),
|
|
669
|
+
freeBackColor: z.string().nullable().optional(),
|
|
658
670
|
gachaRuleType: z.string(),
|
|
659
671
|
dynMeta: z.union([
|
|
660
672
|
z.strictObject({
|
|
661
|
-
chooseRuleConst: z.string()
|
|
662
|
-
homeDescConst: z.string()
|
|
663
|
-
rarityPickCharDict: z.record(z.string(), z.array(z.string()))
|
|
673
|
+
chooseRuleConst: z.string(),
|
|
674
|
+
homeDescConst: z.string(),
|
|
675
|
+
rarityPickCharDict: z.record(z.string(), z.array(z.string())),
|
|
664
676
|
scrollIndex: z.number(),
|
|
665
|
-
star5ChooseRuleConst: z.string()
|
|
666
|
-
star6ChooseRuleConst: z.string()
|
|
677
|
+
star5ChooseRuleConst: z.string(),
|
|
678
|
+
star6ChooseRuleConst: z.string(),
|
|
667
679
|
}),
|
|
668
680
|
z.strictObject({
|
|
669
|
-
main6RarityCharId: z.string()
|
|
670
|
-
rare5CharList: z.array(z.string())
|
|
681
|
+
main6RarityCharId: z.string(),
|
|
682
|
+
rare5CharList: z.array(z.string()),
|
|
671
683
|
scrollIndex: z.number(),
|
|
672
|
-
sub6RarityCharId: z.string()
|
|
684
|
+
sub6RarityCharId: z.string(),
|
|
673
685
|
}),
|
|
686
|
+
z.strictObject({
|
|
687
|
+
attainRare6CharList: z.array(z.string()),
|
|
688
|
+
attainRare6Num: z.number(),
|
|
689
|
+
scrollIndex: z.number().optional(),
|
|
690
|
+
}),
|
|
691
|
+
z.strictObject({
|
|
692
|
+
detailInfo: z.string(),
|
|
693
|
+
detailTitle: z.string(),
|
|
694
|
+
homeIntroDesc: z.string(),
|
|
695
|
+
rarityPickCharDict: z.record(z.string(), z.array(z.string())),
|
|
696
|
+
star5ChooseRule: z.string(),
|
|
697
|
+
star6ChooseRule: z.string(),
|
|
698
|
+
})
|
|
674
699
|
]).nullable(),
|
|
675
700
|
linkageRuleId: z.string().nullable(),
|
|
676
701
|
linkageParam: z.strictObject({
|
|
677
702
|
guaranteeTarget6Count: z.number(),
|
|
678
703
|
}).nullable(),
|
|
704
|
+
limitParam: z.strictObject({
|
|
705
|
+
freeCount: z.number(),
|
|
706
|
+
hasFreeChar: z.boolean(),
|
|
707
|
+
limitedCharId: z.string(),
|
|
708
|
+
}).nullable().optional(),
|
|
679
709
|
}),
|
|
680
710
|
details: z.strictObject({
|
|
681
711
|
detailInfo: z.strictObject({
|
|
@@ -703,8 +733,12 @@ export const GachaPoolZod = z.strictObject({
|
|
|
703
733
|
})
|
|
704
734
|
),
|
|
705
735
|
}),
|
|
706
|
-
limitedChar: z.
|
|
707
|
-
weightUpCharInfoList: z.
|
|
736
|
+
limitedChar: z.union([z.string(), z.array(z.string())]).nullable(),
|
|
737
|
+
weightUpCharInfoList: z.array(z.strictObject({
|
|
738
|
+
rarityRank: z.number(),
|
|
739
|
+
charId: z.string(),
|
|
740
|
+
weight: z.number(),
|
|
741
|
+
})).nullable(),
|
|
708
742
|
gachaObjList: z.array(
|
|
709
743
|
z.strictObject({
|
|
710
744
|
gachaObject: z.string(),
|
|
@@ -717,7 +751,13 @@ export const GachaPoolZod = z.strictObject({
|
|
|
717
751
|
gachaObjGroupType: z.number(),
|
|
718
752
|
playerDataDelta: z.strictObject({
|
|
719
753
|
modified: z.strictObject({}),
|
|
720
|
-
deleted: z.strictObject({
|
|
754
|
+
deleted: z.strictObject({
|
|
755
|
+
activity: z.strictObject({
|
|
756
|
+
TYPE_ACT9D0: z.array(z.string()),
|
|
757
|
+
CHECKIN_ONLY: z.array(z.string()),
|
|
758
|
+
LOGIN_ONLY: z.array(z.string()),
|
|
759
|
+
}).optional(),
|
|
760
|
+
}),
|
|
721
761
|
}),
|
|
722
762
|
}),
|
|
723
763
|
});
|
|
@@ -736,6 +776,9 @@ export const GameEventZod = z.strictObject({
|
|
|
736
776
|
ungroupedMedalIds: z.array(z.string()).nullable(),
|
|
737
777
|
isReplicate: z.boolean(),
|
|
738
778
|
needFixedSync: z.boolean(),
|
|
779
|
+
trapDomainId: z.string().nullable(),
|
|
780
|
+
recType: z.string().nullable(),
|
|
781
|
+
isPageEntry: z.boolean(),
|
|
739
782
|
});
|
|
740
783
|
export const GridRangeZod = z.strictObject({
|
|
741
784
|
id: z.string(),
|
|
@@ -799,12 +842,21 @@ export const ModuleZod = z.strictObject({
|
|
|
799
842
|
tmplId: z.string().nullable(),
|
|
800
843
|
showLevel: z.number(),
|
|
801
844
|
unlockLevel: z.number(),
|
|
802
|
-
unlockFavorPoint: z.number(),
|
|
845
|
+
unlockFavorPoint: z.number().optional(),
|
|
803
846
|
missionList: z.array(z.string()),
|
|
847
|
+
unlockFavors: z.strictObject({
|
|
848
|
+
1: z.number(),
|
|
849
|
+
2: z.number(),
|
|
850
|
+
3: z.number(),
|
|
851
|
+
}).nullable(),
|
|
804
852
|
itemCost: z.record(z.string(), z.array(LevelUpCostZod)).nullable(),
|
|
805
853
|
type: z.string(),
|
|
806
854
|
uniEquipGetTime: z.number(),
|
|
807
855
|
charEquipOrder: z.number(),
|
|
856
|
+
hasUnlockMission: z.boolean(),
|
|
857
|
+
isSpecialEquip: z.boolean(),
|
|
858
|
+
specialEquipDesc: z.string().nullable(),
|
|
859
|
+
specialEquipColor: z.string().nullable(),
|
|
808
860
|
}),
|
|
809
861
|
data: z.strictObject({
|
|
810
862
|
phases: z.array(
|
|
@@ -829,6 +881,7 @@ export const ModuleZod = z.strictObject({
|
|
|
829
881
|
rangeId: z.string().nullable(),
|
|
830
882
|
blackboard: z.array(BlackboardZod),
|
|
831
883
|
tokenKey: z.string().optional(),
|
|
884
|
+
isHideTalent: z.boolean(),
|
|
832
885
|
}),
|
|
833
886
|
).nullable(),
|
|
834
887
|
}),
|
|
@@ -878,9 +931,6 @@ export const ParadoxZod = z.strictObject({
|
|
|
878
931
|
type: z.string(),
|
|
879
932
|
})
|
|
880
933
|
),
|
|
881
|
-
stageNameForShow: z.string(),
|
|
882
|
-
zoneNameForShow: z.string(),
|
|
883
|
-
picId: z.string(),
|
|
884
934
|
stageGetTime: z.number(),
|
|
885
935
|
}),
|
|
886
936
|
levels: StageDataZod,
|
|
@@ -1043,6 +1093,7 @@ export const StageZod = z.strictObject({
|
|
|
1043
1093
|
canUseTech: z.boolean(),
|
|
1044
1094
|
canUseTrapTool: z.boolean(),
|
|
1045
1095
|
canUseBattlePerformance: z.boolean(),
|
|
1096
|
+
canContinuousBattle: z.boolean(),
|
|
1046
1097
|
startButtonOverrideId: z.string().nullable(),
|
|
1047
1098
|
isStagePatch: z.boolean(),
|
|
1048
1099
|
mainStageId: z.string().nullable(),
|
|
@@ -1141,6 +1192,7 @@ export const DeployableZod = z.strictObject({
|
|
|
1141
1192
|
rangeId: z.string().nullable(),
|
|
1142
1193
|
blackboard: z.array(BlackboardZod),
|
|
1143
1194
|
tokenKey: z.string().nullable(),
|
|
1195
|
+
isHideTalent: z.boolean(),
|
|
1144
1196
|
})
|
|
1145
1197
|
).nullable(),
|
|
1146
1198
|
})
|
|
@@ -1223,4 +1275,4 @@ export type SandboxWeather = z.infer<typeof SandboxWeatherZod>;
|
|
|
1223
1275
|
export type Skill = z.infer<typeof SkillZod>;
|
|
1224
1276
|
export type Skin = z.infer<typeof SkinZod>;
|
|
1225
1277
|
export type Stage = z.infer<typeof StageZod>;
|
|
1226
|
-
export type StageData = z.infer<typeof StageDataZod>;
|
|
1278
|
+
export type StageData = z.infer<typeof StageDataZod>;
|
package/tsconfig.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"outDir": "dist",
|
|
4
|
-
"declaration": true,
|
|
5
|
-
"strict": true
|
|
6
|
-
},
|
|
7
|
-
"include": [
|
|
8
|
-
"src/"
|
|
9
|
-
]
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"outDir": "dist",
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"strict": true
|
|
6
|
+
},
|
|
7
|
+
"include": [
|
|
8
|
+
"src/"
|
|
9
|
+
]
|
|
10
10
|
}
|