hella-types 0.2.15 → 0.2.16
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/README.md +2 -0
- package/dist/index.d.ts +1989 -5
- package/dist/index.js +22 -1
- package/package.json +1 -1
- package/src/index.ts +24 -2
package/dist/index.js
CHANGED
|
@@ -50,6 +50,7 @@ var AttributesKeyFrameZod = z.strictObject({
|
|
|
50
50
|
levitateImmune: z.boolean(),
|
|
51
51
|
disarmedCombatImmune: z.boolean(),
|
|
52
52
|
fearedImmune: z.boolean(),
|
|
53
|
+
palsyImmune: z.boolean(),
|
|
53
54
|
}),
|
|
54
55
|
});
|
|
55
56
|
var EnemyAttributesZod = z.strictObject({
|
|
@@ -80,6 +81,7 @@ var EnemyAttributesZod = z.strictObject({
|
|
|
80
81
|
levitateImmune: DefinedBooleanZod.optional(),
|
|
81
82
|
disarmedCombatImmune: DefinedBooleanZod.optional(),
|
|
82
83
|
fearedImmune: DefinedBooleanZod.optional(),
|
|
84
|
+
palsyImmune: DefinedBooleanZod.optional(),
|
|
83
85
|
});
|
|
84
86
|
var EnemySkillsZod = z.strictObject({
|
|
85
87
|
prefabKey: z.string(),
|
|
@@ -188,6 +190,7 @@ var StageCardZod = z.strictObject({
|
|
|
188
190
|
key: z.string(),
|
|
189
191
|
level: z.number(),
|
|
190
192
|
})).nullable().optional(),
|
|
193
|
+
showSpIllust: z.boolean().optional(),
|
|
191
194
|
inst: z.strictObject({
|
|
192
195
|
characterKey: z.string(),
|
|
193
196
|
level: z.number(),
|
|
@@ -384,6 +387,7 @@ var StageDataZod = z.strictObject({
|
|
|
384
387
|
levitateImmune: z.boolean(),
|
|
385
388
|
disarmedCombatImmune: z.boolean(),
|
|
386
389
|
fearedImmune: z.boolean().optional(),
|
|
390
|
+
palsyImmune: z.boolean().optional(),
|
|
387
391
|
}),
|
|
388
392
|
applyWay: z.string(),
|
|
389
393
|
motion: z.string(),
|
|
@@ -571,6 +575,7 @@ exports.GachaPoolZod = z.strictObject({
|
|
|
571
575
|
freeCount: z.number(),
|
|
572
576
|
hasFreeChar: z.boolean(),
|
|
573
577
|
limitedCharId: z.string(),
|
|
578
|
+
version: z.number().optional(),
|
|
574
579
|
}).nullable().optional(),
|
|
575
580
|
}),
|
|
576
581
|
details: z.strictObject({
|
|
@@ -829,6 +834,8 @@ exports.RogueStageZod = z.strictObject({
|
|
|
829
834
|
vutresProb: z.array(z.number()),
|
|
830
835
|
boxProb: z.array(z.number()),
|
|
831
836
|
specialNodeId: z.string().nullable(),
|
|
837
|
+
redCapsulePool: z.string().nullable(),
|
|
838
|
+
redCapsuleProb: z.number(),
|
|
832
839
|
}),
|
|
833
840
|
levels: StageDataZod,
|
|
834
841
|
});
|
|
@@ -966,7 +973,9 @@ exports.SkinZod = z.strictObject({
|
|
|
966
973
|
tokenSkinId: z.string(),
|
|
967
974
|
})).nullable(),
|
|
968
975
|
illustId: z.string().nullable(),
|
|
976
|
+
spIllustId: z.string().nullable(),
|
|
969
977
|
dynIllustId: z.string().nullable(),
|
|
978
|
+
spDynIllustId: z.string().nullable(),
|
|
970
979
|
avatarId: z.string(),
|
|
971
980
|
portraitId: z.string().nullable(),
|
|
972
981
|
dynPortraitId: z.string().nullable(),
|
|
@@ -1027,6 +1036,7 @@ exports.StageZod = z.strictObject({
|
|
|
1027
1036
|
canBattleReplay: z.boolean(),
|
|
1028
1037
|
apCost: z.number(),
|
|
1029
1038
|
apFailReturn: z.number(),
|
|
1039
|
+
maxSlot: z.number(),
|
|
1030
1040
|
etItemId: z.string().nullable(),
|
|
1031
1041
|
etCost: z.number(),
|
|
1032
1042
|
etFailReturn: z.number(),
|
|
@@ -1072,7 +1082,7 @@ exports.StageZod = z.strictObject({
|
|
|
1072
1082
|
canUseTrapTool: z.boolean(),
|
|
1073
1083
|
canUseBattlePerformance: z.boolean(),
|
|
1074
1084
|
canUseFirework: z.boolean().optional(),
|
|
1075
|
-
|
|
1085
|
+
canMultipleBattle: z.boolean(),
|
|
1076
1086
|
startButtonOverrideId: z.string().nullable(),
|
|
1077
1087
|
isStagePatch: z.boolean(),
|
|
1078
1088
|
mainStageId: z.string().nullable(),
|
|
@@ -1110,6 +1120,7 @@ exports.DeployableZod = z.strictObject({
|
|
|
1110
1120
|
data: z.strictObject({
|
|
1111
1121
|
name: z.string(),
|
|
1112
1122
|
description: z.string().nullable(),
|
|
1123
|
+
sortIndex: z.number(),
|
|
1113
1124
|
canUseGeneralPotentialItem: z.boolean(),
|
|
1114
1125
|
canUseActivityPotentialItem: z.boolean(),
|
|
1115
1126
|
potentialItemId: z.string().nullable(),
|
|
@@ -1118,6 +1129,16 @@ exports.DeployableZod = z.strictObject({
|
|
|
1118
1129
|
nationId: z.string().nullable(),
|
|
1119
1130
|
groupId: z.string().nullable(),
|
|
1120
1131
|
teamId: z.string().nullable(),
|
|
1132
|
+
mainPower: z.strictObject({
|
|
1133
|
+
nationId: z.string().nullable(),
|
|
1134
|
+
groupId: z.string().nullable(),
|
|
1135
|
+
teamId: z.string().nullable(),
|
|
1136
|
+
}),
|
|
1137
|
+
subPower: z.array(z.strictObject({
|
|
1138
|
+
nationId: z.string().nullable(),
|
|
1139
|
+
groupId: z.string().nullable(),
|
|
1140
|
+
teamId: z.string().nullable(),
|
|
1141
|
+
})).nullable(),
|
|
1121
1142
|
displayNumber: z.string().nullable(),
|
|
1122
1143
|
appellation: z.string(),
|
|
1123
1144
|
position: z.string(),
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { count } from 'console';
|
|
2
1
|
import * as z from 'zod';
|
|
3
2
|
|
|
4
3
|
const BlackboardZod = z.strictObject({
|
|
@@ -50,6 +49,7 @@ const AttributesKeyFrameZod = z.strictObject({
|
|
|
50
49
|
levitateImmune: z.boolean(),
|
|
51
50
|
disarmedCombatImmune: z.boolean(),
|
|
52
51
|
fearedImmune: z.boolean(),
|
|
52
|
+
palsyImmune: z.boolean(),
|
|
53
53
|
}),
|
|
54
54
|
});
|
|
55
55
|
const EnemyAttributesZod = z.strictObject({
|
|
@@ -80,6 +80,7 @@ const EnemyAttributesZod = z.strictObject({
|
|
|
80
80
|
levitateImmune: DefinedBooleanZod.optional(),
|
|
81
81
|
disarmedCombatImmune: DefinedBooleanZod.optional(),
|
|
82
82
|
fearedImmune: DefinedBooleanZod.optional(),
|
|
83
|
+
palsyImmune: DefinedBooleanZod.optional(),
|
|
83
84
|
});
|
|
84
85
|
const EnemySkillsZod = z.strictObject({
|
|
85
86
|
prefabKey: z.string(),
|
|
@@ -200,6 +201,7 @@ const StageCardZod = z.strictObject({
|
|
|
200
201
|
level: z.number(),
|
|
201
202
|
})
|
|
202
203
|
).nullable().optional(),
|
|
204
|
+
showSpIllust: z.boolean().optional(),
|
|
203
205
|
inst: z.strictObject({
|
|
204
206
|
characterKey: z.string(),
|
|
205
207
|
level: z.number(),
|
|
@@ -403,6 +405,7 @@ const StageDataZod = z.strictObject({
|
|
|
403
405
|
levitateImmune: z.boolean(),
|
|
404
406
|
disarmedCombatImmune: z.boolean(),
|
|
405
407
|
fearedImmune: z.boolean().optional(),
|
|
408
|
+
palsyImmune: z.boolean().optional(),
|
|
406
409
|
}),
|
|
407
410
|
applyWay: z.string(),
|
|
408
411
|
motion: z.string(),
|
|
@@ -603,6 +606,7 @@ export const GachaPoolZod = z.strictObject({
|
|
|
603
606
|
freeCount: z.number(),
|
|
604
607
|
hasFreeChar: z.boolean(),
|
|
605
608
|
limitedCharId: z.string(),
|
|
609
|
+
version: z.number().optional(),
|
|
606
610
|
}).nullable().optional(),
|
|
607
611
|
}),
|
|
608
612
|
details: z.strictObject({
|
|
@@ -887,6 +891,8 @@ export const RogueStageZod = z.strictObject({
|
|
|
887
891
|
vutresProb: z.array(z.number()),
|
|
888
892
|
boxProb: z.array(z.number()),
|
|
889
893
|
specialNodeId: z.string().nullable(),
|
|
894
|
+
redCapsulePool: z.string().nullable(),
|
|
895
|
+
redCapsuleProb: z.number(),
|
|
890
896
|
}),
|
|
891
897
|
levels: StageDataZod,
|
|
892
898
|
});
|
|
@@ -1028,7 +1034,9 @@ export const SkinZod = z.strictObject({
|
|
|
1028
1034
|
})
|
|
1029
1035
|
).nullable(),
|
|
1030
1036
|
illustId: z.string().nullable(),
|
|
1037
|
+
spIllustId: z.string().nullable(),
|
|
1031
1038
|
dynIllustId: z.string().nullable(),
|
|
1039
|
+
spDynIllustId: z.string().nullable(),
|
|
1032
1040
|
avatarId: z.string(),
|
|
1033
1041
|
portraitId: z.string().nullable(),
|
|
1034
1042
|
dynPortraitId: z.string().nullable(),
|
|
@@ -1091,6 +1099,7 @@ export const StageZod = z.strictObject({
|
|
|
1091
1099
|
canBattleReplay: z.boolean(),
|
|
1092
1100
|
apCost: z.number(),
|
|
1093
1101
|
apFailReturn: z.number(),
|
|
1102
|
+
maxSlot: z.number(),
|
|
1094
1103
|
etItemId: z.string().nullable(),
|
|
1095
1104
|
etCost: z.number(),
|
|
1096
1105
|
etFailReturn: z.number(),
|
|
@@ -1140,7 +1149,7 @@ export const StageZod = z.strictObject({
|
|
|
1140
1149
|
canUseTrapTool: z.boolean(),
|
|
1141
1150
|
canUseBattlePerformance: z.boolean(),
|
|
1142
1151
|
canUseFirework: z.boolean().optional(),
|
|
1143
|
-
|
|
1152
|
+
canMultipleBattle: z.boolean(),
|
|
1144
1153
|
startButtonOverrideId: z.string().nullable(),
|
|
1145
1154
|
isStagePatch: z.boolean(),
|
|
1146
1155
|
mainStageId: z.string().nullable(),
|
|
@@ -1182,6 +1191,7 @@ export const DeployableZod = z.strictObject({
|
|
|
1182
1191
|
data: z.strictObject({
|
|
1183
1192
|
name: z.string(),
|
|
1184
1193
|
description: z.string().nullable(),
|
|
1194
|
+
sortIndex: z.number(),
|
|
1185
1195
|
canUseGeneralPotentialItem: z.boolean(),
|
|
1186
1196
|
canUseActivityPotentialItem: z.boolean(),
|
|
1187
1197
|
potentialItemId: z.string().nullable(),
|
|
@@ -1190,6 +1200,18 @@ export const DeployableZod = z.strictObject({
|
|
|
1190
1200
|
nationId: z.string().nullable(),
|
|
1191
1201
|
groupId: z.string().nullable(),
|
|
1192
1202
|
teamId: z.string().nullable(),
|
|
1203
|
+
mainPower: z.strictObject({
|
|
1204
|
+
nationId: z.string().nullable(),
|
|
1205
|
+
groupId: z.string().nullable(),
|
|
1206
|
+
teamId: z.string().nullable(),
|
|
1207
|
+
}),
|
|
1208
|
+
subPower: z.array(
|
|
1209
|
+
z.strictObject({
|
|
1210
|
+
nationId: z.string().nullable(),
|
|
1211
|
+
groupId: z.string().nullable(),
|
|
1212
|
+
teamId: z.string().nullable(),
|
|
1213
|
+
})
|
|
1214
|
+
).nullable(),
|
|
1193
1215
|
displayNumber: z.string().nullable(),
|
|
1194
1216
|
appellation: z.string(),
|
|
1195
1217
|
position: z.string(),
|