hella-types 0.2.1 → 0.2.2
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 +209 -168
- package/dist/index.js +8 -3
- package/package.json +2 -2
- package/src/index.ts +9 -4
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,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hella-types",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"author": "",
|
|
@@ -10,7 +10,7 @@
|
|
|
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"
|
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,
|
|
@@ -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>;
|