hella-types 0.2.21 → 0.2.23
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 +130 -5
- package/dist/index.js +12 -1
- package/package.json +1 -1
- package/src/index.ts +13 -1
package/dist/index.d.ts
CHANGED
|
@@ -31679,7 +31679,7 @@ export declare const EnemyZod: z.ZodObject<{
|
|
|
31679
31679
|
sortId: z.ZodNumber;
|
|
31680
31680
|
name: z.ZodString;
|
|
31681
31681
|
enemyLevel: z.ZodEnum<["NORMAL", "ELITE", "BOSS"]>;
|
|
31682
|
-
description: z.ZodString
|
|
31682
|
+
description: z.ZodNullable<z.ZodString>;
|
|
31683
31683
|
attackType: z.ZodNull;
|
|
31684
31684
|
ability: z.ZodNull;
|
|
31685
31685
|
isInvalidKilled: z.ZodBoolean;
|
|
@@ -31701,7 +31701,7 @@ export declare const EnemyZod: z.ZodObject<{
|
|
|
31701
31701
|
invisibleDetail: z.ZodBoolean;
|
|
31702
31702
|
}, "strict", z.ZodTypeAny, {
|
|
31703
31703
|
name: string;
|
|
31704
|
-
description: string;
|
|
31704
|
+
description: string | null;
|
|
31705
31705
|
enemyTags: string[] | null;
|
|
31706
31706
|
sortId: number;
|
|
31707
31707
|
enemyId: string;
|
|
@@ -31722,7 +31722,7 @@ export declare const EnemyZod: z.ZodObject<{
|
|
|
31722
31722
|
invisibleDetail: boolean;
|
|
31723
31723
|
}, {
|
|
31724
31724
|
name: string;
|
|
31725
|
-
description: string;
|
|
31725
|
+
description: string | null;
|
|
31726
31726
|
enemyTags: string[] | null;
|
|
31727
31727
|
sortId: number;
|
|
31728
31728
|
enemyId: string;
|
|
@@ -33901,7 +33901,7 @@ export declare const EnemyZod: z.ZodObject<{
|
|
|
33901
33901
|
};
|
|
33902
33902
|
excel: {
|
|
33903
33903
|
name: string;
|
|
33904
|
-
description: string;
|
|
33904
|
+
description: string | null;
|
|
33905
33905
|
enemyTags: string[] | null;
|
|
33906
33906
|
sortId: number;
|
|
33907
33907
|
enemyId: string;
|
|
@@ -34128,7 +34128,7 @@ export declare const EnemyZod: z.ZodObject<{
|
|
|
34128
34128
|
};
|
|
34129
34129
|
excel: {
|
|
34130
34130
|
name: string;
|
|
34131
|
-
description: string;
|
|
34131
|
+
description: string | null;
|
|
34132
34132
|
enemyTags: string[] | null;
|
|
34133
34133
|
sortId: number;
|
|
34134
34134
|
enemyId: string;
|
|
@@ -34149,6 +34149,34 @@ export declare const EnemyZod: z.ZodObject<{
|
|
|
34149
34149
|
invisibleDetail: boolean;
|
|
34150
34150
|
};
|
|
34151
34151
|
}>;
|
|
34152
|
+
export declare const FactionZod: z.ZodObject<{
|
|
34153
|
+
powerId: z.ZodString;
|
|
34154
|
+
orderNum: z.ZodNumber;
|
|
34155
|
+
powerLevel: z.ZodNumber;
|
|
34156
|
+
powerName: z.ZodString;
|
|
34157
|
+
powerCode: z.ZodString;
|
|
34158
|
+
color: z.ZodString;
|
|
34159
|
+
isLimited: z.ZodBoolean;
|
|
34160
|
+
isRaw: z.ZodBoolean;
|
|
34161
|
+
}, "strict", z.ZodTypeAny, {
|
|
34162
|
+
color: string;
|
|
34163
|
+
powerId: string;
|
|
34164
|
+
orderNum: number;
|
|
34165
|
+
powerLevel: number;
|
|
34166
|
+
powerName: string;
|
|
34167
|
+
powerCode: string;
|
|
34168
|
+
isLimited: boolean;
|
|
34169
|
+
isRaw: boolean;
|
|
34170
|
+
}, {
|
|
34171
|
+
color: string;
|
|
34172
|
+
powerId: string;
|
|
34173
|
+
orderNum: number;
|
|
34174
|
+
powerLevel: number;
|
|
34175
|
+
powerName: string;
|
|
34176
|
+
powerCode: string;
|
|
34177
|
+
isLimited: boolean;
|
|
34178
|
+
isRaw: boolean;
|
|
34179
|
+
}>;
|
|
34152
34180
|
export declare const GachaPoolZod: z.ZodObject<{
|
|
34153
34181
|
client: z.ZodObject<{
|
|
34154
34182
|
gachaPoolId: z.ZodString;
|
|
@@ -100478,6 +100506,34 @@ export declare const DeployableZod: z.ZodObject<{
|
|
|
100478
100506
|
}[] | null;
|
|
100479
100507
|
}[];
|
|
100480
100508
|
}>;
|
|
100509
|
+
factions: z.ZodArray<z.ZodNullable<z.ZodObject<{
|
|
100510
|
+
powerId: z.ZodString;
|
|
100511
|
+
orderNum: z.ZodNumber;
|
|
100512
|
+
powerLevel: z.ZodNumber;
|
|
100513
|
+
powerName: z.ZodString;
|
|
100514
|
+
powerCode: z.ZodString;
|
|
100515
|
+
color: z.ZodString;
|
|
100516
|
+
isLimited: z.ZodBoolean;
|
|
100517
|
+
isRaw: z.ZodBoolean;
|
|
100518
|
+
}, "strict", z.ZodTypeAny, {
|
|
100519
|
+
color: string;
|
|
100520
|
+
powerId: string;
|
|
100521
|
+
orderNum: number;
|
|
100522
|
+
powerLevel: number;
|
|
100523
|
+
powerName: string;
|
|
100524
|
+
powerCode: string;
|
|
100525
|
+
isLimited: boolean;
|
|
100526
|
+
isRaw: boolean;
|
|
100527
|
+
}, {
|
|
100528
|
+
color: string;
|
|
100529
|
+
powerId: string;
|
|
100530
|
+
orderNum: number;
|
|
100531
|
+
powerLevel: number;
|
|
100532
|
+
powerName: string;
|
|
100533
|
+
powerCode: string;
|
|
100534
|
+
isLimited: boolean;
|
|
100535
|
+
isRaw: boolean;
|
|
100536
|
+
}>>, "many">;
|
|
100481
100537
|
range: z.ZodNullable<z.ZodObject<{
|
|
100482
100538
|
id: z.ZodString;
|
|
100483
100539
|
direction: z.ZodNumber;
|
|
@@ -101294,6 +101350,16 @@ export declare const DeployableZod: z.ZodObject<{
|
|
|
101294
101350
|
} | null;
|
|
101295
101351
|
} | null)[];
|
|
101296
101352
|
archetype: string;
|
|
101353
|
+
factions: ({
|
|
101354
|
+
color: string;
|
|
101355
|
+
powerId: string;
|
|
101356
|
+
orderNum: number;
|
|
101357
|
+
powerLevel: number;
|
|
101358
|
+
powerName: string;
|
|
101359
|
+
powerCode: string;
|
|
101360
|
+
isLimited: boolean;
|
|
101361
|
+
isRaw: boolean;
|
|
101362
|
+
} | null)[];
|
|
101297
101363
|
range: {
|
|
101298
101364
|
id: string;
|
|
101299
101365
|
direction: number;
|
|
@@ -101602,6 +101668,16 @@ export declare const DeployableZod: z.ZodObject<{
|
|
|
101602
101668
|
} | null;
|
|
101603
101669
|
} | null)[];
|
|
101604
101670
|
archetype: string;
|
|
101671
|
+
factions: ({
|
|
101672
|
+
color: string;
|
|
101673
|
+
powerId: string;
|
|
101674
|
+
orderNum: number;
|
|
101675
|
+
powerLevel: number;
|
|
101676
|
+
powerName: string;
|
|
101677
|
+
powerCode: string;
|
|
101678
|
+
isLimited: boolean;
|
|
101679
|
+
isRaw: boolean;
|
|
101680
|
+
} | null)[];
|
|
101605
101681
|
range: {
|
|
101606
101682
|
id: string;
|
|
101607
101683
|
direction: number;
|
|
@@ -103323,6 +103399,34 @@ export declare const OperatorZod: z.ZodObject<{
|
|
|
103323
103399
|
} | null;
|
|
103324
103400
|
}>>, "many">;
|
|
103325
103401
|
archetype: z.ZodString;
|
|
103402
|
+
factions: z.ZodArray<z.ZodNullable<z.ZodObject<{
|
|
103403
|
+
powerId: z.ZodString;
|
|
103404
|
+
orderNum: z.ZodNumber;
|
|
103405
|
+
powerLevel: z.ZodNumber;
|
|
103406
|
+
powerName: z.ZodString;
|
|
103407
|
+
powerCode: z.ZodString;
|
|
103408
|
+
color: z.ZodString;
|
|
103409
|
+
isLimited: z.ZodBoolean;
|
|
103410
|
+
isRaw: z.ZodBoolean;
|
|
103411
|
+
}, "strict", z.ZodTypeAny, {
|
|
103412
|
+
color: string;
|
|
103413
|
+
powerId: string;
|
|
103414
|
+
orderNum: number;
|
|
103415
|
+
powerLevel: number;
|
|
103416
|
+
powerName: string;
|
|
103417
|
+
powerCode: string;
|
|
103418
|
+
isLimited: boolean;
|
|
103419
|
+
isRaw: boolean;
|
|
103420
|
+
}, {
|
|
103421
|
+
color: string;
|
|
103422
|
+
powerId: string;
|
|
103423
|
+
orderNum: number;
|
|
103424
|
+
powerLevel: number;
|
|
103425
|
+
powerName: string;
|
|
103426
|
+
powerCode: string;
|
|
103427
|
+
isLimited: boolean;
|
|
103428
|
+
isRaw: boolean;
|
|
103429
|
+
}>>, "many">;
|
|
103326
103430
|
range: z.ZodNullable<z.ZodObject<{
|
|
103327
103431
|
id: z.ZodString;
|
|
103328
103432
|
direction: z.ZodNumber;
|
|
@@ -112793,6 +112897,16 @@ export declare const OperatorZod: z.ZodObject<{
|
|
|
112793
112897
|
} | null;
|
|
112794
112898
|
} | null)[];
|
|
112795
112899
|
archetype: string;
|
|
112900
|
+
factions: ({
|
|
112901
|
+
color: string;
|
|
112902
|
+
powerId: string;
|
|
112903
|
+
orderNum: number;
|
|
112904
|
+
powerLevel: number;
|
|
112905
|
+
powerName: string;
|
|
112906
|
+
powerCode: string;
|
|
112907
|
+
isLimited: boolean;
|
|
112908
|
+
isRaw: boolean;
|
|
112909
|
+
} | null)[];
|
|
112796
112910
|
range: {
|
|
112797
112911
|
id: string;
|
|
112798
112912
|
direction: number;
|
|
@@ -114047,6 +114161,16 @@ export declare const OperatorZod: z.ZodObject<{
|
|
|
114047
114161
|
} | null;
|
|
114048
114162
|
} | null)[];
|
|
114049
114163
|
archetype: string;
|
|
114164
|
+
factions: ({
|
|
114165
|
+
color: string;
|
|
114166
|
+
powerId: string;
|
|
114167
|
+
orderNum: number;
|
|
114168
|
+
powerLevel: number;
|
|
114169
|
+
powerName: string;
|
|
114170
|
+
powerCode: string;
|
|
114171
|
+
isLimited: boolean;
|
|
114172
|
+
isRaw: boolean;
|
|
114173
|
+
} | null)[];
|
|
114050
114174
|
range: {
|
|
114051
114175
|
id: string;
|
|
114052
114176
|
direction: number;
|
|
@@ -115056,6 +115180,7 @@ export type CCSeason = z.infer<typeof CCSeasonZod>;
|
|
|
115056
115180
|
export type Definition = z.infer<typeof DefinitionZod>;
|
|
115057
115181
|
export type Deployable = z.infer<typeof DeployableZod>;
|
|
115058
115182
|
export type Enemy = z.infer<typeof EnemyZod>;
|
|
115183
|
+
export type Faction = z.infer<typeof FactionZod>;
|
|
115059
115184
|
export type GachaPool = z.infer<typeof GachaPoolZod>;
|
|
115060
115185
|
export type GameEvent = z.infer<typeof GameEventZod>;
|
|
115061
115186
|
export type GridRange = z.infer<typeof GridRangeZod>;
|
package/dist/index.js
CHANGED
|
@@ -497,7 +497,7 @@ export const EnemyZod = z.strictObject({
|
|
|
497
497
|
sortId: z.number(),
|
|
498
498
|
name: z.string(),
|
|
499
499
|
enemyLevel: z.enum(['NORMAL', 'ELITE', 'BOSS']),
|
|
500
|
-
description: z.string(),
|
|
500
|
+
description: z.string().nullable(),
|
|
501
501
|
attackType: z.null(),
|
|
502
502
|
ability: z.null(),
|
|
503
503
|
isInvalidKilled: z.boolean(),
|
|
@@ -520,6 +520,16 @@ export const EnemyZod = z.strictObject({
|
|
|
520
520
|
})),
|
|
521
521
|
}),
|
|
522
522
|
});
|
|
523
|
+
export const FactionZod = z.strictObject({
|
|
524
|
+
powerId: z.string(),
|
|
525
|
+
orderNum: z.number(),
|
|
526
|
+
powerLevel: z.number(),
|
|
527
|
+
powerName: z.string(),
|
|
528
|
+
powerCode: z.string(),
|
|
529
|
+
color: z.string(),
|
|
530
|
+
isLimited: z.boolean(),
|
|
531
|
+
isRaw: z.boolean(),
|
|
532
|
+
});
|
|
523
533
|
export const GachaPoolZod = z.strictObject({
|
|
524
534
|
client: z.strictObject({
|
|
525
535
|
gachaPoolId: z.string(),
|
|
@@ -1219,6 +1229,7 @@ export const DeployableZod = z.strictObject({
|
|
|
1219
1229
|
lvlUpCost: z.array(LevelUpCostZod).nullable(),
|
|
1220
1230
|
})),
|
|
1221
1231
|
}),
|
|
1232
|
+
factions: z.array(FactionZod.nullable()),
|
|
1222
1233
|
range: GridRangeZod.nullable(),
|
|
1223
1234
|
skills: z.array(SkillZod.nullable()),
|
|
1224
1235
|
skins: z.array(SkinZod.nullable()),
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -527,7 +527,7 @@ export const EnemyZod = z.strictObject({
|
|
|
527
527
|
sortId: z.number(),
|
|
528
528
|
name: z.string(),
|
|
529
529
|
enemyLevel: z.enum(['NORMAL', 'ELITE', 'BOSS']),
|
|
530
|
-
description: z.string(),
|
|
530
|
+
description: z.string().nullable(),
|
|
531
531
|
attackType: z.null(),
|
|
532
532
|
ability: z.null(),
|
|
533
533
|
isInvalidKilled: z.boolean(),
|
|
@@ -554,6 +554,16 @@ export const EnemyZod = z.strictObject({
|
|
|
554
554
|
),
|
|
555
555
|
}),
|
|
556
556
|
});
|
|
557
|
+
export const FactionZod = z.strictObject({
|
|
558
|
+
powerId: z.string(),
|
|
559
|
+
orderNum: z.number(),
|
|
560
|
+
powerLevel: z.number(),
|
|
561
|
+
powerName: z.string(),
|
|
562
|
+
powerCode: z.string(),
|
|
563
|
+
color: z.string(),
|
|
564
|
+
isLimited: z.boolean(),
|
|
565
|
+
isRaw: z.boolean(),
|
|
566
|
+
});
|
|
557
567
|
export const GachaPoolZod = z.strictObject({
|
|
558
568
|
client: z.strictObject({
|
|
559
569
|
gachaPoolId: z.string(),
|
|
@@ -1309,6 +1319,7 @@ export const DeployableZod = z.strictObject({
|
|
|
1309
1319
|
})
|
|
1310
1320
|
),
|
|
1311
1321
|
}),
|
|
1322
|
+
factions: z.array(FactionZod.nullable()),
|
|
1312
1323
|
range: GridRangeZod.nullable(),
|
|
1313
1324
|
skills: z.array(SkillZod.nullable()),
|
|
1314
1325
|
skins: z.array(SkinZod.nullable()),
|
|
@@ -1336,6 +1347,7 @@ export type CCSeason = z.infer<typeof CCSeasonZod>;
|
|
|
1336
1347
|
export type Definition = z.infer<typeof DefinitionZod>;
|
|
1337
1348
|
export type Deployable = z.infer<typeof DeployableZod>;
|
|
1338
1349
|
export type Enemy = z.infer<typeof EnemyZod>;
|
|
1350
|
+
export type Faction = z.infer<typeof FactionZod>;
|
|
1339
1351
|
export type GachaPool = z.infer<typeof GachaPoolZod>;
|
|
1340
1352
|
export type GameEvent = z.infer<typeof GameEventZod>;
|
|
1341
1353
|
export type GridRange = z.infer<typeof GridRangeZod>;
|