hella-types 0.2.1 → 0.2.3
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/README.md +3 -2
- package/dist/index.d.ts +310 -72
- package/dist/index.js +9 -4
- package/package.json +4 -4
- package/src/index.ts +10 -5
- package/tsconfig.json +2 -2
package/README.md
CHANGED
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
A types library for data returned by HellaAPI. Provides native TS types as well as [Zod schema objects](https://github.com/colinhacks/zod).
|
|
6
6
|
|
|
7
|
-
These typings are
|
|
7
|
+
These typings are largely GPT-generated and manually edited. As such, they are probably not 100% accurate.
|
|
8
8
|
|
|
9
|
+
> https://www.npmjs.com/package/hella-types
|
|
9
10
|
```sh
|
|
10
11
|
npm install hella-types
|
|
11
|
-
```
|
|
12
|
+
```
|
package/dist/index.d.ts
CHANGED
|
@@ -45554,6 +45554,27 @@ export declare const GachaPoolZod: z.ZodObject<{
|
|
|
45554
45554
|
attainRare6CharList: string[];
|
|
45555
45555
|
attainRare6Num: number;
|
|
45556
45556
|
scrollIndex?: number | undefined;
|
|
45557
|
+
}>, z.ZodObject<{
|
|
45558
|
+
detailInfo: z.ZodString;
|
|
45559
|
+
detailTitle: z.ZodString;
|
|
45560
|
+
homeIntroDesc: z.ZodString;
|
|
45561
|
+
rarityPickCharDict: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
|
|
45562
|
+
star5ChooseRule: z.ZodString;
|
|
45563
|
+
star6ChooseRule: z.ZodString;
|
|
45564
|
+
}, "strict", z.ZodTypeAny, {
|
|
45565
|
+
rarityPickCharDict: Record<string, string[]>;
|
|
45566
|
+
detailInfo: string;
|
|
45567
|
+
detailTitle: string;
|
|
45568
|
+
homeIntroDesc: string;
|
|
45569
|
+
star5ChooseRule: string;
|
|
45570
|
+
star6ChooseRule: string;
|
|
45571
|
+
}, {
|
|
45572
|
+
rarityPickCharDict: Record<string, string[]>;
|
|
45573
|
+
detailInfo: string;
|
|
45574
|
+
detailTitle: string;
|
|
45575
|
+
homeIntroDesc: string;
|
|
45576
|
+
star5ChooseRule: string;
|
|
45577
|
+
star6ChooseRule: string;
|
|
45557
45578
|
}>]>>;
|
|
45558
45579
|
linkageRuleId: z.ZodNullable<z.ZodString>;
|
|
45559
45580
|
linkageParam: z.ZodNullable<z.ZodObject<{
|
|
@@ -45606,6 +45627,13 @@ export declare const GachaPoolZod: z.ZodObject<{
|
|
|
45606
45627
|
attainRare6CharList: string[];
|
|
45607
45628
|
attainRare6Num: number;
|
|
45608
45629
|
scrollIndex?: number | undefined;
|
|
45630
|
+
} | {
|
|
45631
|
+
rarityPickCharDict: Record<string, string[]>;
|
|
45632
|
+
detailInfo: string;
|
|
45633
|
+
detailTitle: string;
|
|
45634
|
+
homeIntroDesc: string;
|
|
45635
|
+
star5ChooseRule: string;
|
|
45636
|
+
star6ChooseRule: string;
|
|
45609
45637
|
}) & ({
|
|
45610
45638
|
chooseRuleConst: string;
|
|
45611
45639
|
homeDescConst: string;
|
|
@@ -45622,6 +45650,13 @@ export declare const GachaPoolZod: z.ZodObject<{
|
|
|
45622
45650
|
attainRare6CharList: string[];
|
|
45623
45651
|
attainRare6Num: number;
|
|
45624
45652
|
scrollIndex?: number | undefined;
|
|
45653
|
+
} | {
|
|
45654
|
+
rarityPickCharDict: Record<string, string[]>;
|
|
45655
|
+
detailInfo: string;
|
|
45656
|
+
detailTitle: string;
|
|
45657
|
+
homeIntroDesc: string;
|
|
45658
|
+
star5ChooseRule: string;
|
|
45659
|
+
star6ChooseRule: string;
|
|
45625
45660
|
} | undefined)) | null;
|
|
45626
45661
|
linkageRuleId: string | null;
|
|
45627
45662
|
linkageParam: {
|
|
@@ -45663,6 +45698,13 @@ export declare const GachaPoolZod: z.ZodObject<{
|
|
|
45663
45698
|
attainRare6CharList: string[];
|
|
45664
45699
|
attainRare6Num: number;
|
|
45665
45700
|
scrollIndex?: number | undefined;
|
|
45701
|
+
} | {
|
|
45702
|
+
rarityPickCharDict: Record<string, string[]>;
|
|
45703
|
+
detailInfo: string;
|
|
45704
|
+
detailTitle: string;
|
|
45705
|
+
homeIntroDesc: string;
|
|
45706
|
+
star5ChooseRule: string;
|
|
45707
|
+
star6ChooseRule: string;
|
|
45666
45708
|
}) & ({
|
|
45667
45709
|
chooseRuleConst: string;
|
|
45668
45710
|
homeDescConst: string;
|
|
@@ -45679,6 +45721,13 @@ export declare const GachaPoolZod: z.ZodObject<{
|
|
|
45679
45721
|
attainRare6CharList: string[];
|
|
45680
45722
|
attainRare6Num: number;
|
|
45681
45723
|
scrollIndex?: number | undefined;
|
|
45724
|
+
} | {
|
|
45725
|
+
rarityPickCharDict: Record<string, string[]>;
|
|
45726
|
+
detailInfo: string;
|
|
45727
|
+
detailTitle: string;
|
|
45728
|
+
homeIntroDesc: string;
|
|
45729
|
+
star5ChooseRule: string;
|
|
45730
|
+
star6ChooseRule: string;
|
|
45682
45731
|
} | undefined)) | null;
|
|
45683
45732
|
linkageRuleId: string | null;
|
|
45684
45733
|
linkageParam: {
|
|
@@ -46082,6 +46131,13 @@ export declare const GachaPoolZod: z.ZodObject<{
|
|
|
46082
46131
|
attainRare6CharList: string[];
|
|
46083
46132
|
attainRare6Num: number;
|
|
46084
46133
|
scrollIndex?: number | undefined;
|
|
46134
|
+
} | {
|
|
46135
|
+
rarityPickCharDict: Record<string, string[]>;
|
|
46136
|
+
detailInfo: string;
|
|
46137
|
+
detailTitle: string;
|
|
46138
|
+
homeIntroDesc: string;
|
|
46139
|
+
star5ChooseRule: string;
|
|
46140
|
+
star6ChooseRule: string;
|
|
46085
46141
|
}) & ({
|
|
46086
46142
|
chooseRuleConst: string;
|
|
46087
46143
|
homeDescConst: string;
|
|
@@ -46098,6 +46154,13 @@ export declare const GachaPoolZod: z.ZodObject<{
|
|
|
46098
46154
|
attainRare6CharList: string[];
|
|
46099
46155
|
attainRare6Num: number;
|
|
46100
46156
|
scrollIndex?: number | undefined;
|
|
46157
|
+
} | {
|
|
46158
|
+
rarityPickCharDict: Record<string, string[]>;
|
|
46159
|
+
detailInfo: string;
|
|
46160
|
+
detailTitle: string;
|
|
46161
|
+
homeIntroDesc: string;
|
|
46162
|
+
star5ChooseRule: string;
|
|
46163
|
+
star6ChooseRule: string;
|
|
46101
46164
|
} | undefined)) | null;
|
|
46102
46165
|
linkageRuleId: string | null;
|
|
46103
46166
|
linkageParam: {
|
|
@@ -46188,6 +46251,13 @@ export declare const GachaPoolZod: z.ZodObject<{
|
|
|
46188
46251
|
attainRare6CharList: string[];
|
|
46189
46252
|
attainRare6Num: number;
|
|
46190
46253
|
scrollIndex?: number | undefined;
|
|
46254
|
+
} | {
|
|
46255
|
+
rarityPickCharDict: Record<string, string[]>;
|
|
46256
|
+
detailInfo: string;
|
|
46257
|
+
detailTitle: string;
|
|
46258
|
+
homeIntroDesc: string;
|
|
46259
|
+
star5ChooseRule: string;
|
|
46260
|
+
star6ChooseRule: string;
|
|
46191
46261
|
}) & ({
|
|
46192
46262
|
chooseRuleConst: string;
|
|
46193
46263
|
homeDescConst: string;
|
|
@@ -46204,6 +46274,13 @@ export declare const GachaPoolZod: z.ZodObject<{
|
|
|
46204
46274
|
attainRare6CharList: string[];
|
|
46205
46275
|
attainRare6Num: number;
|
|
46206
46276
|
scrollIndex?: number | undefined;
|
|
46277
|
+
} | {
|
|
46278
|
+
rarityPickCharDict: Record<string, string[]>;
|
|
46279
|
+
detailInfo: string;
|
|
46280
|
+
detailTitle: string;
|
|
46281
|
+
homeIntroDesc: string;
|
|
46282
|
+
star5ChooseRule: string;
|
|
46283
|
+
star6ChooseRule: string;
|
|
46207
46284
|
} | undefined)) | null;
|
|
46208
46285
|
linkageRuleId: string | null;
|
|
46209
46286
|
linkageParam: {
|
|
@@ -47807,9 +47884,6 @@ export declare const ParadoxZod: z.ZodObject<{
|
|
|
47807
47884
|
id: string;
|
|
47808
47885
|
count: number;
|
|
47809
47886
|
}>, "many">;
|
|
47810
|
-
stageNameForShow: z.ZodString;
|
|
47811
|
-
zoneNameForShow: z.ZodString;
|
|
47812
|
-
picId: z.ZodString;
|
|
47813
47887
|
stageGetTime: z.ZodNumber;
|
|
47814
47888
|
}, "strict", z.ZodTypeAny, {
|
|
47815
47889
|
code: string;
|
|
@@ -47818,7 +47892,6 @@ export declare const ParadoxZod: z.ZodObject<{
|
|
|
47818
47892
|
stageId: string;
|
|
47819
47893
|
levelId: string;
|
|
47820
47894
|
loadingPicId: string;
|
|
47821
|
-
picId: string;
|
|
47822
47895
|
charId: string;
|
|
47823
47896
|
zoneId: string;
|
|
47824
47897
|
unlockParam: {
|
|
@@ -47832,8 +47905,6 @@ export declare const ParadoxZod: z.ZodObject<{
|
|
|
47832
47905
|
id: string;
|
|
47833
47906
|
count: number;
|
|
47834
47907
|
}[];
|
|
47835
|
-
stageNameForShow: string;
|
|
47836
|
-
zoneNameForShow: string;
|
|
47837
47908
|
stageGetTime: number;
|
|
47838
47909
|
}, {
|
|
47839
47910
|
code: string;
|
|
@@ -47842,7 +47913,6 @@ export declare const ParadoxZod: z.ZodObject<{
|
|
|
47842
47913
|
stageId: string;
|
|
47843
47914
|
levelId: string;
|
|
47844
47915
|
loadingPicId: string;
|
|
47845
|
-
picId: string;
|
|
47846
47916
|
charId: string;
|
|
47847
47917
|
zoneId: string;
|
|
47848
47918
|
unlockParam: {
|
|
@@ -47856,8 +47926,6 @@ export declare const ParadoxZod: z.ZodObject<{
|
|
|
47856
47926
|
id: string;
|
|
47857
47927
|
count: number;
|
|
47858
47928
|
}[];
|
|
47859
|
-
stageNameForShow: string;
|
|
47860
|
-
zoneNameForShow: string;
|
|
47861
47929
|
stageGetTime: number;
|
|
47862
47930
|
}>;
|
|
47863
47931
|
levels: z.ZodObject<{
|
|
@@ -53495,7 +53563,6 @@ export declare const ParadoxZod: z.ZodObject<{
|
|
|
53495
53563
|
stageId: string;
|
|
53496
53564
|
levelId: string;
|
|
53497
53565
|
loadingPicId: string;
|
|
53498
|
-
picId: string;
|
|
53499
53566
|
charId: string;
|
|
53500
53567
|
zoneId: string;
|
|
53501
53568
|
unlockParam: {
|
|
@@ -53509,8 +53576,6 @@ export declare const ParadoxZod: z.ZodObject<{
|
|
|
53509
53576
|
id: string;
|
|
53510
53577
|
count: number;
|
|
53511
53578
|
}[];
|
|
53512
|
-
stageNameForShow: string;
|
|
53513
|
-
zoneNameForShow: string;
|
|
53514
53579
|
stageGetTime: number;
|
|
53515
53580
|
};
|
|
53516
53581
|
levels: {
|
|
@@ -54238,7 +54303,6 @@ export declare const ParadoxZod: z.ZodObject<{
|
|
|
54238
54303
|
stageId: string;
|
|
54239
54304
|
levelId: string;
|
|
54240
54305
|
loadingPicId: string;
|
|
54241
|
-
picId: string;
|
|
54242
54306
|
charId: string;
|
|
54243
54307
|
zoneId: string;
|
|
54244
54308
|
unlockParam: {
|
|
@@ -54252,8 +54316,6 @@ export declare const ParadoxZod: z.ZodObject<{
|
|
|
54252
54316
|
id: string;
|
|
54253
54317
|
count: number;
|
|
54254
54318
|
}[];
|
|
54255
|
-
stageNameForShow: string;
|
|
54256
|
-
zoneNameForShow: string;
|
|
54257
54319
|
stageGetTime: number;
|
|
54258
54320
|
};
|
|
54259
54321
|
levels: {
|
|
@@ -90550,6 +90612,149 @@ export declare const DeployableZod: z.ZodObject<{
|
|
|
90550
90612
|
}[] | null;
|
|
90551
90613
|
}[];
|
|
90552
90614
|
}>;
|
|
90615
|
+
skills: z.ZodArray<z.ZodNullable<z.ZodObject<{
|
|
90616
|
+
skillId: z.ZodString;
|
|
90617
|
+
iconId: z.ZodNullable<z.ZodString>;
|
|
90618
|
+
hidden: z.ZodBoolean;
|
|
90619
|
+
levels: z.ZodArray<z.ZodObject<{
|
|
90620
|
+
name: z.ZodString;
|
|
90621
|
+
rangeId: z.ZodNullable<z.ZodString>;
|
|
90622
|
+
description: z.ZodNullable<z.ZodString>;
|
|
90623
|
+
skillType: z.ZodString;
|
|
90624
|
+
durationType: z.ZodString;
|
|
90625
|
+
spData: z.ZodObject<{
|
|
90626
|
+
spType: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
90627
|
+
levelUpCost: z.ZodNull;
|
|
90628
|
+
maxChargeTime: z.ZodNumber;
|
|
90629
|
+
spCost: z.ZodNumber;
|
|
90630
|
+
initSp: z.ZodNumber;
|
|
90631
|
+
increment: z.ZodNumber;
|
|
90632
|
+
}, "strict", z.ZodTypeAny, {
|
|
90633
|
+
spCost: number;
|
|
90634
|
+
spType: string | number;
|
|
90635
|
+
initSp: number;
|
|
90636
|
+
increment: number;
|
|
90637
|
+
levelUpCost: null;
|
|
90638
|
+
maxChargeTime: number;
|
|
90639
|
+
}, {
|
|
90640
|
+
spCost: number;
|
|
90641
|
+
spType: string | number;
|
|
90642
|
+
initSp: number;
|
|
90643
|
+
increment: number;
|
|
90644
|
+
levelUpCost: null;
|
|
90645
|
+
maxChargeTime: number;
|
|
90646
|
+
}>;
|
|
90647
|
+
prefabId: z.ZodNullable<z.ZodString>;
|
|
90648
|
+
duration: z.ZodNumber;
|
|
90649
|
+
blackboard: z.ZodArray<z.ZodObject<{
|
|
90650
|
+
key: z.ZodString;
|
|
90651
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
90652
|
+
valueStr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
90653
|
+
}, "strict", z.ZodTypeAny, {
|
|
90654
|
+
key: string;
|
|
90655
|
+
value?: number | null | undefined;
|
|
90656
|
+
valueStr?: string | null | undefined;
|
|
90657
|
+
}, {
|
|
90658
|
+
key: string;
|
|
90659
|
+
value?: number | null | undefined;
|
|
90660
|
+
valueStr?: string | null | undefined;
|
|
90661
|
+
}>, "many">;
|
|
90662
|
+
}, "strict", z.ZodTypeAny, {
|
|
90663
|
+
name: string;
|
|
90664
|
+
description: string | null;
|
|
90665
|
+
blackboard: {
|
|
90666
|
+
key: string;
|
|
90667
|
+
value?: number | null | undefined;
|
|
90668
|
+
valueStr?: string | null | undefined;
|
|
90669
|
+
}[];
|
|
90670
|
+
spData: {
|
|
90671
|
+
spCost: number;
|
|
90672
|
+
spType: string | number;
|
|
90673
|
+
initSp: number;
|
|
90674
|
+
increment: number;
|
|
90675
|
+
levelUpCost: null;
|
|
90676
|
+
maxChargeTime: number;
|
|
90677
|
+
};
|
|
90678
|
+
duration: number;
|
|
90679
|
+
rangeId: string | null;
|
|
90680
|
+
skillType: string;
|
|
90681
|
+
durationType: string;
|
|
90682
|
+
prefabId: string | null;
|
|
90683
|
+
}, {
|
|
90684
|
+
name: string;
|
|
90685
|
+
description: string | null;
|
|
90686
|
+
blackboard: {
|
|
90687
|
+
key: string;
|
|
90688
|
+
value?: number | null | undefined;
|
|
90689
|
+
valueStr?: string | null | undefined;
|
|
90690
|
+
}[];
|
|
90691
|
+
spData: {
|
|
90692
|
+
spCost: number;
|
|
90693
|
+
spType: string | number;
|
|
90694
|
+
initSp: number;
|
|
90695
|
+
increment: number;
|
|
90696
|
+
levelUpCost: null;
|
|
90697
|
+
maxChargeTime: number;
|
|
90698
|
+
};
|
|
90699
|
+
duration: number;
|
|
90700
|
+
rangeId: string | null;
|
|
90701
|
+
skillType: string;
|
|
90702
|
+
durationType: string;
|
|
90703
|
+
prefabId: string | null;
|
|
90704
|
+
}>, "many">;
|
|
90705
|
+
}, "strict", z.ZodTypeAny, {
|
|
90706
|
+
hidden: boolean;
|
|
90707
|
+
iconId: string | null;
|
|
90708
|
+
levels: {
|
|
90709
|
+
name: string;
|
|
90710
|
+
description: string | null;
|
|
90711
|
+
blackboard: {
|
|
90712
|
+
key: string;
|
|
90713
|
+
value?: number | null | undefined;
|
|
90714
|
+
valueStr?: string | null | undefined;
|
|
90715
|
+
}[];
|
|
90716
|
+
spData: {
|
|
90717
|
+
spCost: number;
|
|
90718
|
+
spType: string | number;
|
|
90719
|
+
initSp: number;
|
|
90720
|
+
increment: number;
|
|
90721
|
+
levelUpCost: null;
|
|
90722
|
+
maxChargeTime: number;
|
|
90723
|
+
};
|
|
90724
|
+
duration: number;
|
|
90725
|
+
rangeId: string | null;
|
|
90726
|
+
skillType: string;
|
|
90727
|
+
durationType: string;
|
|
90728
|
+
prefabId: string | null;
|
|
90729
|
+
}[];
|
|
90730
|
+
skillId: string;
|
|
90731
|
+
}, {
|
|
90732
|
+
hidden: boolean;
|
|
90733
|
+
iconId: string | null;
|
|
90734
|
+
levels: {
|
|
90735
|
+
name: string;
|
|
90736
|
+
description: string | null;
|
|
90737
|
+
blackboard: {
|
|
90738
|
+
key: string;
|
|
90739
|
+
value?: number | null | undefined;
|
|
90740
|
+
valueStr?: string | null | undefined;
|
|
90741
|
+
}[];
|
|
90742
|
+
spData: {
|
|
90743
|
+
spCost: number;
|
|
90744
|
+
spType: string | number;
|
|
90745
|
+
initSp: number;
|
|
90746
|
+
increment: number;
|
|
90747
|
+
levelUpCost: null;
|
|
90748
|
+
maxChargeTime: number;
|
|
90749
|
+
};
|
|
90750
|
+
duration: number;
|
|
90751
|
+
rangeId: string | null;
|
|
90752
|
+
skillType: string;
|
|
90753
|
+
durationType: string;
|
|
90754
|
+
prefabId: string | null;
|
|
90755
|
+
}[];
|
|
90756
|
+
skillId: string;
|
|
90757
|
+
}>>, "many">;
|
|
90553
90758
|
}, "strict", z.ZodTypeAny, {
|
|
90554
90759
|
data: {
|
|
90555
90760
|
name: string;
|
|
@@ -90736,6 +90941,33 @@ export declare const DeployableZod: z.ZodObject<{
|
|
|
90736
90941
|
}[];
|
|
90737
90942
|
};
|
|
90738
90943
|
id: string;
|
|
90944
|
+
skills: ({
|
|
90945
|
+
hidden: boolean;
|
|
90946
|
+
iconId: string | null;
|
|
90947
|
+
levels: {
|
|
90948
|
+
name: string;
|
|
90949
|
+
description: string | null;
|
|
90950
|
+
blackboard: {
|
|
90951
|
+
key: string;
|
|
90952
|
+
value?: number | null | undefined;
|
|
90953
|
+
valueStr?: string | null | undefined;
|
|
90954
|
+
}[];
|
|
90955
|
+
spData: {
|
|
90956
|
+
spCost: number;
|
|
90957
|
+
spType: string | number;
|
|
90958
|
+
initSp: number;
|
|
90959
|
+
increment: number;
|
|
90960
|
+
levelUpCost: null;
|
|
90961
|
+
maxChargeTime: number;
|
|
90962
|
+
};
|
|
90963
|
+
duration: number;
|
|
90964
|
+
rangeId: string | null;
|
|
90965
|
+
skillType: string;
|
|
90966
|
+
durationType: string;
|
|
90967
|
+
prefabId: string | null;
|
|
90968
|
+
}[];
|
|
90969
|
+
skillId: string;
|
|
90970
|
+
} | null)[];
|
|
90739
90971
|
archetype: string;
|
|
90740
90972
|
range: {
|
|
90741
90973
|
id: string;
|
|
@@ -90931,6 +91163,33 @@ export declare const DeployableZod: z.ZodObject<{
|
|
|
90931
91163
|
}[];
|
|
90932
91164
|
};
|
|
90933
91165
|
id: string;
|
|
91166
|
+
skills: ({
|
|
91167
|
+
hidden: boolean;
|
|
91168
|
+
iconId: string | null;
|
|
91169
|
+
levels: {
|
|
91170
|
+
name: string;
|
|
91171
|
+
description: string | null;
|
|
91172
|
+
blackboard: {
|
|
91173
|
+
key: string;
|
|
91174
|
+
value?: number | null | undefined;
|
|
91175
|
+
valueStr?: string | null | undefined;
|
|
91176
|
+
}[];
|
|
91177
|
+
spData: {
|
|
91178
|
+
spCost: number;
|
|
91179
|
+
spType: string | number;
|
|
91180
|
+
initSp: number;
|
|
91181
|
+
increment: number;
|
|
91182
|
+
levelUpCost: null;
|
|
91183
|
+
maxChargeTime: number;
|
|
91184
|
+
};
|
|
91185
|
+
duration: number;
|
|
91186
|
+
rangeId: string | null;
|
|
91187
|
+
skillType: string;
|
|
91188
|
+
durationType: string;
|
|
91189
|
+
prefabId: string | null;
|
|
91190
|
+
}[];
|
|
91191
|
+
skillId: string;
|
|
91192
|
+
} | null)[];
|
|
90934
91193
|
archetype: string;
|
|
90935
91194
|
range: {
|
|
90936
91195
|
id: string;
|
|
@@ -92173,37 +92432,7 @@ export declare const OperatorZod: z.ZodObject<{
|
|
|
92173
92432
|
}[];
|
|
92174
92433
|
}>;
|
|
92175
92434
|
id: z.ZodString;
|
|
92176
|
-
|
|
92177
|
-
range: z.ZodNullable<z.ZodObject<{
|
|
92178
|
-
id: z.ZodString;
|
|
92179
|
-
direction: z.ZodNumber;
|
|
92180
|
-
grids: z.ZodArray<z.ZodObject<{
|
|
92181
|
-
row: z.ZodNumber;
|
|
92182
|
-
col: z.ZodNumber;
|
|
92183
|
-
}, "strict", z.ZodTypeAny, {
|
|
92184
|
-
col: number;
|
|
92185
|
-
row: number;
|
|
92186
|
-
}, {
|
|
92187
|
-
col: number;
|
|
92188
|
-
row: number;
|
|
92189
|
-
}>, "many">;
|
|
92190
|
-
}, "strict", z.ZodTypeAny, {
|
|
92191
|
-
id: string;
|
|
92192
|
-
direction: number;
|
|
92193
|
-
grids: {
|
|
92194
|
-
col: number;
|
|
92195
|
-
row: number;
|
|
92196
|
-
}[];
|
|
92197
|
-
}, {
|
|
92198
|
-
id: string;
|
|
92199
|
-
direction: number;
|
|
92200
|
-
grids: {
|
|
92201
|
-
col: number;
|
|
92202
|
-
row: number;
|
|
92203
|
-
}[];
|
|
92204
|
-
}>>;
|
|
92205
|
-
recruit: z.ZodNumber;
|
|
92206
|
-
skills: z.ZodArray<z.ZodObject<{
|
|
92435
|
+
skills: z.ZodArray<z.ZodNullable<z.ZodObject<{
|
|
92207
92436
|
skillId: z.ZodString;
|
|
92208
92437
|
iconId: z.ZodNullable<z.ZodString>;
|
|
92209
92438
|
hidden: z.ZodBoolean;
|
|
@@ -92345,7 +92574,37 @@ export declare const OperatorZod: z.ZodObject<{
|
|
|
92345
92574
|
prefabId: string | null;
|
|
92346
92575
|
}[];
|
|
92347
92576
|
skillId: string;
|
|
92348
|
-
}
|
|
92577
|
+
}>>, "many">;
|
|
92578
|
+
archetype: z.ZodString;
|
|
92579
|
+
range: z.ZodNullable<z.ZodObject<{
|
|
92580
|
+
id: z.ZodString;
|
|
92581
|
+
direction: z.ZodNumber;
|
|
92582
|
+
grids: z.ZodArray<z.ZodObject<{
|
|
92583
|
+
row: z.ZodNumber;
|
|
92584
|
+
col: z.ZodNumber;
|
|
92585
|
+
}, "strict", z.ZodTypeAny, {
|
|
92586
|
+
col: number;
|
|
92587
|
+
row: number;
|
|
92588
|
+
}, {
|
|
92589
|
+
col: number;
|
|
92590
|
+
row: number;
|
|
92591
|
+
}>, "many">;
|
|
92592
|
+
}, "strict", z.ZodTypeAny, {
|
|
92593
|
+
id: string;
|
|
92594
|
+
direction: number;
|
|
92595
|
+
grids: {
|
|
92596
|
+
col: number;
|
|
92597
|
+
row: number;
|
|
92598
|
+
}[];
|
|
92599
|
+
}, {
|
|
92600
|
+
id: string;
|
|
92601
|
+
direction: number;
|
|
92602
|
+
grids: {
|
|
92603
|
+
col: number;
|
|
92604
|
+
row: number;
|
|
92605
|
+
}[];
|
|
92606
|
+
}>>;
|
|
92607
|
+
recruit: z.ZodNumber;
|
|
92349
92608
|
modules: z.ZodArray<z.ZodObject<{
|
|
92350
92609
|
info: z.ZodObject<{
|
|
92351
92610
|
uniEquipId: z.ZodString;
|
|
@@ -93562,9 +93821,6 @@ export declare const OperatorZod: z.ZodObject<{
|
|
|
93562
93821
|
id: string;
|
|
93563
93822
|
count: number;
|
|
93564
93823
|
}>, "many">;
|
|
93565
|
-
stageNameForShow: z.ZodString;
|
|
93566
|
-
zoneNameForShow: z.ZodString;
|
|
93567
|
-
picId: z.ZodString;
|
|
93568
93824
|
stageGetTime: z.ZodNumber;
|
|
93569
93825
|
}, "strict", z.ZodTypeAny, {
|
|
93570
93826
|
code: string;
|
|
@@ -93573,7 +93829,6 @@ export declare const OperatorZod: z.ZodObject<{
|
|
|
93573
93829
|
stageId: string;
|
|
93574
93830
|
levelId: string;
|
|
93575
93831
|
loadingPicId: string;
|
|
93576
|
-
picId: string;
|
|
93577
93832
|
charId: string;
|
|
93578
93833
|
zoneId: string;
|
|
93579
93834
|
unlockParam: {
|
|
@@ -93587,8 +93842,6 @@ export declare const OperatorZod: z.ZodObject<{
|
|
|
93587
93842
|
id: string;
|
|
93588
93843
|
count: number;
|
|
93589
93844
|
}[];
|
|
93590
|
-
stageNameForShow: string;
|
|
93591
|
-
zoneNameForShow: string;
|
|
93592
93845
|
stageGetTime: number;
|
|
93593
93846
|
}, {
|
|
93594
93847
|
code: string;
|
|
@@ -93597,7 +93850,6 @@ export declare const OperatorZod: z.ZodObject<{
|
|
|
93597
93850
|
stageId: string;
|
|
93598
93851
|
levelId: string;
|
|
93599
93852
|
loadingPicId: string;
|
|
93600
|
-
picId: string;
|
|
93601
93853
|
charId: string;
|
|
93602
93854
|
zoneId: string;
|
|
93603
93855
|
unlockParam: {
|
|
@@ -93611,8 +93863,6 @@ export declare const OperatorZod: z.ZodObject<{
|
|
|
93611
93863
|
id: string;
|
|
93612
93864
|
count: number;
|
|
93613
93865
|
}[];
|
|
93614
|
-
stageNameForShow: string;
|
|
93615
|
-
zoneNameForShow: string;
|
|
93616
93866
|
stageGetTime: number;
|
|
93617
93867
|
}>;
|
|
93618
93868
|
levels: z.ZodObject<{
|
|
@@ -99250,7 +99500,6 @@ export declare const OperatorZod: z.ZodObject<{
|
|
|
99250
99500
|
stageId: string;
|
|
99251
99501
|
levelId: string;
|
|
99252
99502
|
loadingPicId: string;
|
|
99253
|
-
picId: string;
|
|
99254
99503
|
charId: string;
|
|
99255
99504
|
zoneId: string;
|
|
99256
99505
|
unlockParam: {
|
|
@@ -99264,8 +99513,6 @@ export declare const OperatorZod: z.ZodObject<{
|
|
|
99264
99513
|
id: string;
|
|
99265
99514
|
count: number;
|
|
99266
99515
|
}[];
|
|
99267
|
-
stageNameForShow: string;
|
|
99268
|
-
zoneNameForShow: string;
|
|
99269
99516
|
stageGetTime: number;
|
|
99270
99517
|
};
|
|
99271
99518
|
levels: {
|
|
@@ -99993,7 +100240,6 @@ export declare const OperatorZod: z.ZodObject<{
|
|
|
99993
100240
|
stageId: string;
|
|
99994
100241
|
levelId: string;
|
|
99995
100242
|
loadingPicId: string;
|
|
99996
|
-
picId: string;
|
|
99997
100243
|
charId: string;
|
|
99998
100244
|
zoneId: string;
|
|
99999
100245
|
unlockParam: {
|
|
@@ -100007,8 +100253,6 @@ export declare const OperatorZod: z.ZodObject<{
|
|
|
100007
100253
|
id: string;
|
|
100008
100254
|
count: number;
|
|
100009
100255
|
}[];
|
|
100010
|
-
stageNameForShow: string;
|
|
100011
|
-
zoneNameForShow: string;
|
|
100012
100256
|
stageGetTime: number;
|
|
100013
100257
|
};
|
|
100014
100258
|
levels: {
|
|
@@ -100915,7 +101159,7 @@ export declare const OperatorZod: z.ZodObject<{
|
|
|
100915
101159
|
}[];
|
|
100916
101160
|
};
|
|
100917
101161
|
id: string;
|
|
100918
|
-
skills: {
|
|
101162
|
+
skills: ({
|
|
100919
101163
|
hidden: boolean;
|
|
100920
101164
|
iconId: string | null;
|
|
100921
101165
|
levels: {
|
|
@@ -100941,7 +101185,7 @@ export declare const OperatorZod: z.ZodObject<{
|
|
|
100941
101185
|
prefabId: string | null;
|
|
100942
101186
|
}[];
|
|
100943
101187
|
skillId: string;
|
|
100944
|
-
}[];
|
|
101188
|
+
} | null)[];
|
|
100945
101189
|
archetype: string;
|
|
100946
101190
|
range: {
|
|
100947
101191
|
id: string;
|
|
@@ -101123,7 +101367,6 @@ export declare const OperatorZod: z.ZodObject<{
|
|
|
101123
101367
|
stageId: string;
|
|
101124
101368
|
levelId: string;
|
|
101125
101369
|
loadingPicId: string;
|
|
101126
|
-
picId: string;
|
|
101127
101370
|
charId: string;
|
|
101128
101371
|
zoneId: string;
|
|
101129
101372
|
unlockParam: {
|
|
@@ -101137,8 +101380,6 @@ export declare const OperatorZod: z.ZodObject<{
|
|
|
101137
101380
|
id: string;
|
|
101138
101381
|
count: number;
|
|
101139
101382
|
}[];
|
|
101140
|
-
stageNameForShow: string;
|
|
101141
|
-
zoneNameForShow: string;
|
|
101142
101383
|
stageGetTime: number;
|
|
101143
101384
|
};
|
|
101144
101385
|
levels: {
|
|
@@ -102045,7 +102286,7 @@ export declare const OperatorZod: z.ZodObject<{
|
|
|
102045
102286
|
}[];
|
|
102046
102287
|
};
|
|
102047
102288
|
id: string;
|
|
102048
|
-
skills: {
|
|
102289
|
+
skills: ({
|
|
102049
102290
|
hidden: boolean;
|
|
102050
102291
|
iconId: string | null;
|
|
102051
102292
|
levels: {
|
|
@@ -102071,7 +102312,7 @@ export declare const OperatorZod: z.ZodObject<{
|
|
|
102071
102312
|
prefabId: string | null;
|
|
102072
102313
|
}[];
|
|
102073
102314
|
skillId: string;
|
|
102074
|
-
}[];
|
|
102315
|
+
} | null)[];
|
|
102075
102316
|
archetype: string;
|
|
102076
102317
|
range: {
|
|
102077
102318
|
id: string;
|
|
@@ -102253,7 +102494,6 @@ export declare const OperatorZod: z.ZodObject<{
|
|
|
102253
102494
|
stageId: string;
|
|
102254
102495
|
levelId: string;
|
|
102255
102496
|
loadingPicId: string;
|
|
102256
|
-
picId: string;
|
|
102257
102497
|
charId: string;
|
|
102258
102498
|
zoneId: string;
|
|
102259
102499
|
unlockParam: {
|
|
@@ -102267,8 +102507,6 @@ export declare const OperatorZod: z.ZodObject<{
|
|
|
102267
102507
|
id: string;
|
|
102268
102508
|
count: number;
|
|
102269
102509
|
}[];
|
|
102270
|
-
stageNameForShow: string;
|
|
102271
|
-
zoneNameForShow: string;
|
|
102272
102510
|
stageGetTime: number;
|
|
102273
102511
|
};
|
|
102274
102512
|
levels: {
|
package/dist/index.js
CHANGED
|
@@ -654,6 +654,14 @@ exports.GachaPoolZod = z.strictObject({
|
|
|
654
654
|
attainRare6CharList: z.array(z.string()),
|
|
655
655
|
attainRare6Num: z.number(),
|
|
656
656
|
scrollIndex: z.number().optional(),
|
|
657
|
+
}),
|
|
658
|
+
z.strictObject({
|
|
659
|
+
detailInfo: z.string(),
|
|
660
|
+
detailTitle: z.string(),
|
|
661
|
+
homeIntroDesc: z.string(),
|
|
662
|
+
rarityPickCharDict: z.record(z.string(), z.array(z.string())),
|
|
663
|
+
star5ChooseRule: z.string(),
|
|
664
|
+
star6ChooseRule: z.string(),
|
|
657
665
|
})
|
|
658
666
|
]).nullable(),
|
|
659
667
|
linkageRuleId: z.string().nullable(),
|
|
@@ -864,9 +872,6 @@ exports.ParadoxZod = z.strictObject({
|
|
|
864
872
|
count: z.number(),
|
|
865
873
|
type: z.string(),
|
|
866
874
|
})),
|
|
867
|
-
stageNameForShow: z.string(),
|
|
868
|
-
zoneNameForShow: z.string(),
|
|
869
|
-
picId: z.string(),
|
|
870
875
|
stageGetTime: z.number(),
|
|
871
876
|
}),
|
|
872
877
|
levels: StageDataZod,
|
|
@@ -1136,11 +1141,11 @@ exports.DeployableZod = z.strictObject({
|
|
|
1136
1141
|
lvlUpCost: z.array(LevelUpCostZod).nullable(),
|
|
1137
1142
|
})),
|
|
1138
1143
|
}),
|
|
1144
|
+
skills: z.array(exports.SkillZod.nullable())
|
|
1139
1145
|
});
|
|
1140
1146
|
;
|
|
1141
1147
|
exports.OperatorZod = exports.DeployableZod.extend({
|
|
1142
1148
|
recruit: z.number(),
|
|
1143
|
-
skills: z.array(exports.SkillZod),
|
|
1144
1149
|
modules: z.array(exports.ModuleZod),
|
|
1145
1150
|
skins: z.array(exports.SkinZod),
|
|
1146
1151
|
bases: z.array(z.strictObject({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hella-types",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"author": "",
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
"build": "tsc"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"zod": "
|
|
13
|
+
"zod": "3.22.4"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@types/node": "^20.11.0"
|
|
17
17
|
},
|
|
18
18
|
"repository": {
|
|
19
19
|
"type": "git",
|
|
20
|
-
"url": "https://github.com/Awedtan/HellaAPI.git"
|
|
20
|
+
"url": "git+https://github.com/Awedtan/HellaAPI.git"
|
|
21
21
|
}
|
|
22
|
-
}
|
|
22
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -687,6 +687,14 @@ export const GachaPoolZod = z.strictObject({
|
|
|
687
687
|
attainRare6CharList: z.array(z.string()),
|
|
688
688
|
attainRare6Num: z.number(),
|
|
689
689
|
scrollIndex: z.number().optional(),
|
|
690
|
+
}),
|
|
691
|
+
z.strictObject({
|
|
692
|
+
detailInfo: z.string(),
|
|
693
|
+
detailTitle: z.string(),
|
|
694
|
+
homeIntroDesc: z.string(),
|
|
695
|
+
rarityPickCharDict: z.record(z.string(), z.array(z.string())),
|
|
696
|
+
star5ChooseRule: z.string(),
|
|
697
|
+
star6ChooseRule: z.string(),
|
|
690
698
|
})
|
|
691
699
|
]).nullable(),
|
|
692
700
|
linkageRuleId: z.string().nullable(),
|
|
@@ -923,9 +931,6 @@ export const ParadoxZod = z.strictObject({
|
|
|
923
931
|
type: z.string(),
|
|
924
932
|
})
|
|
925
933
|
),
|
|
926
|
-
stageNameForShow: z.string(),
|
|
927
|
-
zoneNameForShow: z.string(),
|
|
928
|
-
picId: z.string(),
|
|
929
934
|
stageGetTime: z.number(),
|
|
930
935
|
}),
|
|
931
936
|
levels: StageDataZod,
|
|
@@ -1225,10 +1230,10 @@ export const DeployableZod = z.strictObject({
|
|
|
1225
1230
|
})
|
|
1226
1231
|
),
|
|
1227
1232
|
}),
|
|
1233
|
+
skills: z.array(SkillZod.nullable())
|
|
1228
1234
|
});;
|
|
1229
1235
|
export const OperatorZod = DeployableZod.extend({
|
|
1230
1236
|
recruit: z.number(),
|
|
1231
|
-
skills: z.array(SkillZod),
|
|
1232
1237
|
modules: z.array(ModuleZod),
|
|
1233
1238
|
skins: z.array(SkinZod),
|
|
1234
1239
|
bases: z.array(
|
|
@@ -1270,4 +1275,4 @@ export type SandboxWeather = z.infer<typeof SandboxWeatherZod>;
|
|
|
1270
1275
|
export type Skill = z.infer<typeof SkillZod>;
|
|
1271
1276
|
export type Skin = z.infer<typeof SkinZod>;
|
|
1272
1277
|
export type Stage = z.infer<typeof StageZod>;
|
|
1273
|
-
export type StageData = z.infer<typeof StageDataZod>;
|
|
1278
|
+
export type StageData = z.infer<typeof StageDataZod>;
|