hella-types 0.0.8 → 0.0.10

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/src/index.ts CHANGED
@@ -1,20 +1,25 @@
1
1
  import * as z from 'zod';
2
2
 
3
+ const BlackboardZod = z.strictObject({
4
+ key: z.string(),
5
+ value: z.number().nullable(),
6
+ valueStr: z.string().nullable().optional(),
7
+ });
3
8
  const DefinedStringZod = z.strictObject({
4
9
  m_defined: z.boolean(),
5
- m_value: z.union([z.string(), z.null()]),
10
+ m_value: z.string().nullable(),
6
11
  });
7
12
  const DefinedStringArrayZod = z.strictObject({
8
13
  m_defined: z.boolean(),
9
- m_value: z.union([z.array(z.string()), z.null()]),
14
+ m_value: z.array(z.string()).nullable(),
10
15
  });
11
16
  const DefinedNumberZod = z.strictObject({
12
17
  m_defined: z.boolean(),
13
- m_value: z.union([z.number(), z.null()]),
18
+ m_value: z.number().nullable(),
14
19
  });
15
20
  const DefinedBooleanZod = z.strictObject({
16
21
  m_defined: z.boolean(),
17
- m_value: z.boolean(),
22
+ m_value: z.boolean().nullable(),
18
23
  });
19
24
 
20
25
  const AttributesKeyFrameZod = z.strictObject({
@@ -44,11 +49,6 @@ const AttributesKeyFrameZod = z.strictObject({
44
49
  levitateImmune: z.boolean(),
45
50
  }),
46
51
  });
47
- const BlackboardZod = z.strictObject({
48
- key: z.string(),
49
- value: z.union([z.number(), z.null()]),
50
- valueStr: z.union([z.string(), z.null(), z.undefined()]),
51
- });
52
52
  const EnemyAttributesZod = z.strictObject({
53
53
  maxHp: DefinedNumberZod,
54
54
  atk: DefinedNumberZod,
@@ -65,14 +65,14 @@ const EnemyAttributesZod = z.strictObject({
65
65
  maxDeployCount: DefinedNumberZod,
66
66
  massLevel: DefinedNumberZod,
67
67
  baseForceLevel: DefinedNumberZod,
68
- tauntLevel: z.union([DefinedNumberZod, z.undefined()]), // legacy
69
- epDamageResistance: z.union([DefinedNumberZod, z.undefined()]), // legacy
70
- epResistance: z.union([DefinedNumberZod, z.undefined()]), // ~
68
+ tauntLevel: DefinedNumberZod.optional(),
69
+ epDamageResistance: DefinedNumberZod.optional(),
70
+ epResistance: DefinedNumberZod.optional(),
71
71
  stunImmune: DefinedBooleanZod,
72
72
  silenceImmune: DefinedBooleanZod,
73
- sleepImmune: z.union([DefinedBooleanZod, z.undefined()]),
74
- frozenImmune: z.union([DefinedBooleanZod, z.undefined()]), // legacy
75
- levitateImmune: z.union([DefinedBooleanZod, z.undefined()]), // legacy
73
+ sleepImmune: DefinedBooleanZod.optional(),
74
+ frozenImmune: DefinedBooleanZod.optional(),
75
+ levitateImmune: DefinedBooleanZod.optional(),
76
76
  });
77
77
  const EnemySkillsZod = z.strictObject({
78
78
  prefabKey: z.string(),
@@ -80,7 +80,7 @@ const EnemySkillsZod = z.strictObject({
80
80
  cooldown: z.number(),
81
81
  initCooldown: z.number(),
82
82
  spCost: z.number(),
83
- blackboard: z.union([z.array(BlackboardZod), z.null()]),
83
+ blackboard: z.array(BlackboardZod).nullable(),
84
84
  });
85
85
  const EnemySpDataZod = z.strictObject({
86
86
  spType: z.string(),
@@ -93,18 +93,18 @@ const EnemyDataZod = z.strictObject({
93
93
  description: DefinedStringZod,
94
94
  prefabKey: DefinedStringZod,
95
95
  attributes: EnemyAttributesZod,
96
- applyWay: z.union([DefinedStringZod, z.undefined()]), // legacy
97
- motion: z.union([DefinedStringZod, z.undefined()]), // legacy
98
- enemyTags: z.union([DefinedStringArrayZod, z.undefined()]), // legacy
96
+ applyWay: DefinedStringZod.optional(),
97
+ motion: DefinedStringZod.optional(),
98
+ enemyTags: DefinedStringArrayZod.optional(),
99
99
  lifePointReduce: DefinedNumberZod,
100
- levelType: z.union([DefinedStringZod, DefinedNumberZod, z.undefined()]), // legacy
100
+ levelType: z.union([DefinedStringZod, DefinedNumberZod]).optional(),
101
101
  rangeRadius: DefinedNumberZod,
102
- numOfExtraDrops: z.union([DefinedNumberZod, z.undefined()]), // legacy
103
- viewRadius: z.union([DefinedNumberZod, z.undefined()]), // legacy
104
- notCountInTotal: z.union([DefinedBooleanZod, z.undefined()]), // legacy
105
- talentBlackboard: z.union([z.array(BlackboardZod), z.null()]),
106
- skills: z.union([z.array(EnemySkillsZod), z.null()]),
107
- spData: z.union([EnemySpDataZod, z.null()]),
102
+ numOfExtraDrops: DefinedNumberZod.optional(),
103
+ viewRadius: DefinedNumberZod.optional(),
104
+ notCountInTotal: DefinedBooleanZod.optional(),
105
+ talentBlackboard: z.array(BlackboardZod).nullable(),
106
+ skills: z.array(EnemySkillsZod).nullable(),
107
+ spData: EnemySpDataZod.nullable(),
108
108
  });
109
109
  const LevelUpCostZod = z.strictObject({
110
110
  id: z.string(),
@@ -174,44 +174,43 @@ const OperatorUnlockCondZod = z.strictObject({
174
174
  const LevelUpCostCondZod = z.strictObject({
175
175
  unlockCond: OperatorUnlockCondZod,
176
176
  lvlUpTime: z.number(),
177
- levelUpCost: z.union([z.array(LevelUpCostZod), z.null()]),
177
+ levelUpCost: z.array(LevelUpCostZod).nullable(),
178
178
  });
179
- const StageDefinesZod = z.strictObject({
180
- characterInsts: z.array(z.any()),
181
- tokenInsts: z.array(
179
+ const StageCardZod = z.strictObject({
180
+ initialCnt: z.number().optional(),
181
+ hidden: z.boolean(),
182
+ alias: z.string().nullable(),
183
+ uniEquipIds: z.array(
182
184
  z.strictObject({
183
- position: z.strictObject({
184
- row: z.number(),
185
- col: z.number(),
186
- }),
187
- direction: z.union([z.string(), z.number()]), // legacy
188
- hidden: z.boolean(),
189
- alias: z.union([z.string(), z.null()]),
190
- uniEquipIds: z.union([
191
- z.array(
192
- z.strictObject({
193
- key: z.string(),
194
- level: z.number(),
195
- })
196
- ),
197
- z.null(), z.undefined()] // legacy
198
- ),
199
- inst: z.strictObject({
200
- characterKey: z.string(),
201
- level: z.number(),
202
- phase: z.union([z.string(), z.number()]), // legacy
203
- favorPoint: z.number(),
204
- potentialRank: z.number(),
205
- }),
206
- skillIndex: z.number(),
207
- mainSkillLvl: z.number(),
208
- skinId: z.union([z.string(), z.null()]),
209
- tmplId: z.union([z.string(), z.null(), z.undefined()]),
210
- overrideSkillBlackboard: z.union([z.array(BlackboardZod), z.null(), z.undefined()]),
185
+ key: z.string(),
186
+ level: z.number(),
211
187
  })
212
- ),
213
- characterCards: z.array(z.any()),
214
- tokenCards: z.array(z.any()),
188
+ ).nullable().optional(),
189
+ inst: z.strictObject({
190
+ characterKey: z.string(),
191
+ level: z.number(),
192
+ phase: z.union([z.string(), z.number()]).optional(),
193
+ favorPoint: z.number(),
194
+ potentialRank: z.number(),
195
+ }),
196
+ skillIndex: z.number(),
197
+ mainSkillLvl: z.number(),
198
+ skinId: z.string().nullable(),
199
+ tmplId: z.string().nullable().optional(),
200
+ overrideSkillBlackboard: z.array(BlackboardZod).nullable().optional(),
201
+ });
202
+ const StageInstZod = StageCardZod.extend({
203
+ position: z.strictObject({
204
+ row: z.number(),
205
+ col: z.number(),
206
+ }),
207
+ direction: z.union([z.string(), z.number()]).optional(),
208
+ });
209
+ const StageDefinesZod = z.strictObject({
210
+ characterInsts: z.array(StageInstZod),
211
+ tokenInsts: z.array(StageInstZod),
212
+ characterCards: z.array(StageCardZod),
213
+ tokenCards: z.array(StageCardZod),
215
214
  });
216
215
  const StageEffectZod = z.strictObject({
217
216
  key: z.string(),
@@ -220,10 +219,10 @@ const StageEffectZod = z.strictObject({
220
219
  y: z.number(),
221
220
  z: z.number(),
222
221
  }),
223
- direction: z.union([z.string(), z.number()]), // legacy
222
+ direction: z.union([z.string(), z.number()]),
224
223
  });
225
224
  const StageActionZod = z.strictObject({
226
- actionType: z.union([z.string(), z.number()]), // legacy
225
+ actionType: z.union([z.string(), z.number()]),
227
226
  managedByScheduler: z.boolean(),
228
227
  key: z.string(),
229
228
  count: z.number(),
@@ -232,16 +231,55 @@ const StageActionZod = z.strictObject({
232
231
  routeIndex: z.number(),
233
232
  blockFragment: z.boolean(),
234
233
  autoPreviewRoute: z.boolean(),
235
- autoDisplayEnemyInfo: z.union([z.boolean(), z.undefined()]), // legacy
234
+ autoDisplayEnemyInfo: z.boolean().optional(),
236
235
  isUnharmfulAndAlwaysCountAsKilled: z.boolean(),
237
- hiddenGroup: z.union([z.string(), z.null()]),
238
- randomSpawnGroupKey: z.union([z.string(), z.null(), z.undefined()]), // legacy
239
- randomSpawnGroupPackKey: z.union([z.string(), z.null(), z.undefined()]), // ~
240
- randomType: z.union([z.string(), z.number(), z.undefined()]), // ~
241
- weight: z.union([z.number(), z.undefined()]), // ~
242
- dontBlockWave: z.union([z.boolean(), z.undefined()]), // ~
243
- isValid: z.union([z.boolean(), z.undefined()]), // ~
244
- extraMeta: z.union([z.null(), z.undefined()]), // ~
236
+ hiddenGroup: z.string().nullable(),
237
+ randomSpawnGroupKey: z.string().nullable().optional(),
238
+ randomSpawnGroupPackKey: z.string().nullable().optional(),
239
+ randomType: z.union([z.string(), z.number()]).optional(),
240
+ weight: z.number().optional(),
241
+ dontBlockWave: z.boolean().optional(),
242
+ isValid: z.boolean().optional(),
243
+ extraMeta: z.null().optional(),
244
+ });
245
+ const StageRouteZod = z.strictObject({
246
+ motionMode: z.union([z.string(), z.number()]),
247
+ startPosition: z.strictObject({
248
+ row: z.number(),
249
+ col: z.number(),
250
+ }),
251
+ endPosition: z.strictObject({
252
+ row: z.number(),
253
+ col: z.number(),
254
+ }),
255
+ spawnRandomRange: z.strictObject({
256
+ x: z.number(),
257
+ y: z.number(),
258
+ }),
259
+ spawnOffset: z.strictObject({
260
+ x: z.number(),
261
+ y: z.number(),
262
+ }),
263
+ checkpoints: z.array(
264
+ z.strictObject({
265
+ type: z.union([z.string(), z.number()]),
266
+ time: z.number(),
267
+ position: z.strictObject({
268
+ row: z.number(),
269
+ col: z.number(),
270
+ }),
271
+ reachOffset: z.strictObject({
272
+ x: z.number(),
273
+ y: z.number(),
274
+ }),
275
+ randomizeReachOffset: z.boolean(),
276
+ reachDistance: z.number(),
277
+ }),
278
+ ).nullable(),
279
+ allowDiagonalMove: z.boolean(),
280
+ visitEveryTileCenter: z.boolean(),
281
+ visitEveryNodeCenter: z.boolean(),
282
+ visitEveryCheckPoint: z.boolean().optional(),
245
283
  });
246
284
  const StageDataZod = z.strictObject({
247
285
  options: z.strictObject({
@@ -253,117 +291,111 @@ const StageDataZod = z.strictObject({
253
291
  moveMultiplier: z.number(),
254
292
  steeringEnabled: z.boolean(),
255
293
  isTrainingLevel: z.boolean(),
256
- isHardTrainingLevel: z.union([z.boolean(), z.undefined()]), // legacy
257
- isPredefinedCardsSelectable: z.union([z.boolean(), z.undefined()]), // legacy
258
- maxPlayTime: z.union([z.number(), z.undefined()]), // legacy
294
+ isHardTrainingLevel: z.boolean().optional(),
295
+ isPredefinedCardsSelectable: z.boolean().optional(),
296
+ maxPlayTime: z.number().optional(),
259
297
  functionDisableMask: z.union([z.string(), z.number()]),
260
- configBlackBoard: z.union([z.array(BlackboardZod), z.null(), z.undefined()]), // legacy
298
+ configBlackBoard: z.array(BlackboardZod).nullable().optional(),
261
299
  }),
262
- levelId: z.union([z.string(), z.null()]),
263
- mapId: z.union([z.string(), z.null()]),
264
- bgmEvent: z.union([z.string(), z.null()]),
265
- environmentSe: z.union([z.string(), z.null()]),
300
+ levelId: z.string().nullable(),
301
+ mapId: z.string().nullable(),
302
+ bgmEvent: z.string().nullable(),
303
+ environmentSe: z.string().nullable(),
266
304
  mapData: z.strictObject({
267
305
  map: z.array(z.array(z.number())),
268
306
  tiles: z.array(
269
307
  z.strictObject({
270
308
  tileKey: z.string(),
271
- heightType: z.union([z.string(), z.number()]), // keep number for legacy stages (monster hunter, vignettes, etc.)
272
- buildableType: z.union([z.string(), z.number()]), // ~
273
- passableMask: z.union([z.string(), z.number()]), // ~
274
- playerSideMask: z.union([z.string(), z.number(), z.undefined()]), // ~
275
- blackboard: z.union([z.array(BlackboardZod), z.null()]),
276
- effects: z.union([z.array(StageEffectZod), z.null()]),
309
+ heightType: z.union([z.string(), z.number()]),
310
+ buildableType: z.union([z.string(), z.number()]),
311
+ passableMask: z.union([z.string(), z.number()]),
312
+ playerSideMask: z.union([z.string(), z.number()]).optional(),
313
+ blackboard: z.array(BlackboardZod).nullable(),
314
+ effects: z.array(StageEffectZod).nullable(),
277
315
  })
278
316
  ),
279
- blockEdges: z.union([z.array(z.any()), z.null()]),
280
- tags: z.union([z.array(z.string()), z.null()]),
281
- effects: z.union([z.array(StageEffectZod), z.null()]),
282
- layerRects: z.union([z.null(), z.undefined()]),
317
+ blockEdges: z.array(z.strictObject({
318
+ pos: z.strictObject({
319
+ row: z.number(),
320
+ col: z.number(),
321
+ }),
322
+ direction: z.union([z.string(), z.number()]),
323
+ blockMask: z.union([z.string(), z.number()]),
324
+ })).nullable(),
325
+ tags: z.array(z.string()).nullable(),
326
+ effects: z.array(StageEffectZod).nullable(),
327
+ layerRects: z.null().optional(),
283
328
  width: z.number().optional(),
284
329
  height: z.number().optional(),
285
330
  }),
286
- tilesDisallowToLocate: z.array(z.any()),
287
- runes: z.union([
288
- z.array(
289
- z.strictObject({
290
- difficultyMask: z.union([z.string(), z.number()]), // legacy
291
- key: z.string(),
292
- professionMask: z.union([z.string(), z.number(), z.undefined()]), // legacy
293
- buildableMask: z.union([z.string(), z.number()]), // legacy
294
- blackboard: z.array(BlackboardZod),
295
- })
296
- ),
297
- z.null()
298
- ]),
299
- globalBuffs: z.union([
300
- z.array(
301
- z.strictObject({
302
- prefabKey: z.string(),
303
- blackboard: z.union([z.array(BlackboardZod), z.null()]),
304
- overrideCameraEffect: z.null(),
305
- passProfessionMaskFlag: z.union([z.boolean(), z.undefined()]),
306
- professionMask: z.union([z.string(), z.number(), z.undefined()]),
307
- useExtraData: z.boolean().optional(),
308
- })
309
- ),
310
- z.null()
311
- ]),
312
- routes: z.array(
313
- z.union([
314
- z.strictObject({
315
- motionMode: z.union([z.string(), z.number()]), // keep number for legacy
316
- startPosition: z.strictObject({
317
- row: z.number(),
318
- col: z.number(),
319
- }),
320
- endPosition: z.strictObject({
321
- row: z.number(),
322
- col: z.number(),
323
- }),
324
- spawnRandomRange: z.strictObject({
325
- x: z.number(),
326
- y: z.number(),
327
- }),
328
- spawnOffset: z.strictObject({
329
- x: z.number(),
330
- y: z.number(),
331
- }),
332
- checkpoints: z.union([
333
- z.array(
334
- z.strictObject({
335
- type: z.union([z.string(), z.number()]), // keep number for legacy
336
- time: z.number(),
337
- position: z.strictObject({
338
- row: z.number(),
339
- col: z.number(),
340
- }),
341
- reachOffset: z.strictObject({
342
- x: z.number(),
343
- y: z.number(),
344
- }),
345
- randomizeReachOffset: z.boolean(),
346
- reachDistance: z.number(),
347
- })
348
- ),
349
- z.null()
350
- ]),
351
- allowDiagonalMove: z.boolean(),
352
- visitEveryTileCenter: z.boolean(),
353
- visitEveryNodeCenter: z.boolean(),
354
- visitEveryCheckPoint: z.union([z.boolean(), z.undefined()]), // legacy
331
+ tilesDisallowToLocate: z.tuple([]),
332
+ runes: z.array(
333
+ z.strictObject({
334
+ difficultyMask: z.union([z.string(), z.number()]),
335
+ key: z.string(),
336
+ professionMask: z.union([z.string(), z.number()]).optional(),
337
+ buildableMask: z.union([z.string(), z.number()]),
338
+ blackboard: z.array(BlackboardZod),
339
+ })
340
+ ).nullable(),
341
+ globalBuffs: z.array(
342
+ z.strictObject({
343
+ prefabKey: z.string(),
344
+ blackboard: z.array(BlackboardZod).nullable(),
345
+ overrideCameraEffect: z.null(),
346
+ passProfessionMaskFlag: z.boolean().optional(),
347
+ professionMask: z.union([z.string(), z.number()]).optional(),
348
+ useExtraData: z.boolean().optional(),
349
+ })
350
+ ).nullable(),
351
+ routes: z.array(StageRouteZod.nullable()),
352
+ extraRoutes: z.array(StageRouteZod.nullable()).optional(),
353
+ enemies: z.array(
354
+ z.strictObject({
355
+ name: z.null(),
356
+ description: z.null(),
357
+ key: z.string(),
358
+ attributes: z.strictObject({
359
+ maxHp: z.number(),
360
+ atk: z.number(),
361
+ def: z.number(),
362
+ magicResistance: z.number(),
363
+ cost: z.number(),
364
+ blockCnt: z.number(),
365
+ moveSpeed: z.number(),
366
+ attackSpeed: z.number(),
367
+ baseAttackTime: z.number(),
368
+ respawnTime: z.number(),
369
+ hpRecoveryPerSec: z.number(),
370
+ spRecoveryPerSec: z.number(),
371
+ maxDeployCount: z.number(),
372
+ maxDeckStackCnt: z.number(),
373
+ tauntLevel: z.number(),
374
+ massLevel: z.number(),
375
+ baseForceLevel: z.number(),
376
+ stunImmune: z.boolean(),
377
+ silenceImmune: z.boolean(),
378
+ sleepImmune: z.boolean(),
379
+ frozenImmune: z.boolean(),
380
+ levitateImmune: z.boolean(),
355
381
  }),
356
- z.null() // legacy
357
- ])
382
+ alias: z.null(),
383
+ lifePointReduce: z.number(),
384
+ rangeRadius: z.number(),
385
+ numOfExtraDrops: z.number(),
386
+ viewRadius: z.number(),
387
+ levelType: z.number(),
388
+ talentBlackboard: z.array(BlackboardZod).nullable(),
389
+ skills: z.array(EnemySkillsZod).nullable(),
390
+ spData: EnemySpDataZod.nullable(),
391
+ })
358
392
  ),
359
- extraRoutes: z.union([z.array(z.any()), z.undefined()]),
360
- enemies: z.array(z.any()),
361
393
  enemyDbRefs: z.array(
362
394
  z.strictObject({
363
395
  useDb: z.boolean(),
364
396
  id: z.string(),
365
397
  level: z.number(),
366
- overwrittenData: z.union([EnemyDataZod, z.null()]),
398
+ overwrittenData: EnemyDataZod.nullable(),
367
399
  })
368
400
  ),
369
401
  waves: z.array(
@@ -376,36 +408,33 @@ const StageDataZod = z.strictObject({
376
408
  actions: z.array(StageActionZod),
377
409
  name: z.string().nullable().optional(),
378
410
  })),
379
- advancedWaveTag: z.union([z.string(), z.null(), z.undefined()]), // legacy
411
+ advancedWaveTag: z.string().nullable().optional(),
380
412
  name: z.string().nullable().optional(),
381
413
  })
382
414
  ),
383
- branches: z.union([
384
- z.record(
385
- z.string(),
386
- z.strictObject({
387
- phases: z.array(z.strictObject({
388
- preDelay: z.number(),
389
- actions: z.array(StageActionZod),
390
- m_randomActionGroups: z.null().optional(),
391
- m_actionWithRandomSpawn: z.null().optional(),
392
- m_validActionPackKeys: z.null().optional(),
393
- })),
394
- }),
395
- ),
396
- z.null()
397
- ]),
398
- predefines: z.union([StageDefinesZod, z.null()]),
399
- hardPredefines: z.union([StageDefinesZod, z.null(), z.undefined()]),
415
+ branches: z.record(
416
+ z.string(),
417
+ z.strictObject({
418
+ phases: z.array(z.strictObject({
419
+ preDelay: z.number(),
420
+ actions: z.array(StageActionZod),
421
+ m_randomActionGroups: z.null().optional(),
422
+ m_actionWithRandomSpawn: z.null().optional(),
423
+ m_validActionPackKeys: z.null().optional(),
424
+ })),
425
+ }),
426
+ ).nullable(),
427
+ predefines: StageDefinesZod.nullable(),
428
+ hardPredefines: StageDefinesZod.nullable().optional(),
400
429
  excludeCharIdList: z.null(),
401
430
  randomSeed: z.number(),
402
- operaConfig: z.union([z.string(), z.null(), z.undefined()]),
403
- runtimeData: z.union([z.null(), z.undefined()]), // legacy
431
+ operaConfig: z.string().nullable().optional(),
432
+ runtimeData: z.null().optional(),
404
433
  });
405
434
  const RogueRelicZod = z.strictObject({
406
435
  id: z.string(),
407
436
  name: z.string(),
408
- description: z.union([z.string(), z.null()]),
437
+ description: z.string().nullable(),
409
438
  usage: z.string(),
410
439
  obtainApproach: z.string(),
411
440
  iconId: z.string(),
@@ -415,7 +444,7 @@ const RogueRelicZod = z.strictObject({
415
444
  value: z.number(),
416
445
  sortId: z.number(),
417
446
  canSacrifice: z.boolean(),
418
- unlockCondDesc: z.union([z.string(), z.null()]),
447
+ unlockCondDesc: z.string().nullable(),
419
448
  });
420
449
  const RogueStageZod = z.strictObject({
421
450
  excel: z.strictObject({
@@ -426,11 +455,11 @@ const RogueStageZod = z.strictObject({
426
455
  name: z.string(),
427
456
  loadingPicId: z.string(),
428
457
  description: z.string(),
429
- eliteDesc: z.union([z.string(), z.null()]),
458
+ eliteDesc: z.string().nullable(),
430
459
  isBoss: z.number(),
431
460
  isElite: z.number(),
432
461
  difficulty: z.string(),
433
- capsulePool: z.union([z.string(), z.null()]),
462
+ capsulePool: z.string().nullable(),
434
463
  capsuleProb: z.number(),
435
464
  vutresProb: z.array(z.number()),
436
465
  boxProb: z.array(z.number()),
@@ -445,8 +474,8 @@ const RogueVariationZod = z.strictObject({
445
474
  innerName: z.string(),
446
475
  functionDesc: z.string(),
447
476
  desc: z.string(),
448
- iconId: z.union([z.string(), z.null()]),
449
- sound: z.union([z.string(), z.null()]),
477
+ iconId: z.string().nullable(),
478
+ sound: z.string().nullable(),
450
479
  });
451
480
  const SandboxStageZod = z.strictObject({
452
481
  excel: z.strictObject({
@@ -492,7 +521,7 @@ export const EnemyZod = z.strictObject({
492
521
  excel: z.strictObject({
493
522
  enemyId: z.string(),
494
523
  enemyIndex: z.string(),
495
- enemyTags: z.union([z.array(z.string()), z.null()]),
524
+ enemyTags: z.array(z.string()).nullable(),
496
525
  sortId: z.number(),
497
526
  name: z.string(),
498
527
  enemyLevel: z.enum(['NORMAL', 'ELITE', 'BOSS']),
@@ -500,12 +529,14 @@ export const EnemyZod = z.strictObject({
500
529
  attackType: z.null(),
501
530
  ability: z.null(),
502
531
  isInvalidKilled: z.boolean(),
503
- overrideKillCntInfos: z.record(z.string(), z.any()),
532
+ overrideKillCntInfos: z.record(z.string(), z.number()),
504
533
  hideInHandbook: z.boolean(),
505
- abilityList: z.array(z.strictObject({
506
- text: z.string(),
507
- textFormat: z.enum(['NORMAL', 'SILENCE', 'TITLE'])
508
- })),
534
+ abilityList: z.array(
535
+ z.strictObject({
536
+ text: z.string(),
537
+ textFormat: z.enum(['NORMAL', 'SILENCE', 'TITLE'])
538
+ })
539
+ ),
509
540
  linkEnemies: z.array(z.string()),
510
541
  damageType: z.array(z.enum(['PHYSIC', 'MAGIC', 'NO_DAMAGE', 'HEAL'])),
511
542
  invisibleDetail: z.boolean(),
@@ -530,8 +561,8 @@ export const GameEventZod = z.strictObject({
530
561
  rewardEndTime: z.number(),
531
562
  displayOnHome: z.boolean(),
532
563
  hasStage: z.boolean(),
533
- templateShopId: z.union([z.string(), z.null()]),
534
- medalGroupId: z.union([z.string(), z.null()]),
564
+ templateShopId: z.string().nullable(),
565
+ medalGroupId: z.string().nullable(),
535
566
  ungroupedMedalIds: z.array(z.string()).nullable(),
536
567
  isReplicate: z.boolean(),
537
568
  needFixedSync: z.boolean(),
@@ -550,14 +581,14 @@ export const ItemZod = z.strictObject({
550
581
  data: z.strictObject({
551
582
  itemId: z.string(),
552
583
  name: z.string(),
553
- description: z.union([z.string(), z.null()]),
584
+ description: z.string().nullable(),
554
585
  rarity: z.string(),
555
586
  iconId: z.string(),
556
587
  overrideBkg: z.null(),
557
- stackIconId: z.union([z.string(), z.null()]),
588
+ stackIconId: z.string().nullable(),
558
589
  sortId: z.number(),
559
- usage: z.union([z.string(), z.null()]),
560
- obtainApproach: z.union([z.string(), z.null()]),
590
+ usage: z.string().nullable(),
591
+ obtainApproach: z.string().nullable(),
561
592
  hideInItemGet: z.boolean(),
562
593
  classifyType: z.string(),
563
594
  itemType: z.string(),
@@ -574,7 +605,7 @@ export const ItemZod = z.strictObject({
574
605
  })
575
606
  ),
576
607
  }),
577
- formula: z.union([ManufactFormulaZod, WorkshopFormulaZod, z.null()]),
608
+ formula: z.union([ManufactFormulaZod, WorkshopFormulaZod]).nullable(),
578
609
  });
579
610
  export const ModuleZod = z.strictObject({
580
611
  info: z.strictObject({
@@ -584,76 +615,67 @@ export const ModuleZod = z.strictObject({
584
615
  uniEquipDesc: z.string(),
585
616
  typeIcon: z.string(),
586
617
  typeName1: z.string(),
587
- typeName2: z.union([z.string(), z.null()]),
618
+ typeName2: z.string().nullable(),
588
619
  equipShiningColor: z.string(),
589
620
  showEvolvePhase: z.string(),
590
621
  unlockEvolvePhase: z.string(),
591
622
  charId: z.string(),
592
- tmplId: z.union([z.string(), z.null()]),
623
+ tmplId: z.string().nullable(),
593
624
  showLevel: z.number(),
594
625
  unlockLevel: z.number(),
595
626
  unlockFavorPoint: z.number(),
596
627
  missionList: z.array(z.string()),
597
- itemCost: z.union([z.record(z.string(), z.array(LevelUpCostZod)), z.null()]),
628
+ itemCost: z.record(z.string(), z.array(LevelUpCostZod)).nullable(),
598
629
  type: z.string(),
599
630
  uniEquipGetTime: z.number(),
600
631
  charEquipOrder: z.number(),
601
632
  }),
602
- data: z.union([
603
- z.strictObject({
604
- phases: z.array(
605
- z.strictObject({
606
- equipLevel: z.number(),
607
- parts: z.array(
608
- z.strictObject({
609
- resKey: z.union([z.string(), z.null()]),
610
- target: z.string(),
611
- isToken: z.boolean(),
612
- addOrOverrideTalentDataBundle: z.strictObject({
613
- candidates: z.union([
614
- z.array(
615
- z.strictObject({
616
- displayRangeId: z.boolean(),
617
- upgradeDescription: z.string(),
618
- talentIndex: z.number(),
619
- unlockCondition: OperatorUnlockCondZod,
620
- requiredPotentialRank: z.number(),
621
- prefabKey: z.string(),
622
- name: z.union([z.string(), z.null()]),
623
- description: z.union([z.string(), z.null()]),
624
- rangeId: z.union([z.string(), z.null()]),
625
- blackboard: z.array(BlackboardZod),
626
- tokenKey: z.string().optional(),
627
- })
628
- ),
629
- z.null()
630
- ]),
631
- }),
632
- overrideTraitDataBundle: z.strictObject({
633
- candidates: z.union([
634
- z.array(
635
- z.strictObject({
636
- additionalDescription: z.union([z.string(), z.null()]),
637
- unlockCondition: OperatorUnlockCondZod,
638
- requiredPotentialRank: z.number(),
639
- blackboard: z.array(BlackboardZod),
640
- overrideDescripton: z.union([z.string(), z.null()]),
641
- prefabKey: z.union([z.string(), z.null()]),
642
- rangeId: z.union([z.string(), z.null()]),
643
- })
644
- ),
645
- z.null()
646
- ]),
647
- }),
648
- })
649
- ),
650
- attributeBlackboard: z.array(BlackboardZod),
651
- tokenAttributeBlackboard: z.record(z.string(), z.array(BlackboardZod)),
652
- })
653
- ),
654
- }),
655
- z.null()
656
- ]),
633
+ data: z.strictObject({
634
+ phases: z.array(
635
+ z.strictObject({
636
+ equipLevel: z.number(),
637
+ parts: z.array(
638
+ z.strictObject({
639
+ resKey: z.string().nullable(),
640
+ target: z.string(),
641
+ isToken: z.boolean(),
642
+ addOrOverrideTalentDataBundle: z.strictObject({
643
+ candidates: z.array(
644
+ z.strictObject({
645
+ displayRangeId: z.boolean(),
646
+ upgradeDescription: z.string(),
647
+ talentIndex: z.number(),
648
+ unlockCondition: OperatorUnlockCondZod,
649
+ requiredPotentialRank: z.number(),
650
+ prefabKey: z.string(),
651
+ name: z.string().nullable(),
652
+ description: z.string().nullable(),
653
+ rangeId: z.string().nullable(),
654
+ blackboard: z.array(BlackboardZod),
655
+ tokenKey: z.string().optional(),
656
+ }),
657
+ ).nullable(),
658
+ }),
659
+ overrideTraitDataBundle: z.strictObject({
660
+ candidates: z.array(
661
+ z.strictObject({
662
+ additionalDescription: z.string().nullable(),
663
+ unlockCondition: OperatorUnlockCondZod,
664
+ requiredPotentialRank: z.number(),
665
+ blackboard: z.array(BlackboardZod),
666
+ overrideDescripton: z.string().nullable(),
667
+ prefabKey: z.string().nullable(),
668
+ rangeId: z.string().nullable(),
669
+ })
670
+ ).nullable(),
671
+ }),
672
+ })
673
+ ),
674
+ attributeBlackboard: z.array(BlackboardZod),
675
+ tokenAttributeBlackboard: z.record(z.string(), z.array(BlackboardZod)),
676
+ })
677
+ ),
678
+ }).nullable(),
657
679
  });
658
680
  export const ParadoxZod = z.strictObject({
659
681
  excel: z.strictObject({
@@ -699,13 +721,13 @@ export const SandboxActZod = z.strictObject({
699
721
  });
700
722
  export const SkillZod = z.strictObject({
701
723
  skillId: z.string(),
702
- iconId: z.union([z.string(), z.null()]),
724
+ iconId: z.string().nullable(),
703
725
  hidden: z.boolean(),
704
726
  levels: z.array(
705
727
  z.strictObject({
706
728
  name: z.string(),
707
- rangeId: z.union([z.string(), z.null()]),
708
- description: z.union([z.string(), z.null()]),
729
+ rangeId: z.string().nullable(),
730
+ description: z.string().nullable(),
709
731
  skillType: z.string(),
710
732
  durationType: z.string(),
711
733
  spData: z.strictObject({
@@ -716,7 +738,7 @@ export const SkillZod = z.strictObject({
716
738
  initSp: z.number(),
717
739
  increment: z.number(),
718
740
  }),
719
- prefabId: z.union([z.string(), z.null()]),
741
+ prefabId: z.string().nullable(),
720
742
  duration: z.number(),
721
743
  blackboard: z.array(BlackboardZod),
722
744
  })
@@ -725,47 +747,44 @@ export const SkillZod = z.strictObject({
725
747
  export const SkinZod = z.strictObject({
726
748
  skinId: z.string(),
727
749
  charId: z.string(),
728
- tokenSkinMap: z.union([
729
- z.array(
730
- z.strictObject({
731
- tokenId: z.string(),
732
- tokenSkinId: z.string(),
733
- })
734
- ),
735
- z.null()
736
- ]),
737
- illustId: z.union([z.string(), z.null()]),
738
- dynIllustId: z.union([z.string(), z.null()]),
750
+ tokenSkinMap: z.array(
751
+ z.strictObject({
752
+ tokenId: z.string(),
753
+ tokenSkinId: z.string(),
754
+ })
755
+ ).nullable(),
756
+ illustId: z.string().nullable(),
757
+ dynIllustId: z.string().nullable(),
739
758
  avatarId: z.string(),
740
- portraitId: z.union([z.string(), z.null()]),
741
- dynPortraitId: z.union([z.string(), z.null()]),
742
- dynEntranceId: z.union([z.string(), z.null()]),
743
- buildingId: z.union([z.string(), z.null()]),
759
+ portraitId: z.string().nullable(),
760
+ dynPortraitId: z.string().nullable(),
761
+ dynEntranceId: z.string().nullable(),
762
+ buildingId: z.string().nullable(),
744
763
  battleSkin: z.strictObject({
745
764
  overwritePrefab: z.boolean(),
746
- skinOrPrefabId: z.union([z.string(), z.null()]),
765
+ skinOrPrefabId: z.string().nullable(),
747
766
  }),
748
767
  isBuySkin: z.boolean(),
749
- tmplId: z.union([z.string(), z.null()]),
750
- voiceId: z.union([z.string(), z.null()]),
768
+ tmplId: z.string().nullable(),
769
+ voiceId: z.string().nullable(),
751
770
  voiceType: z.string(),
752
771
  displaySkin: z.strictObject({
753
- skinName: z.union([z.string(), z.null()]),
754
- colorList: z.union([z.array(z.string()), z.null()]),
772
+ skinName: z.string().nullable(),
773
+ colorList: z.array(z.string()).nullable(),
755
774
  titleList: z.array(z.string()).nullable(),
756
- modelName: z.union([z.string(), z.null()]),
757
- drawerList: z.union([z.array(z.string()), z.null()]),
775
+ modelName: z.string().nullable(),
776
+ drawerList: z.array(z.string()).nullable(),
758
777
  designerList: z.array(z.string()).nullable(),
759
- skinGroupId: z.union([z.string(), z.null()]),
760
- skinGroupName: z.union([z.string(), z.null()]),
778
+ skinGroupId: z.string().nullable(),
779
+ skinGroupName: z.string().nullable(),
761
780
  skinGroupSortIndex: z.number(),
762
- content: z.union([z.string(), z.null()]),
763
- dialog: z.union([z.string(), z.null()]),
764
- usage: z.union([z.string(), z.null()]),
765
- description: z.union([z.string(), z.null()]),
766
- obtainApproach: z.union([z.string(), z.null()]),
781
+ content: z.string().nullable(),
782
+ dialog: z.string().nullable(),
783
+ usage: z.string().nullable(),
784
+ description: z.string().nullable(),
785
+ obtainApproach: z.string().nullable(),
767
786
  sortId: z.number(),
768
- displayTagId: z.union([z.string(), z.null()]),
787
+ displayTagId: z.string().nullable(),
769
788
  getTime: z.number(),
770
789
  onYear: z.number(),
771
790
  onPeriod: z.number(),
@@ -777,33 +796,28 @@ export const StageZod = z.strictObject({
777
796
  difficulty: z.string(),
778
797
  performanceStageFlag: z.string(),
779
798
  diffGroup: z.string(),
780
- unlockCondition: z.array(
781
- z.union([
782
- z.strictObject({
783
- stageId: z.string(),
784
- completeState: z.string(),
785
- }),
786
- z.null()
787
- ])
788
- ),
799
+ unlockCondition: z.strictObject({
800
+ stageId: z.string(),
801
+ completeState: z.string(),
802
+ }).nullable(),
789
803
  stageId: z.string(),
790
804
  levelId: z.string(),
791
805
  zoneId: z.string(),
792
806
  code: z.string(),
793
807
  name: z.string(),
794
808
  description: z.string(),
795
- hardStagedId: z.union([z.string(), z.null()]),
796
- dangerLevel: z.union([z.string(), z.null()]),
809
+ hardStagedId: z.string().nullable(),
810
+ dangerLevel: z.string().nullable(),
797
811
  dangerPoint: z.number(),
798
812
  loadingPicId: z.string(),
799
813
  canPractice: z.boolean(),
800
814
  canBattleReplay: z.boolean(),
801
815
  apCost: z.number(),
802
816
  apFailReturn: z.number(),
803
- etItemId: z.union([z.string(), z.null()]),
817
+ etItemId: z.string().nullable(),
804
818
  etCost: z.number(),
805
819
  etFailReturn: z.number(),
806
- etButtonStyle: z.union([z.string(), z.null()]),
820
+ etButtonStyle: z.string().nullable(),
807
821
  apProtectTimes: z.number(),
808
822
  diamondOnceDrop: z.number(),
809
823
  practiceTicketCost: z.number(),
@@ -815,7 +829,7 @@ export const StageZod = z.strictObject({
815
829
  passFavor: z.number(),
816
830
  completeFavor: z.number(),
817
831
  slProgress: z.number(),
818
- displayMainItem: z.union([z.string(), z.null()]),
832
+ displayMainItem: z.string().nullable(),
819
833
  hilightMark: z.boolean(),
820
834
  bossMark: z.boolean(),
821
835
  isPredefined: z.boolean(),
@@ -848,38 +862,30 @@ export const StageZod = z.strictObject({
848
862
  canUseTech: z.boolean(),
849
863
  canUseTrapTool: z.boolean(),
850
864
  canUseBattlePerformance: z.boolean(),
851
- startButtonOverrideId: z.union([z.string(), z.null()]),
865
+ startButtonOverrideId: z.string().nullable(),
852
866
  isStagePatch: z.boolean(),
853
- mainStageId: z.union([z.string(), z.null()]),
854
- extraCondition: z.union([
855
- z.array(
856
- z.strictObject({
857
- index: z.number(),
858
- template: z.string(),
859
- unlockParam: z.array(z.string()),
860
- })
861
- ),
862
- z.null()
863
- ]),
864
- extraInfo: z.union([
865
- z.array(
866
- z.strictObject({
867
- stageId: z.string(),
868
- rewards: z.array(
869
- z.strictObject({
870
- id: z.string(),
871
- count: z.number(),
872
- type: z.string(),
873
- })
874
- ),
875
- progressInfo: z.strictObject({
876
- progressType: z.string(),
877
- descList: z.record(z.string(), z.string()),
867
+ mainStageId: z.string().nullable(),
868
+ extraCondition: z.strictObject({
869
+ index: z.number(),
870
+ template: z.string(),
871
+ unlockParam: z.array(z.string()),
872
+ }).nullable(),
873
+ extraInfo: z.array(
874
+ z.strictObject({
875
+ stageId: z.string(),
876
+ rewards: z.array(
877
+ z.strictObject({
878
+ id: z.string(),
879
+ count: z.number(),
880
+ type: z.string(),
878
881
  })
882
+ ),
883
+ progressInfo: z.strictObject({
884
+ progressType: z.string(),
885
+ descList: z.record(z.string(), z.string()),
879
886
  })
880
- ),
881
- z.null()
882
- ])
887
+ })
888
+ ).nullable(),
883
889
  }),
884
890
  levels: StageDataZod,
885
891
  });
@@ -900,46 +906,43 @@ export const OperatorZod = z.strictObject({
900
906
  skill: BaseZod,
901
907
  })
902
908
  ),
903
- paradox: z.union([ParadoxZod, z.null()]),
909
+ paradox: ParadoxZod.nullable(),
904
910
  data: z.strictObject({
905
911
  name: z.string(),
906
912
  description: z.string(),
907
913
  canUseGeneralPotentialItem: z.boolean(),
908
914
  canUseActivityPotentialItem: z.boolean(),
909
- potentialItemId: z.union([z.string(), z.null()]),
915
+ potentialItemId: z.string().nullable(),
910
916
  activityPotentialItemId: z.string().nullable(),
911
917
  classicPotentialItemId: z.string().nullable(),
912
- nationId: z.union([z.string(), z.null()]),
913
- groupId: z.union([z.string(), z.null()]),
914
- teamId: z.union([z.string(), z.null()]),
915
- displayNumber: z.union([z.string(), z.null()]),
918
+ nationId: z.string().nullable(),
919
+ groupId: z.string().nullable(),
920
+ teamId: z.string().nullable(),
921
+ displayNumber: z.string().nullable(),
916
922
  appellation: z.string(),
917
923
  position: z.string(),
918
924
  tagList: z.array(z.string()),
919
- itemUsage: z.union([z.string(), z.null()]),
920
- itemDesc: z.union([z.string(), z.null()]),
921
- itemObtainApproach: z.union([z.string(), z.null()]),
925
+ itemUsage: z.string().nullable(),
926
+ itemDesc: z.string().nullable(),
927
+ itemObtainApproach: z.string().nullable(),
922
928
  isNotObtainable: z.boolean(),
923
929
  isSpChar: z.boolean(),
924
930
  maxPotentialLevel: z.number(),
925
931
  rarity: z.string(),
926
932
  profession: z.string(),
927
933
  subProfessionId: z.string(),
928
- trait: z.union([
929
- z.strictObject({
930
- candidates: z.array(
931
- z.strictObject({
932
- unlockCondition: OperatorUnlockCondZod,
933
- requiredPotentialRank: z.number(),
934
- blackboard: z.array(BlackboardZod),
935
- overrideDescripton: z.union([z.string(), z.null()]),
936
- prefabKey: z.union([z.string(), z.null()]),
937
- rangeId: z.union([z.string(), z.null()]),
938
- })
939
- ),
940
- }),
941
- z.null()
942
- ]),
934
+ trait: z.strictObject({
935
+ candidates: z.array(
936
+ z.strictObject({
937
+ unlockCondition: OperatorUnlockCondZod,
938
+ requiredPotentialRank: z.number(),
939
+ blackboard: z.array(BlackboardZod),
940
+ overrideDescripton: z.string().nullable(),
941
+ prefabKey: z.string().nullable(),
942
+ rangeId: z.string().nullable(),
943
+ })
944
+ ),
945
+ }).nullable(),
943
946
  phases: z.array(
944
947
  z.strictObject({
945
948
  characterPrefabKey: z.string(),
@@ -952,57 +955,51 @@ export const OperatorZod = z.strictObject({
952
955
  skills: z.array(
953
956
  z.strictObject({
954
957
  skillId: z.string(),
955
- overridePrefabKey: z.union([z.string(), z.null()]),
956
- overrideTokenKey: z.union([z.string(), z.null()]),
958
+ overridePrefabKey: z.string().nullable(),
959
+ overrideTokenKey: z.string().nullable(),
957
960
  levelUpCostCond: z.array(LevelUpCostCondZod),
958
961
  unlockCond: OperatorUnlockCondZod,
959
962
  })
960
963
  ),
961
964
  displayTokenDict: z.record(z.boolean()).nullable(),
962
- talents: z.union([
963
- z.array(
964
- z.strictObject({
965
- candidates: z.array(
966
- z.strictObject({
967
- unlockCondition: OperatorUnlockCondZod,
968
- requiredPotentialRank: z.number(),
969
- prefabKey: z.string(),
970
- name: z.string(),
971
- description: z.string(),
972
- rangeId: z.union([z.string(), z.null()]),
973
- blackboard: z.array(BlackboardZod),
974
- tokenKey: z.string().nullable(),
975
- })
976
- ),
977
- })
978
- ),
979
- z.null()
980
- ]),
965
+ talents: z.array(
966
+ z.strictObject({
967
+ candidates: z.array(
968
+ z.strictObject({
969
+ unlockCondition: OperatorUnlockCondZod,
970
+ requiredPotentialRank: z.number(),
971
+ prefabKey: z.string(),
972
+ name: z.string(),
973
+ description: z.string(),
974
+ rangeId: z.string().nullable(),
975
+ blackboard: z.array(BlackboardZod),
976
+ tokenKey: z.string().nullable(),
977
+ })
978
+ ),
979
+ })
980
+ ).nullable(),
981
981
  potentialRanks: z.array(
982
982
  z.strictObject({
983
983
  type: z.string(),
984
984
  description: z.string(),
985
- buff: z.union([
986
- z.strictObject({
987
- attributes: z.strictObject({
988
- abnormalFlags: z.null(),
989
- abnormalImmunes: z.null(),
990
- abnormalAntis: z.null(),
991
- abnormalCombos: z.null(),
992
- abnormalComboImmunes: z.null(),
993
- attributeModifiers: z.array(
994
- z.strictObject({
995
- attributeType: z.string(),
996
- formulaItem: z.string(),
997
- value: z.number(),
998
- loadFromBlackboard: z.boolean(),
999
- fetchBaseValueFromSourceEntity: z.boolean(),
1000
- })
1001
- ),
1002
- }),
985
+ buff: z.strictObject({
986
+ attributes: z.strictObject({
987
+ abnormalFlags: z.null(),
988
+ abnormalImmunes: z.null(),
989
+ abnormalAntis: z.null(),
990
+ abnormalCombos: z.null(),
991
+ abnormalComboImmunes: z.null(),
992
+ attributeModifiers: z.array(
993
+ z.strictObject({
994
+ attributeType: z.string(),
995
+ formulaItem: z.string(),
996
+ value: z.number(),
997
+ loadFromBlackboard: z.boolean(),
998
+ fetchBaseValueFromSourceEntity: z.boolean(),
999
+ })
1000
+ ),
1003
1001
  }),
1004
- z.null()
1005
- ]),
1002
+ }).nullable(),
1006
1003
  equivalentCost: z.null(),
1007
1004
  })
1008
1005
  ),
@@ -1010,31 +1007,22 @@ export const OperatorZod = z.strictObject({
1010
1007
  allSkillLvlup: z.array(
1011
1008
  z.strictObject({
1012
1009
  unlockCond: OperatorUnlockCondZod,
1013
- lvlUpCost: z.union([z.array(LevelUpCostZod), z.null()]),
1010
+ lvlUpCost: z.array(LevelUpCostZod).nullable(),
1014
1011
  })
1015
1012
  ),
1016
1013
  }),
1017
1014
  });
1018
- export type AttributesKeyFrame = z.infer<typeof AttributesKeyFrameZod>;
1019
1015
  export type Blackboard = z.infer<typeof BlackboardZod>;
1020
1016
  export type Base = z.infer<typeof BaseZod>;
1021
1017
  export type CCStage = z.infer<typeof CCStageZod>;
1022
1018
  export type Definition = z.infer<typeof DefinitionZod>;
1023
1019
  export type Enemy = z.infer<typeof EnemyZod>;
1024
- export type EnemyAttributes = z.infer<typeof EnemyAttributesZod>;
1025
- export type EnemyData = z.infer<typeof EnemyDataZod>;
1026
- export type EnemySkills = z.infer<typeof EnemySkillsZod>;
1027
- export type EnemySpData = z.infer<typeof EnemySpDataZod>;
1028
1020
  export type GameEvent = z.infer<typeof GameEventZod>;
1029
1021
  export type GridRange = z.infer<typeof GridRangeZod>;
1030
- export type ManufactFormula = z.infer<typeof ManufactFormulaZod>;
1031
- export type WorkshopFormula = z.infer<typeof WorkshopFormulaZod>;
1032
1022
  export type Item = z.infer<typeof ItemZod>;
1033
1023
  export type LevelUpCost = z.infer<typeof LevelUpCostZod>;
1034
- export type LevelUpCostCond = z.infer<typeof LevelUpCostCondZod>;
1035
1024
  export type Module = z.infer<typeof ModuleZod>;
1036
1025
  export type Operator = z.infer<typeof OperatorZod>;
1037
- export type OperatorUnlockCond = z.infer<typeof OperatorUnlockCondZod>;
1038
1026
  export type Paradox = z.infer<typeof ParadoxZod>;
1039
1027
  export type RogueTheme = z.infer<typeof RogueThemeZod>;
1040
1028
  export type RogueRelic = z.infer<typeof RogueRelicZod>;
@@ -1045,6 +1033,4 @@ export type SandboxStage = z.infer<typeof SandboxStageZod>;
1045
1033
  export type Skill = z.infer<typeof SkillZod>;
1046
1034
  export type Skin = z.infer<typeof SkinZod>;
1047
1035
  export type Stage = z.infer<typeof StageZod>;
1048
- export type StageData = z.infer<typeof StageDataZod>;
1049
- export type StageEffect = z.infer<typeof StageEffectZod>;
1050
- export type StageDefines = z.infer<typeof StageDefinesZod>;
1036
+ export type StageData = z.infer<typeof StageDataZod>;