hella-types 0.0.17 → 0.0.18

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
@@ -29322,6 +29322,553 @@ export declare const EnemyZod: z.ZodObject<{
29322
29322
  }[];
29323
29323
  };
29324
29324
  }>;
29325
+ export declare const GachaPoolZod: z.ZodObject<{
29326
+ client: z.ZodObject<{
29327
+ gachaPoolId: z.ZodString;
29328
+ gachaIndex: z.ZodNumber;
29329
+ openTime: z.ZodNumber;
29330
+ endTime: z.ZodNumber;
29331
+ gachaPoolName: z.ZodString;
29332
+ gachaPoolSummary: z.ZodString;
29333
+ gachaPoolDetail: z.ZodNullable<z.ZodString>;
29334
+ guarantee5Avail: z.ZodNumber;
29335
+ guarantee5Count: z.ZodNumber;
29336
+ LMTGSID: z.ZodNull;
29337
+ CDPrimColor: z.ZodNull;
29338
+ CDSecColor: z.ZodNull;
29339
+ gachaRuleType: z.ZodString;
29340
+ dynMeta: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
29341
+ chooseRuleConst: z.ZodOptional<z.ZodString>;
29342
+ homeDescConst: z.ZodOptional<z.ZodString>;
29343
+ rarityPickCharDict: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
29344
+ scrollIndex: z.ZodNumber;
29345
+ star5ChooseRuleConst: z.ZodOptional<z.ZodString>;
29346
+ star6ChooseRuleConst: z.ZodOptional<z.ZodString>;
29347
+ }, "strict", z.ZodTypeAny, {
29348
+ scrollIndex: number;
29349
+ chooseRuleConst?: string | undefined;
29350
+ homeDescConst?: string | undefined;
29351
+ rarityPickCharDict?: Record<string, string[]> | undefined;
29352
+ star5ChooseRuleConst?: string | undefined;
29353
+ star6ChooseRuleConst?: string | undefined;
29354
+ }, {
29355
+ scrollIndex: number;
29356
+ chooseRuleConst?: string | undefined;
29357
+ homeDescConst?: string | undefined;
29358
+ rarityPickCharDict?: Record<string, string[]> | undefined;
29359
+ star5ChooseRuleConst?: string | undefined;
29360
+ star6ChooseRuleConst?: string | undefined;
29361
+ }>, z.ZodObject<{
29362
+ main6RarityCharId: z.ZodOptional<z.ZodString>;
29363
+ rare5CharList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
29364
+ scrollIndex: z.ZodNumber;
29365
+ sub6RarityCharId: z.ZodOptional<z.ZodString>;
29366
+ }, "strict", z.ZodTypeAny, {
29367
+ scrollIndex: number;
29368
+ main6RarityCharId?: string | undefined;
29369
+ rare5CharList?: string[] | undefined;
29370
+ sub6RarityCharId?: string | undefined;
29371
+ }, {
29372
+ scrollIndex: number;
29373
+ main6RarityCharId?: string | undefined;
29374
+ rare5CharList?: string[] | undefined;
29375
+ sub6RarityCharId?: string | undefined;
29376
+ }>]>>;
29377
+ linkageRuleId: z.ZodNullable<z.ZodString>;
29378
+ linkageParam: z.ZodNullable<z.ZodObject<{
29379
+ guaranteeTarget6Count: z.ZodNumber;
29380
+ }, "strict", z.ZodTypeAny, {
29381
+ guaranteeTarget6Count: number;
29382
+ }, {
29383
+ guaranteeTarget6Count: number;
29384
+ }>>;
29385
+ }, "strict", z.ZodTypeAny, {
29386
+ endTime: number;
29387
+ gachaPoolId: string;
29388
+ gachaIndex: number;
29389
+ openTime: number;
29390
+ gachaPoolName: string;
29391
+ gachaPoolSummary: string;
29392
+ gachaPoolDetail: string | null;
29393
+ guarantee5Avail: number;
29394
+ guarantee5Count: number;
29395
+ LMTGSID: null;
29396
+ CDPrimColor: null;
29397
+ CDSecColor: null;
29398
+ gachaRuleType: string;
29399
+ dynMeta: (({
29400
+ scrollIndex: number;
29401
+ chooseRuleConst?: string | undefined;
29402
+ homeDescConst?: string | undefined;
29403
+ rarityPickCharDict?: Record<string, string[]> | undefined;
29404
+ star5ChooseRuleConst?: string | undefined;
29405
+ star6ChooseRuleConst?: string | undefined;
29406
+ } | {
29407
+ scrollIndex: number;
29408
+ main6RarityCharId?: string | undefined;
29409
+ rare5CharList?: string[] | undefined;
29410
+ sub6RarityCharId?: string | undefined;
29411
+ }) & ({
29412
+ scrollIndex: number;
29413
+ chooseRuleConst?: string | undefined;
29414
+ homeDescConst?: string | undefined;
29415
+ rarityPickCharDict?: Record<string, string[]> | undefined;
29416
+ star5ChooseRuleConst?: string | undefined;
29417
+ star6ChooseRuleConst?: string | undefined;
29418
+ } | {
29419
+ scrollIndex: number;
29420
+ main6RarityCharId?: string | undefined;
29421
+ rare5CharList?: string[] | undefined;
29422
+ sub6RarityCharId?: string | undefined;
29423
+ } | undefined)) | null;
29424
+ linkageRuleId: string | null;
29425
+ linkageParam: {
29426
+ guaranteeTarget6Count: number;
29427
+ } | null;
29428
+ }, {
29429
+ endTime: number;
29430
+ gachaPoolId: string;
29431
+ gachaIndex: number;
29432
+ openTime: number;
29433
+ gachaPoolName: string;
29434
+ gachaPoolSummary: string;
29435
+ gachaPoolDetail: string | null;
29436
+ guarantee5Avail: number;
29437
+ guarantee5Count: number;
29438
+ LMTGSID: null;
29439
+ CDPrimColor: null;
29440
+ CDSecColor: null;
29441
+ gachaRuleType: string;
29442
+ dynMeta: (({
29443
+ scrollIndex: number;
29444
+ chooseRuleConst?: string | undefined;
29445
+ homeDescConst?: string | undefined;
29446
+ rarityPickCharDict?: Record<string, string[]> | undefined;
29447
+ star5ChooseRuleConst?: string | undefined;
29448
+ star6ChooseRuleConst?: string | undefined;
29449
+ } | {
29450
+ scrollIndex: number;
29451
+ main6RarityCharId?: string | undefined;
29452
+ rare5CharList?: string[] | undefined;
29453
+ sub6RarityCharId?: string | undefined;
29454
+ }) & ({
29455
+ scrollIndex: number;
29456
+ chooseRuleConst?: string | undefined;
29457
+ homeDescConst?: string | undefined;
29458
+ rarityPickCharDict?: Record<string, string[]> | undefined;
29459
+ star5ChooseRuleConst?: string | undefined;
29460
+ star6ChooseRuleConst?: string | undefined;
29461
+ } | {
29462
+ scrollIndex: number;
29463
+ main6RarityCharId?: string | undefined;
29464
+ rare5CharList?: string[] | undefined;
29465
+ sub6RarityCharId?: string | undefined;
29466
+ } | undefined)) | null;
29467
+ linkageRuleId: string | null;
29468
+ linkageParam: {
29469
+ guaranteeTarget6Count: number;
29470
+ } | null;
29471
+ }>;
29472
+ details: z.ZodObject<{
29473
+ detailInfo: z.ZodObject<{
29474
+ gachaObjGroups: z.ZodNullable<z.ZodArray<z.ZodObject<{
29475
+ groupType: z.ZodNumber;
29476
+ startIndex: z.ZodNumber;
29477
+ endIndex: z.ZodNumber;
29478
+ }, "strict", z.ZodTypeAny, {
29479
+ groupType: number;
29480
+ startIndex: number;
29481
+ endIndex: number;
29482
+ }, {
29483
+ groupType: number;
29484
+ startIndex: number;
29485
+ endIndex: number;
29486
+ }>, "many">>;
29487
+ availCharInfo: z.ZodObject<{
29488
+ perAvailList: z.ZodArray<z.ZodObject<{
29489
+ rarityRank: z.ZodNumber;
29490
+ charIdList: z.ZodArray<z.ZodString, "many">;
29491
+ totalPercent: z.ZodNumber;
29492
+ }, "strict", z.ZodTypeAny, {
29493
+ rarityRank: number;
29494
+ charIdList: string[];
29495
+ totalPercent: number;
29496
+ }, {
29497
+ rarityRank: number;
29498
+ charIdList: string[];
29499
+ totalPercent: number;
29500
+ }>, "many">;
29501
+ }, "strict", z.ZodTypeAny, {
29502
+ perAvailList: {
29503
+ rarityRank: number;
29504
+ charIdList: string[];
29505
+ totalPercent: number;
29506
+ }[];
29507
+ }, {
29508
+ perAvailList: {
29509
+ rarityRank: number;
29510
+ charIdList: string[];
29511
+ totalPercent: number;
29512
+ }[];
29513
+ }>;
29514
+ upCharInfo: z.ZodObject<{
29515
+ perCharList: z.ZodArray<z.ZodObject<{
29516
+ rarityRank: z.ZodNumber;
29517
+ charIdList: z.ZodArray<z.ZodString, "many">;
29518
+ percent: z.ZodNumber;
29519
+ count: z.ZodNumber;
29520
+ }, "strict", z.ZodTypeAny, {
29521
+ percent: number;
29522
+ count: number;
29523
+ rarityRank: number;
29524
+ charIdList: string[];
29525
+ }, {
29526
+ percent: number;
29527
+ count: number;
29528
+ rarityRank: number;
29529
+ charIdList: string[];
29530
+ }>, "many">;
29531
+ }, "strict", z.ZodTypeAny, {
29532
+ perCharList: {
29533
+ percent: number;
29534
+ count: number;
29535
+ rarityRank: number;
29536
+ charIdList: string[];
29537
+ }[];
29538
+ }, {
29539
+ perCharList: {
29540
+ percent: number;
29541
+ count: number;
29542
+ rarityRank: number;
29543
+ charIdList: string[];
29544
+ }[];
29545
+ }>;
29546
+ limitedChar: z.ZodNull;
29547
+ weightUpCharInfoList: z.ZodNull;
29548
+ gachaObjList: z.ZodArray<z.ZodObject<{
29549
+ gachaObject: z.ZodString;
29550
+ type: z.ZodNumber;
29551
+ imageType: z.ZodNumber;
29552
+ param: z.ZodNullable<z.ZodString>;
29553
+ }, "strict", z.ZodTypeAny, {
29554
+ type: number;
29555
+ param: string | null;
29556
+ gachaObject: string;
29557
+ imageType: number;
29558
+ }, {
29559
+ type: number;
29560
+ param: string | null;
29561
+ gachaObject: string;
29562
+ imageType: number;
29563
+ }>, "many">;
29564
+ }, "strict", z.ZodTypeAny, {
29565
+ gachaObjGroups: {
29566
+ groupType: number;
29567
+ startIndex: number;
29568
+ endIndex: number;
29569
+ }[] | null;
29570
+ availCharInfo: {
29571
+ perAvailList: {
29572
+ rarityRank: number;
29573
+ charIdList: string[];
29574
+ totalPercent: number;
29575
+ }[];
29576
+ };
29577
+ upCharInfo: {
29578
+ perCharList: {
29579
+ percent: number;
29580
+ count: number;
29581
+ rarityRank: number;
29582
+ charIdList: string[];
29583
+ }[];
29584
+ };
29585
+ limitedChar: null;
29586
+ weightUpCharInfoList: null;
29587
+ gachaObjList: {
29588
+ type: number;
29589
+ param: string | null;
29590
+ gachaObject: string;
29591
+ imageType: number;
29592
+ }[];
29593
+ }, {
29594
+ gachaObjGroups: {
29595
+ groupType: number;
29596
+ startIndex: number;
29597
+ endIndex: number;
29598
+ }[] | null;
29599
+ availCharInfo: {
29600
+ perAvailList: {
29601
+ rarityRank: number;
29602
+ charIdList: string[];
29603
+ totalPercent: number;
29604
+ }[];
29605
+ };
29606
+ upCharInfo: {
29607
+ perCharList: {
29608
+ percent: number;
29609
+ count: number;
29610
+ rarityRank: number;
29611
+ charIdList: string[];
29612
+ }[];
29613
+ };
29614
+ limitedChar: null;
29615
+ weightUpCharInfoList: null;
29616
+ gachaObjList: {
29617
+ type: number;
29618
+ param: string | null;
29619
+ gachaObject: string;
29620
+ imageType: number;
29621
+ }[];
29622
+ }>;
29623
+ gachaObjGroupType: z.ZodNumber;
29624
+ playerDataDelta: z.ZodObject<{
29625
+ modified: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
29626
+ deleted: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
29627
+ }, "strict", z.ZodTypeAny, {
29628
+ modified: {};
29629
+ deleted: {};
29630
+ }, {
29631
+ modified: {};
29632
+ deleted: {};
29633
+ }>;
29634
+ }, "strict", z.ZodTypeAny, {
29635
+ detailInfo: {
29636
+ gachaObjGroups: {
29637
+ groupType: number;
29638
+ startIndex: number;
29639
+ endIndex: number;
29640
+ }[] | null;
29641
+ availCharInfo: {
29642
+ perAvailList: {
29643
+ rarityRank: number;
29644
+ charIdList: string[];
29645
+ totalPercent: number;
29646
+ }[];
29647
+ };
29648
+ upCharInfo: {
29649
+ perCharList: {
29650
+ percent: number;
29651
+ count: number;
29652
+ rarityRank: number;
29653
+ charIdList: string[];
29654
+ }[];
29655
+ };
29656
+ limitedChar: null;
29657
+ weightUpCharInfoList: null;
29658
+ gachaObjList: {
29659
+ type: number;
29660
+ param: string | null;
29661
+ gachaObject: string;
29662
+ imageType: number;
29663
+ }[];
29664
+ };
29665
+ gachaObjGroupType: number;
29666
+ playerDataDelta: {
29667
+ modified: {};
29668
+ deleted: {};
29669
+ };
29670
+ }, {
29671
+ detailInfo: {
29672
+ gachaObjGroups: {
29673
+ groupType: number;
29674
+ startIndex: number;
29675
+ endIndex: number;
29676
+ }[] | null;
29677
+ availCharInfo: {
29678
+ perAvailList: {
29679
+ rarityRank: number;
29680
+ charIdList: string[];
29681
+ totalPercent: number;
29682
+ }[];
29683
+ };
29684
+ upCharInfo: {
29685
+ perCharList: {
29686
+ percent: number;
29687
+ count: number;
29688
+ rarityRank: number;
29689
+ charIdList: string[];
29690
+ }[];
29691
+ };
29692
+ limitedChar: null;
29693
+ weightUpCharInfoList: null;
29694
+ gachaObjList: {
29695
+ type: number;
29696
+ param: string | null;
29697
+ gachaObject: string;
29698
+ imageType: number;
29699
+ }[];
29700
+ };
29701
+ gachaObjGroupType: number;
29702
+ playerDataDelta: {
29703
+ modified: {};
29704
+ deleted: {};
29705
+ };
29706
+ }>;
29707
+ }, "strict", z.ZodTypeAny, {
29708
+ details: {
29709
+ detailInfo: {
29710
+ gachaObjGroups: {
29711
+ groupType: number;
29712
+ startIndex: number;
29713
+ endIndex: number;
29714
+ }[] | null;
29715
+ availCharInfo: {
29716
+ perAvailList: {
29717
+ rarityRank: number;
29718
+ charIdList: string[];
29719
+ totalPercent: number;
29720
+ }[];
29721
+ };
29722
+ upCharInfo: {
29723
+ perCharList: {
29724
+ percent: number;
29725
+ count: number;
29726
+ rarityRank: number;
29727
+ charIdList: string[];
29728
+ }[];
29729
+ };
29730
+ limitedChar: null;
29731
+ weightUpCharInfoList: null;
29732
+ gachaObjList: {
29733
+ type: number;
29734
+ param: string | null;
29735
+ gachaObject: string;
29736
+ imageType: number;
29737
+ }[];
29738
+ };
29739
+ gachaObjGroupType: number;
29740
+ playerDataDelta: {
29741
+ modified: {};
29742
+ deleted: {};
29743
+ };
29744
+ };
29745
+ client: {
29746
+ endTime: number;
29747
+ gachaPoolId: string;
29748
+ gachaIndex: number;
29749
+ openTime: number;
29750
+ gachaPoolName: string;
29751
+ gachaPoolSummary: string;
29752
+ gachaPoolDetail: string | null;
29753
+ guarantee5Avail: number;
29754
+ guarantee5Count: number;
29755
+ LMTGSID: null;
29756
+ CDPrimColor: null;
29757
+ CDSecColor: null;
29758
+ gachaRuleType: string;
29759
+ dynMeta: (({
29760
+ scrollIndex: number;
29761
+ chooseRuleConst?: string | undefined;
29762
+ homeDescConst?: string | undefined;
29763
+ rarityPickCharDict?: Record<string, string[]> | undefined;
29764
+ star5ChooseRuleConst?: string | undefined;
29765
+ star6ChooseRuleConst?: string | undefined;
29766
+ } | {
29767
+ scrollIndex: number;
29768
+ main6RarityCharId?: string | undefined;
29769
+ rare5CharList?: string[] | undefined;
29770
+ sub6RarityCharId?: string | undefined;
29771
+ }) & ({
29772
+ scrollIndex: number;
29773
+ chooseRuleConst?: string | undefined;
29774
+ homeDescConst?: string | undefined;
29775
+ rarityPickCharDict?: Record<string, string[]> | undefined;
29776
+ star5ChooseRuleConst?: string | undefined;
29777
+ star6ChooseRuleConst?: string | undefined;
29778
+ } | {
29779
+ scrollIndex: number;
29780
+ main6RarityCharId?: string | undefined;
29781
+ rare5CharList?: string[] | undefined;
29782
+ sub6RarityCharId?: string | undefined;
29783
+ } | undefined)) | null;
29784
+ linkageRuleId: string | null;
29785
+ linkageParam: {
29786
+ guaranteeTarget6Count: number;
29787
+ } | null;
29788
+ };
29789
+ }, {
29790
+ details: {
29791
+ detailInfo: {
29792
+ gachaObjGroups: {
29793
+ groupType: number;
29794
+ startIndex: number;
29795
+ endIndex: number;
29796
+ }[] | null;
29797
+ availCharInfo: {
29798
+ perAvailList: {
29799
+ rarityRank: number;
29800
+ charIdList: string[];
29801
+ totalPercent: number;
29802
+ }[];
29803
+ };
29804
+ upCharInfo: {
29805
+ perCharList: {
29806
+ percent: number;
29807
+ count: number;
29808
+ rarityRank: number;
29809
+ charIdList: string[];
29810
+ }[];
29811
+ };
29812
+ limitedChar: null;
29813
+ weightUpCharInfoList: null;
29814
+ gachaObjList: {
29815
+ type: number;
29816
+ param: string | null;
29817
+ gachaObject: string;
29818
+ imageType: number;
29819
+ }[];
29820
+ };
29821
+ gachaObjGroupType: number;
29822
+ playerDataDelta: {
29823
+ modified: {};
29824
+ deleted: {};
29825
+ };
29826
+ };
29827
+ client: {
29828
+ endTime: number;
29829
+ gachaPoolId: string;
29830
+ gachaIndex: number;
29831
+ openTime: number;
29832
+ gachaPoolName: string;
29833
+ gachaPoolSummary: string;
29834
+ gachaPoolDetail: string | null;
29835
+ guarantee5Avail: number;
29836
+ guarantee5Count: number;
29837
+ LMTGSID: null;
29838
+ CDPrimColor: null;
29839
+ CDSecColor: null;
29840
+ gachaRuleType: string;
29841
+ dynMeta: (({
29842
+ scrollIndex: number;
29843
+ chooseRuleConst?: string | undefined;
29844
+ homeDescConst?: string | undefined;
29845
+ rarityPickCharDict?: Record<string, string[]> | undefined;
29846
+ star5ChooseRuleConst?: string | undefined;
29847
+ star6ChooseRuleConst?: string | undefined;
29848
+ } | {
29849
+ scrollIndex: number;
29850
+ main6RarityCharId?: string | undefined;
29851
+ rare5CharList?: string[] | undefined;
29852
+ sub6RarityCharId?: string | undefined;
29853
+ }) & ({
29854
+ scrollIndex: number;
29855
+ chooseRuleConst?: string | undefined;
29856
+ homeDescConst?: string | undefined;
29857
+ rarityPickCharDict?: Record<string, string[]> | undefined;
29858
+ star5ChooseRuleConst?: string | undefined;
29859
+ star6ChooseRuleConst?: string | undefined;
29860
+ } | {
29861
+ scrollIndex: number;
29862
+ main6RarityCharId?: string | undefined;
29863
+ rare5CharList?: string[] | undefined;
29864
+ sub6RarityCharId?: string | undefined;
29865
+ } | undefined)) | null;
29866
+ linkageRuleId: string | null;
29867
+ linkageParam: {
29868
+ guaranteeTarget6Count: number;
29869
+ } | null;
29870
+ };
29871
+ }>;
29325
29872
  export declare const GameEventZod: z.ZodObject<{
29326
29873
  id: z.ZodString;
29327
29874
  type: z.ZodString;
@@ -85204,6 +85751,7 @@ export type CCStage = z.infer<typeof CCStageZod>;
85204
85751
  export type Definition = z.infer<typeof DefinitionZod>;
85205
85752
  export type Deployable = z.infer<typeof DeployableZod>;
85206
85753
  export type Enemy = z.infer<typeof EnemyZod>;
85754
+ export type GachaPool = z.infer<typeof GachaPoolZod>;
85207
85755
  export type GameEvent = z.infer<typeof GameEventZod>;
85208
85756
  export type GridRange = z.infer<typeof GridRangeZod>;
85209
85757
  export type Item = z.infer<typeof ItemZod>;
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OperatorZod = exports.DeployableZod = exports.StageZod = exports.SkinZod = exports.SkillZod = exports.SandboxActZod = exports.RogueThemeZod = exports.ParadoxZod = exports.ModuleZod = exports.ItemZod = exports.GridRangeZod = exports.GameEventZod = exports.EnemyZod = exports.DefinitionZod = exports.CCStageZod = exports.BaseZod = void 0;
3
+ exports.OperatorZod = exports.DeployableZod = exports.StageZod = exports.SkinZod = exports.SkillZod = exports.SandboxActZod = exports.RogueThemeZod = exports.ParadoxZod = exports.ModuleZod = exports.ItemZod = exports.GridRangeZod = exports.GameEventZod = exports.GachaPoolZod = exports.EnemyZod = exports.DefinitionZod = exports.CCStageZod = exports.BaseZod = void 0;
4
4
  var z = require("zod");
5
5
  var BlackboardZod = z.strictObject({
6
6
  key: z.string(),
@@ -587,6 +587,80 @@ exports.EnemyZod = z.strictObject({
587
587
  })),
588
588
  }),
589
589
  });
590
+ exports.GachaPoolZod = z.strictObject({
591
+ client: z.strictObject({
592
+ gachaPoolId: z.string(),
593
+ gachaIndex: z.number(),
594
+ openTime: z.number(),
595
+ endTime: z.number(),
596
+ gachaPoolName: z.string(),
597
+ gachaPoolSummary: z.string(),
598
+ gachaPoolDetail: z.string().nullable(),
599
+ guarantee5Avail: z.number(),
600
+ guarantee5Count: z.number(),
601
+ LMTGSID: z.null(),
602
+ CDPrimColor: z.null(),
603
+ CDSecColor: z.null(),
604
+ gachaRuleType: z.string(),
605
+ dynMeta: z.union([
606
+ z.strictObject({
607
+ chooseRuleConst: z.string().optional(),
608
+ homeDescConst: z.string().optional(),
609
+ rarityPickCharDict: z.record(z.string(), z.array(z.string())).optional(),
610
+ scrollIndex: z.number(),
611
+ star5ChooseRuleConst: z.string().optional(),
612
+ star6ChooseRuleConst: z.string().optional(),
613
+ }),
614
+ z.strictObject({
615
+ main6RarityCharId: z.string().optional(),
616
+ rare5CharList: z.array(z.string()).optional(),
617
+ scrollIndex: z.number(),
618
+ sub6RarityCharId: z.string().optional(),
619
+ }),
620
+ ]).nullable(),
621
+ linkageRuleId: z.string().nullable(),
622
+ linkageParam: z.strictObject({
623
+ guaranteeTarget6Count: z.number(),
624
+ }).nullable(),
625
+ }),
626
+ details: z.strictObject({
627
+ detailInfo: z.strictObject({
628
+ gachaObjGroups: z.array(z.strictObject({
629
+ groupType: z.number(),
630
+ startIndex: z.number(),
631
+ endIndex: z.number(),
632
+ })).nullable(),
633
+ availCharInfo: z.strictObject({
634
+ perAvailList: z.array(z.strictObject({
635
+ rarityRank: z.number(),
636
+ charIdList: z.array(z.string()),
637
+ totalPercent: z.number(),
638
+ })),
639
+ }),
640
+ upCharInfo: z.strictObject({
641
+ perCharList: z.array(z.strictObject({
642
+ rarityRank: z.number(),
643
+ charIdList: z.array(z.string()),
644
+ percent: z.number(),
645
+ count: z.number(),
646
+ })),
647
+ }),
648
+ limitedChar: z.null(),
649
+ weightUpCharInfoList: z.null(),
650
+ gachaObjList: z.array(z.strictObject({
651
+ gachaObject: z.string(),
652
+ type: z.number(),
653
+ imageType: z.number(),
654
+ param: z.string().nullable(),
655
+ })),
656
+ }),
657
+ gachaObjGroupType: z.number(),
658
+ playerDataDelta: z.strictObject({
659
+ modified: z.strictObject({}),
660
+ deleted: z.strictObject({}),
661
+ }),
662
+ }),
663
+ });
590
664
  exports.GameEventZod = z.strictObject({
591
665
  id: z.string(),
592
666
  type: z.string(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hella-types",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "",
package/src/index.ts CHANGED
@@ -620,6 +620,86 @@ export const EnemyZod = z.strictObject({
620
620
  ),
621
621
  }),
622
622
  });
623
+ export const GachaPoolZod = z.strictObject({
624
+ client: z.strictObject({
625
+ gachaPoolId: z.string(),
626
+ gachaIndex: z.number(),
627
+ openTime: z.number(),
628
+ endTime: z.number(),
629
+ gachaPoolName: z.string(),
630
+ gachaPoolSummary: z.string(),
631
+ gachaPoolDetail: z.string().nullable(),
632
+ guarantee5Avail: z.number(),
633
+ guarantee5Count: z.number(),
634
+ LMTGSID: z.null(),
635
+ CDPrimColor: z.null(),
636
+ CDSecColor: z.null(),
637
+ gachaRuleType: z.string(),
638
+ dynMeta: z.union([
639
+ z.strictObject({
640
+ chooseRuleConst: z.string().optional(),
641
+ homeDescConst: z.string().optional(),
642
+ rarityPickCharDict: z.record(z.string(), z.array(z.string())).optional(),
643
+ scrollIndex: z.number(),
644
+ star5ChooseRuleConst: z.string().optional(),
645
+ star6ChooseRuleConst: z.string().optional(),
646
+ }),
647
+ z.strictObject({
648
+ main6RarityCharId: z.string().optional(),
649
+ rare5CharList: z.array(z.string()).optional(),
650
+ scrollIndex: z.number(),
651
+ sub6RarityCharId: z.string().optional(),
652
+ }),
653
+ ]).nullable(),
654
+ linkageRuleId: z.string().nullable(),
655
+ linkageParam: z.strictObject({
656
+ guaranteeTarget6Count: z.number(),
657
+ }).nullable(),
658
+ }),
659
+ details: z.strictObject({
660
+ detailInfo: z.strictObject({
661
+ gachaObjGroups: z.array(z.strictObject({
662
+ groupType: z.number(),
663
+ startIndex: z.number(),
664
+ endIndex: z.number(),
665
+ })).nullable(),
666
+ availCharInfo: z.strictObject({
667
+ perAvailList: z.array(
668
+ z.strictObject({
669
+ rarityRank: z.number(),
670
+ charIdList: z.array(z.string()),
671
+ totalPercent: z.number(),
672
+ })
673
+ ),
674
+ }),
675
+ upCharInfo: z.strictObject({
676
+ perCharList: z.array(
677
+ z.strictObject({
678
+ rarityRank: z.number(),
679
+ charIdList: z.array(z.string()),
680
+ percent: z.number(),
681
+ count: z.number(),
682
+ })
683
+ ),
684
+ }),
685
+ limitedChar: z.null(),
686
+ weightUpCharInfoList: z.null(),
687
+ gachaObjList: z.array(
688
+ z.strictObject({
689
+ gachaObject: z.string(),
690
+ type: z.number(),
691
+ imageType: z.number(),
692
+ param: z.string().nullable(),
693
+ })
694
+ ),
695
+ }),
696
+ gachaObjGroupType: z.number(),
697
+ playerDataDelta: z.strictObject({
698
+ modified: z.strictObject({}),
699
+ deleted: z.strictObject({}),
700
+ }),
701
+ }),
702
+ });
623
703
  export const GameEventZod = z.strictObject({
624
704
  id: z.string(),
625
705
  type: z.string(),
@@ -1101,6 +1181,7 @@ export type CCStage = z.infer<typeof CCStageZod>;
1101
1181
  export type Definition = z.infer<typeof DefinitionZod>;
1102
1182
  export type Deployable = z.infer<typeof DeployableZod>;
1103
1183
  export type Enemy = z.infer<typeof EnemyZod>;
1184
+ export type GachaPool = z.infer<typeof GachaPoolZod>;
1104
1185
  export type GameEvent = z.infer<typeof GameEventZod>;
1105
1186
  export type GridRange = z.infer<typeof GridRangeZod>;
1106
1187
  export type Item = z.infer<typeof ItemZod>;