hella-types 0.1.1 → 0.2.1
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 +11 -0
- package/dist/index.d.ts +4381 -2667
- package/dist/index.js +69 -22
- package/package.json +2 -2
- package/src/index.ts +69 -22
- package/tsconfig.json +9 -9
- package/.gitattributes +0 -1
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,41 @@ 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(),
|
|
640
652
|
}),
|
|
653
|
+
z.strictObject({
|
|
654
|
+
attainRare6CharList: z.array(z.string()),
|
|
655
|
+
attainRare6Num: z.number(),
|
|
656
|
+
scrollIndex: z.number().optional(),
|
|
657
|
+
})
|
|
641
658
|
]).nullable(),
|
|
642
659
|
linkageRuleId: z.string().nullable(),
|
|
643
660
|
linkageParam: z.strictObject({
|
|
644
661
|
guaranteeTarget6Count: z.number(),
|
|
645
662
|
}).nullable(),
|
|
663
|
+
limitParam: z.strictObject({
|
|
664
|
+
freeCount: z.number(),
|
|
665
|
+
hasFreeChar: z.boolean(),
|
|
666
|
+
limitedCharId: z.string(),
|
|
667
|
+
}).nullable().optional(),
|
|
646
668
|
}),
|
|
647
669
|
details: z.strictObject({
|
|
648
670
|
detailInfo: z.strictObject({
|
|
@@ -666,8 +688,12 @@ exports.GachaPoolZod = z.strictObject({
|
|
|
666
688
|
count: z.number(),
|
|
667
689
|
})),
|
|
668
690
|
}),
|
|
669
|
-
limitedChar: z.
|
|
670
|
-
weightUpCharInfoList: z.
|
|
691
|
+
limitedChar: z.union([z.string(), z.array(z.string())]).nullable(),
|
|
692
|
+
weightUpCharInfoList: z.array(z.strictObject({
|
|
693
|
+
rarityRank: z.number(),
|
|
694
|
+
charId: z.string(),
|
|
695
|
+
weight: z.number(),
|
|
696
|
+
})).nullable(),
|
|
671
697
|
gachaObjList: z.array(z.strictObject({
|
|
672
698
|
gachaObject: z.string(),
|
|
673
699
|
type: z.number(),
|
|
@@ -678,7 +704,13 @@ exports.GachaPoolZod = z.strictObject({
|
|
|
678
704
|
gachaObjGroupType: z.number(),
|
|
679
705
|
playerDataDelta: z.strictObject({
|
|
680
706
|
modified: z.strictObject({}),
|
|
681
|
-
deleted: z.strictObject({
|
|
707
|
+
deleted: z.strictObject({
|
|
708
|
+
activity: z.strictObject({
|
|
709
|
+
TYPE_ACT9D0: z.array(z.string()),
|
|
710
|
+
CHECKIN_ONLY: z.array(z.string()),
|
|
711
|
+
LOGIN_ONLY: z.array(z.string()),
|
|
712
|
+
}).optional(),
|
|
713
|
+
}),
|
|
682
714
|
}),
|
|
683
715
|
}),
|
|
684
716
|
});
|
|
@@ -697,6 +729,9 @@ exports.GameEventZod = z.strictObject({
|
|
|
697
729
|
ungroupedMedalIds: z.array(z.string()).nullable(),
|
|
698
730
|
isReplicate: z.boolean(),
|
|
699
731
|
needFixedSync: z.boolean(),
|
|
732
|
+
trapDomainId: z.string().nullable(),
|
|
733
|
+
recType: z.string().nullable(),
|
|
734
|
+
isPageEntry: z.boolean(),
|
|
700
735
|
});
|
|
701
736
|
exports.GridRangeZod = z.strictObject({
|
|
702
737
|
id: z.string(),
|
|
@@ -752,12 +787,21 @@ exports.ModuleZod = z.strictObject({
|
|
|
752
787
|
tmplId: z.string().nullable(),
|
|
753
788
|
showLevel: z.number(),
|
|
754
789
|
unlockLevel: z.number(),
|
|
755
|
-
unlockFavorPoint: z.number(),
|
|
790
|
+
unlockFavorPoint: z.number().optional(),
|
|
756
791
|
missionList: z.array(z.string()),
|
|
792
|
+
unlockFavors: z.strictObject({
|
|
793
|
+
1: z.number(),
|
|
794
|
+
2: z.number(),
|
|
795
|
+
3: z.number(),
|
|
796
|
+
}).nullable(),
|
|
757
797
|
itemCost: z.record(z.string(), z.array(LevelUpCostZod)).nullable(),
|
|
758
798
|
type: z.string(),
|
|
759
799
|
uniEquipGetTime: z.number(),
|
|
760
800
|
charEquipOrder: z.number(),
|
|
801
|
+
hasUnlockMission: z.boolean(),
|
|
802
|
+
isSpecialEquip: z.boolean(),
|
|
803
|
+
specialEquipDesc: z.string().nullable(),
|
|
804
|
+
specialEquipColor: z.string().nullable(),
|
|
761
805
|
}),
|
|
762
806
|
data: z.strictObject({
|
|
763
807
|
phases: z.array(z.strictObject({
|
|
@@ -779,6 +823,7 @@ exports.ModuleZod = z.strictObject({
|
|
|
779
823
|
rangeId: z.string().nullable(),
|
|
780
824
|
blackboard: z.array(BlackboardZod),
|
|
781
825
|
tokenKey: z.string().optional(),
|
|
826
|
+
isHideTalent: z.boolean(),
|
|
782
827
|
})).nullable(),
|
|
783
828
|
}),
|
|
784
829
|
overrideTraitDataBundle: z.strictObject({
|
|
@@ -974,6 +1019,7 @@ exports.StageZod = z.strictObject({
|
|
|
974
1019
|
canUseTech: z.boolean(),
|
|
975
1020
|
canUseTrapTool: z.boolean(),
|
|
976
1021
|
canUseBattlePerformance: z.boolean(),
|
|
1022
|
+
canContinuousBattle: z.boolean(),
|
|
977
1023
|
startButtonOverrideId: z.string().nullable(),
|
|
978
1024
|
isStagePatch: z.boolean(),
|
|
979
1025
|
mainStageId: z.string().nullable(),
|
|
@@ -1060,6 +1106,7 @@ exports.DeployableZod = z.strictObject({
|
|
|
1060
1106
|
rangeId: z.string().nullable(),
|
|
1061
1107
|
blackboard: z.array(BlackboardZod),
|
|
1062
1108
|
tokenKey: z.string().nullable(),
|
|
1109
|
+
isHideTalent: z.boolean(),
|
|
1063
1110
|
})).nullable(),
|
|
1064
1111
|
})).nullable(),
|
|
1065
1112
|
potentialRanks: z.array(z.strictObject({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hella-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"author": "",
|
|
@@ -17,6 +17,6 @@
|
|
|
17
17
|
},
|
|
18
18
|
"repository": {
|
|
19
19
|
"type": "git",
|
|
20
|
-
"url": "https://github.com/Awedtan/
|
|
20
|
+
"url": "https://github.com/Awedtan/HellaAPI.git"
|
|
21
21
|
}
|
|
22
22
|
}
|
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,41 @@ 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
|
+
})
|
|
674
691
|
]).nullable(),
|
|
675
692
|
linkageRuleId: z.string().nullable(),
|
|
676
693
|
linkageParam: z.strictObject({
|
|
677
694
|
guaranteeTarget6Count: z.number(),
|
|
678
695
|
}).nullable(),
|
|
696
|
+
limitParam: z.strictObject({
|
|
697
|
+
freeCount: z.number(),
|
|
698
|
+
hasFreeChar: z.boolean(),
|
|
699
|
+
limitedCharId: z.string(),
|
|
700
|
+
}).nullable().optional(),
|
|
679
701
|
}),
|
|
680
702
|
details: z.strictObject({
|
|
681
703
|
detailInfo: z.strictObject({
|
|
@@ -703,8 +725,12 @@ export const GachaPoolZod = z.strictObject({
|
|
|
703
725
|
})
|
|
704
726
|
),
|
|
705
727
|
}),
|
|
706
|
-
limitedChar: z.
|
|
707
|
-
weightUpCharInfoList: z.
|
|
728
|
+
limitedChar: z.union([z.string(), z.array(z.string())]).nullable(),
|
|
729
|
+
weightUpCharInfoList: z.array(z.strictObject({
|
|
730
|
+
rarityRank: z.number(),
|
|
731
|
+
charId: z.string(),
|
|
732
|
+
weight: z.number(),
|
|
733
|
+
})).nullable(),
|
|
708
734
|
gachaObjList: z.array(
|
|
709
735
|
z.strictObject({
|
|
710
736
|
gachaObject: z.string(),
|
|
@@ -717,7 +743,13 @@ export const GachaPoolZod = z.strictObject({
|
|
|
717
743
|
gachaObjGroupType: z.number(),
|
|
718
744
|
playerDataDelta: z.strictObject({
|
|
719
745
|
modified: z.strictObject({}),
|
|
720
|
-
deleted: z.strictObject({
|
|
746
|
+
deleted: z.strictObject({
|
|
747
|
+
activity: z.strictObject({
|
|
748
|
+
TYPE_ACT9D0: z.array(z.string()),
|
|
749
|
+
CHECKIN_ONLY: z.array(z.string()),
|
|
750
|
+
LOGIN_ONLY: z.array(z.string()),
|
|
751
|
+
}).optional(),
|
|
752
|
+
}),
|
|
721
753
|
}),
|
|
722
754
|
}),
|
|
723
755
|
});
|
|
@@ -736,6 +768,9 @@ export const GameEventZod = z.strictObject({
|
|
|
736
768
|
ungroupedMedalIds: z.array(z.string()).nullable(),
|
|
737
769
|
isReplicate: z.boolean(),
|
|
738
770
|
needFixedSync: z.boolean(),
|
|
771
|
+
trapDomainId: z.string().nullable(),
|
|
772
|
+
recType: z.string().nullable(),
|
|
773
|
+
isPageEntry: z.boolean(),
|
|
739
774
|
});
|
|
740
775
|
export const GridRangeZod = z.strictObject({
|
|
741
776
|
id: z.string(),
|
|
@@ -799,12 +834,21 @@ export const ModuleZod = z.strictObject({
|
|
|
799
834
|
tmplId: z.string().nullable(),
|
|
800
835
|
showLevel: z.number(),
|
|
801
836
|
unlockLevel: z.number(),
|
|
802
|
-
unlockFavorPoint: z.number(),
|
|
837
|
+
unlockFavorPoint: z.number().optional(),
|
|
803
838
|
missionList: z.array(z.string()),
|
|
839
|
+
unlockFavors: z.strictObject({
|
|
840
|
+
1: z.number(),
|
|
841
|
+
2: z.number(),
|
|
842
|
+
3: z.number(),
|
|
843
|
+
}).nullable(),
|
|
804
844
|
itemCost: z.record(z.string(), z.array(LevelUpCostZod)).nullable(),
|
|
805
845
|
type: z.string(),
|
|
806
846
|
uniEquipGetTime: z.number(),
|
|
807
847
|
charEquipOrder: z.number(),
|
|
848
|
+
hasUnlockMission: z.boolean(),
|
|
849
|
+
isSpecialEquip: z.boolean(),
|
|
850
|
+
specialEquipDesc: z.string().nullable(),
|
|
851
|
+
specialEquipColor: z.string().nullable(),
|
|
808
852
|
}),
|
|
809
853
|
data: z.strictObject({
|
|
810
854
|
phases: z.array(
|
|
@@ -829,6 +873,7 @@ export const ModuleZod = z.strictObject({
|
|
|
829
873
|
rangeId: z.string().nullable(),
|
|
830
874
|
blackboard: z.array(BlackboardZod),
|
|
831
875
|
tokenKey: z.string().optional(),
|
|
876
|
+
isHideTalent: z.boolean(),
|
|
832
877
|
}),
|
|
833
878
|
).nullable(),
|
|
834
879
|
}),
|
|
@@ -1043,6 +1088,7 @@ export const StageZod = z.strictObject({
|
|
|
1043
1088
|
canUseTech: z.boolean(),
|
|
1044
1089
|
canUseTrapTool: z.boolean(),
|
|
1045
1090
|
canUseBattlePerformance: z.boolean(),
|
|
1091
|
+
canContinuousBattle: z.boolean(),
|
|
1046
1092
|
startButtonOverrideId: z.string().nullable(),
|
|
1047
1093
|
isStagePatch: z.boolean(),
|
|
1048
1094
|
mainStageId: z.string().nullable(),
|
|
@@ -1141,6 +1187,7 @@ export const DeployableZod = z.strictObject({
|
|
|
1141
1187
|
rangeId: z.string().nullable(),
|
|
1142
1188
|
blackboard: z.array(BlackboardZod),
|
|
1143
1189
|
tokenKey: z.string().nullable(),
|
|
1190
|
+
isHideTalent: z.boolean(),
|
|
1144
1191
|
})
|
|
1145
1192
|
).nullable(),
|
|
1146
1193
|
})
|
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
|
}
|
package/.gitattributes
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
* text=auto eol=lf
|