hella-types 0.2.22 → 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 CHANGED
@@ -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
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hella-types",
3
- "version": "0.2.22",
3
+ "version": "0.2.23",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "",
package/src/index.ts CHANGED
@@ -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>;