hella-types 0.2.5 → 0.2.7
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 +587 -160
- package/dist/index.js +10 -1
- package/package.json +1 -1
- package/src/index.ts +10 -1
package/dist/index.js
CHANGED
|
@@ -238,6 +238,7 @@ var StageActionZod = z.strictObject({
|
|
|
238
238
|
isValid: z.boolean().optional(),
|
|
239
239
|
extraMeta: z.null().optional(),
|
|
240
240
|
actionId: z.null().optional(),
|
|
241
|
+
forceBlockWaveInBranch: z.boolean().optional(),
|
|
241
242
|
});
|
|
242
243
|
var StageRouteZod = z.strictObject({
|
|
243
244
|
motionMode: z.union([z.string(), z.number()]),
|
|
@@ -417,6 +418,7 @@ var StageDataZod = z.strictObject({
|
|
|
417
418
|
randomSeed: z.number(),
|
|
418
419
|
operaConfig: z.string().nullable().optional(),
|
|
419
420
|
runtimeData: z.null().optional(),
|
|
421
|
+
cameraPlugin: z.string().nullable().optional(),
|
|
420
422
|
});
|
|
421
423
|
var RogueRelicZod = z.strictObject({
|
|
422
424
|
id: z.string(),
|
|
@@ -438,6 +440,7 @@ var RogueStageZod = z.strictObject({
|
|
|
438
440
|
id: z.string(),
|
|
439
441
|
linkedStageId: z.string(),
|
|
440
442
|
levelId: z.string(),
|
|
443
|
+
levelReplaceIds: z.array(z.string()),
|
|
441
444
|
code: z.string(),
|
|
442
445
|
name: z.string(),
|
|
443
446
|
loadingPicId: z.string(),
|
|
@@ -639,6 +642,10 @@ exports.GachaPoolZod = z.strictObject({
|
|
|
639
642
|
z.strictObject({
|
|
640
643
|
chooseRuleConst: z.string(),
|
|
641
644
|
homeDescConst: z.string(),
|
|
645
|
+
pickUpPerCharPercent: z.strictObject({
|
|
646
|
+
TIER_5: z.number(),
|
|
647
|
+
TIER_6: z.number(),
|
|
648
|
+
}).optional(),
|
|
642
649
|
rarityPickCharDict: z.record(z.string(), z.array(z.string())),
|
|
643
650
|
scrollIndex: z.number(),
|
|
644
651
|
star5ChooseRuleConst: z.string(),
|
|
@@ -710,6 +717,7 @@ exports.GachaPoolZod = z.strictObject({
|
|
|
710
717
|
})),
|
|
711
718
|
}),
|
|
712
719
|
gachaObjGroupType: z.number(),
|
|
720
|
+
hasRateUp: z.boolean().optional(),
|
|
713
721
|
playerDataDelta: z.strictObject({
|
|
714
722
|
modified: z.strictObject({}),
|
|
715
723
|
deleted: z.strictObject({
|
|
@@ -830,7 +838,7 @@ exports.ModuleZod = z.strictObject({
|
|
|
830
838
|
description: z.string().nullable(),
|
|
831
839
|
rangeId: z.string().nullable(),
|
|
832
840
|
blackboard: z.array(BlackboardZod),
|
|
833
|
-
tokenKey: z.string().optional(),
|
|
841
|
+
tokenKey: z.string().nullable().optional(),
|
|
834
842
|
isHideTalent: z.boolean(),
|
|
835
843
|
})).nullable(),
|
|
836
844
|
}),
|
|
@@ -1024,6 +1032,7 @@ exports.StageZod = z.strictObject({
|
|
|
1024
1032
|
canUseTech: z.boolean(),
|
|
1025
1033
|
canUseTrapTool: z.boolean(),
|
|
1026
1034
|
canUseBattlePerformance: z.boolean(),
|
|
1035
|
+
canUseFirework: z.boolean().optional(),
|
|
1027
1036
|
canContinuousBattle: z.boolean(),
|
|
1028
1037
|
startButtonOverrideId: z.string().nullable(),
|
|
1029
1038
|
isStagePatch: z.boolean(),
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -249,6 +249,7 @@ const StageActionZod = z.strictObject({
|
|
|
249
249
|
isValid: z.boolean().optional(),
|
|
250
250
|
extraMeta: z.null().optional(),
|
|
251
251
|
actionId: z.null().optional(),
|
|
252
|
+
forceBlockWaveInBranch: z.boolean().optional(),
|
|
252
253
|
});
|
|
253
254
|
const StageRouteZod = z.strictObject({
|
|
254
255
|
motionMode: z.union([z.string(), z.number()]),
|
|
@@ -445,6 +446,7 @@ const StageDataZod = z.strictObject({
|
|
|
445
446
|
randomSeed: z.number(),
|
|
446
447
|
operaConfig: z.string().nullable().optional(),
|
|
447
448
|
runtimeData: z.null().optional(),
|
|
449
|
+
cameraPlugin: z.string().nullable().optional(),
|
|
448
450
|
});
|
|
449
451
|
const RogueRelicZod = z.strictObject({
|
|
450
452
|
id: z.string(),
|
|
@@ -466,6 +468,7 @@ const RogueStageZod = z.strictObject({
|
|
|
466
468
|
id: z.string(),
|
|
467
469
|
linkedStageId: z.string(),
|
|
468
470
|
levelId: z.string(),
|
|
471
|
+
levelReplaceIds: z.array(z.string()),
|
|
469
472
|
code: z.string(),
|
|
470
473
|
name: z.string(),
|
|
471
474
|
loadingPicId: z.string(),
|
|
@@ -672,6 +675,10 @@ export const GachaPoolZod = z.strictObject({
|
|
|
672
675
|
z.strictObject({
|
|
673
676
|
chooseRuleConst: z.string(),
|
|
674
677
|
homeDescConst: z.string(),
|
|
678
|
+
pickUpPerCharPercent: z.strictObject({
|
|
679
|
+
TIER_5: z.number(),
|
|
680
|
+
TIER_6: z.number(),
|
|
681
|
+
}).optional(),
|
|
675
682
|
rarityPickCharDict: z.record(z.string(), z.array(z.string())),
|
|
676
683
|
scrollIndex: z.number(),
|
|
677
684
|
star5ChooseRuleConst: z.string(),
|
|
@@ -749,6 +756,7 @@ export const GachaPoolZod = z.strictObject({
|
|
|
749
756
|
),
|
|
750
757
|
}),
|
|
751
758
|
gachaObjGroupType: z.number(),
|
|
759
|
+
hasRateUp: z.boolean().optional(),
|
|
752
760
|
playerDataDelta: z.strictObject({
|
|
753
761
|
modified: z.strictObject({}),
|
|
754
762
|
deleted: z.strictObject({
|
|
@@ -880,7 +888,7 @@ export const ModuleZod = z.strictObject({
|
|
|
880
888
|
description: z.string().nullable(),
|
|
881
889
|
rangeId: z.string().nullable(),
|
|
882
890
|
blackboard: z.array(BlackboardZod),
|
|
883
|
-
tokenKey: z.string().optional(),
|
|
891
|
+
tokenKey: z.string().nullable().optional(),
|
|
884
892
|
isHideTalent: z.boolean(),
|
|
885
893
|
}),
|
|
886
894
|
).nullable(),
|
|
@@ -1093,6 +1101,7 @@ export const StageZod = z.strictObject({
|
|
|
1093
1101
|
canUseTech: z.boolean(),
|
|
1094
1102
|
canUseTrapTool: z.boolean(),
|
|
1095
1103
|
canUseBattlePerformance: z.boolean(),
|
|
1104
|
+
canUseFirework: z.boolean().optional(),
|
|
1096
1105
|
canContinuousBattle: z.boolean(),
|
|
1097
1106
|
startButtonOverrideId: z.string().nullable(),
|
|
1098
1107
|
isStagePatch: z.boolean(),
|