hella-types 0.0.12 → 0.0.14
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/.gitattributes +1 -2
- package/dist/index.d.ts +3000 -307
- package/dist/index.js +75 -4
- package/package.json +5 -2
- package/src/index.ts +1115 -1042
package/dist/index.js
CHANGED
|
@@ -48,6 +48,7 @@ var AttributesKeyFrameZod = z.strictObject({
|
|
|
48
48
|
sleepImmune: z.boolean(),
|
|
49
49
|
frozenImmune: z.boolean(),
|
|
50
50
|
levitateImmune: z.boolean(),
|
|
51
|
+
disarmedCombatImmune: z.boolean(),
|
|
51
52
|
}),
|
|
52
53
|
});
|
|
53
54
|
var EnemyAttributesZod = z.strictObject({
|
|
@@ -69,11 +70,14 @@ var EnemyAttributesZod = z.strictObject({
|
|
|
69
70
|
tauntLevel: DefinedNumberZod.optional(),
|
|
70
71
|
epDamageResistance: DefinedNumberZod.optional(),
|
|
71
72
|
epResistance: DefinedNumberZod.optional(),
|
|
73
|
+
damageHitratePhysical: DefinedNumberZod.optional(),
|
|
74
|
+
damageHitrateMagical: DefinedNumberZod.optional(),
|
|
72
75
|
stunImmune: DefinedBooleanZod,
|
|
73
76
|
silenceImmune: DefinedBooleanZod,
|
|
74
77
|
sleepImmune: DefinedBooleanZod.optional(),
|
|
75
78
|
frozenImmune: DefinedBooleanZod.optional(),
|
|
76
79
|
levitateImmune: DefinedBooleanZod.optional(),
|
|
80
|
+
disarmedCombatImmune: DefinedBooleanZod.optional(),
|
|
77
81
|
});
|
|
78
82
|
var EnemySkillsZod = z.strictObject({
|
|
79
83
|
prefabKey: z.string(),
|
|
@@ -226,10 +230,12 @@ var StageActionZod = z.strictObject({
|
|
|
226
230
|
randomSpawnGroupKey: z.string().nullable().optional(),
|
|
227
231
|
randomSpawnGroupPackKey: z.string().nullable().optional(),
|
|
228
232
|
randomType: z.union([z.string(), z.number()]).optional(),
|
|
233
|
+
refreshType: z.string().optional(),
|
|
229
234
|
weight: z.number().optional(),
|
|
230
235
|
dontBlockWave: z.boolean().optional(),
|
|
231
236
|
isValid: z.boolean().optional(),
|
|
232
237
|
extraMeta: z.null().optional(),
|
|
238
|
+
actionId: z.null().optional(),
|
|
233
239
|
});
|
|
234
240
|
var StageRouteZod = z.strictObject({
|
|
235
241
|
motionMode: z.union([z.string(), z.number()]),
|
|
@@ -358,6 +364,7 @@ var StageDataZod = z.strictObject({
|
|
|
358
364
|
sleepImmune: z.boolean(),
|
|
359
365
|
frozenImmune: z.boolean(),
|
|
360
366
|
levitateImmune: z.boolean(),
|
|
367
|
+
disarmedCombatImmune: z.boolean(),
|
|
361
368
|
}),
|
|
362
369
|
alias: z.null(),
|
|
363
370
|
lifePointReduce: z.number(),
|
|
@@ -449,19 +456,80 @@ var RogueVariationZod = z.strictObject({
|
|
|
449
456
|
iconId: z.string().nullable(),
|
|
450
457
|
sound: z.string().nullable(),
|
|
451
458
|
});
|
|
459
|
+
var SandboxItemZod = z.strictObject({
|
|
460
|
+
craft: z.strictObject({
|
|
461
|
+
itemId: z.string(),
|
|
462
|
+
type: z.string(),
|
|
463
|
+
buildingUnlockDesc: z.string(),
|
|
464
|
+
materialItems: z.record(z.string(), z.number()),
|
|
465
|
+
upgradeItems: z.record(z.string(), z.number()).nullable(),
|
|
466
|
+
withdrawRatio: z.number(),
|
|
467
|
+
repairCost: z.number(),
|
|
468
|
+
isHidden: z.boolean(),
|
|
469
|
+
craftGroupId: z.string(),
|
|
470
|
+
recipeLevel: z.number(),
|
|
471
|
+
}).nullable(),
|
|
472
|
+
drink: z.strictObject({
|
|
473
|
+
id: z.string(),
|
|
474
|
+
type: z.string(),
|
|
475
|
+
count: z.number(),
|
|
476
|
+
}).nullable(),
|
|
477
|
+
foodMat: z.strictObject({
|
|
478
|
+
id: z.string(),
|
|
479
|
+
type: z.string(),
|
|
480
|
+
attribute: z.string(),
|
|
481
|
+
buffDesc: z.string().nullable(),
|
|
482
|
+
sortId: z.number(),
|
|
483
|
+
}).nullable(),
|
|
484
|
+
food: z.strictObject({
|
|
485
|
+
id: z.string(),
|
|
486
|
+
attributes: z.array(z.string()),
|
|
487
|
+
recipes: z.array(z.strictObject({
|
|
488
|
+
foodId: z.string(),
|
|
489
|
+
mats: z.array(z.string()),
|
|
490
|
+
})).nullable(),
|
|
491
|
+
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
|
+
sortId: z.number(),
|
|
498
|
+
}).nullable(),
|
|
499
|
+
data: z.strictObject({
|
|
500
|
+
itemId: z.string(),
|
|
501
|
+
itemType: z.string(),
|
|
502
|
+
itemName: z.string(),
|
|
503
|
+
itemUsage: z.string(),
|
|
504
|
+
itemDesc: z.string(),
|
|
505
|
+
itemRarity: z.number(),
|
|
506
|
+
sortId: z.number(),
|
|
507
|
+
obtainApproach: z.string(),
|
|
508
|
+
})
|
|
509
|
+
});
|
|
452
510
|
var SandboxStageZod = z.strictObject({
|
|
453
511
|
excel: z.strictObject({
|
|
454
512
|
stageId: z.string(),
|
|
455
513
|
levelId: z.string(),
|
|
456
514
|
code: z.string(),
|
|
457
515
|
name: z.string(),
|
|
458
|
-
loadingPicId: z.string(),
|
|
459
516
|
description: z.string(),
|
|
460
517
|
actionCost: z.number(),
|
|
461
|
-
|
|
518
|
+
actionCostEnemyRush: z.number(),
|
|
462
519
|
}),
|
|
463
520
|
levels: StageDataZod,
|
|
464
521
|
});
|
|
522
|
+
var SandboxWeatherZod = z.strictObject({
|
|
523
|
+
weatherId: z.string(),
|
|
524
|
+
name: z.string(),
|
|
525
|
+
weatherLevel: z.number(),
|
|
526
|
+
weatherType: z.string(),
|
|
527
|
+
weatherTypeName: z.string(),
|
|
528
|
+
weatherIconId: z.string(),
|
|
529
|
+
functionDesc: z.string(),
|
|
530
|
+
description: z.string(),
|
|
531
|
+
buffId: z.string().nullable(),
|
|
532
|
+
});
|
|
465
533
|
exports.BaseZod = z.strictObject({
|
|
466
534
|
buffId: z.string(),
|
|
467
535
|
buffName: z.string(),
|
|
@@ -671,6 +739,9 @@ exports.RogueThemeZod = z.strictObject({
|
|
|
671
739
|
variationDict: z.record(z.string(), RogueVariationZod),
|
|
672
740
|
});
|
|
673
741
|
exports.SandboxActZod = z.strictObject({
|
|
742
|
+
name: z.string(),
|
|
743
|
+
itemDict: z.record(z.string(), SandboxItemZod),
|
|
744
|
+
weatherDict: z.record(z.string(), SandboxWeatherZod),
|
|
674
745
|
stageDict: z.record(z.string(), SandboxStageZod),
|
|
675
746
|
});
|
|
676
747
|
exports.SkillZod = z.strictObject({
|
|
@@ -746,10 +817,10 @@ exports.StageZod = z.strictObject({
|
|
|
746
817
|
difficulty: z.string(),
|
|
747
818
|
performanceStageFlag: z.string(),
|
|
748
819
|
diffGroup: z.string(),
|
|
749
|
-
unlockCondition: z.strictObject({
|
|
820
|
+
unlockCondition: z.array(z.strictObject({
|
|
750
821
|
stageId: z.string(),
|
|
751
822
|
completeState: z.string(),
|
|
752
|
-
})
|
|
823
|
+
})),
|
|
753
824
|
stageId: z.string(),
|
|
754
825
|
levelId: z.string(),
|
|
755
826
|
zoneId: z.string(),
|
package/package.json
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hella-types",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"author": "",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"description": "",
|
|
9
|
+
"scripts": {
|
|
10
|
+
"build": "tsc"
|
|
11
|
+
},
|
|
9
12
|
"dependencies": {
|
|
10
13
|
"zod": "^3.22.4"
|
|
11
14
|
},
|
|
@@ -16,4 +19,4 @@
|
|
|
16
19
|
"type": "git",
|
|
17
20
|
"url": "https://github.com/Awedtan/HellaTypes.git"
|
|
18
21
|
}
|
|
19
|
-
}
|
|
22
|
+
}
|