hella-types 0.2.8 → 0.2.9
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 +3 -3
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -46518,7 +46518,7 @@ export declare const GachaPoolZod: z.ZodObject<{
|
|
|
46518
46518
|
}>;
|
|
46519
46519
|
export declare const GameEventZod: z.ZodObject<{
|
|
46520
46520
|
id: z.ZodString;
|
|
46521
|
-
type: z.ZodString
|
|
46521
|
+
type: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
46522
46522
|
displayType: z.ZodString;
|
|
46523
46523
|
name: z.ZodString;
|
|
46524
46524
|
startTime: z.ZodNumber;
|
|
@@ -46536,7 +46536,7 @@ export declare const GameEventZod: z.ZodObject<{
|
|
|
46536
46536
|
isPageEntry: z.ZodBoolean;
|
|
46537
46537
|
}, "strict", z.ZodTypeAny, {
|
|
46538
46538
|
name: string;
|
|
46539
|
-
type: string;
|
|
46539
|
+
type: string | number;
|
|
46540
46540
|
endTime: number;
|
|
46541
46541
|
startTime: number;
|
|
46542
46542
|
id: string;
|
|
@@ -46554,7 +46554,7 @@ export declare const GameEventZod: z.ZodObject<{
|
|
|
46554
46554
|
isPageEntry: boolean;
|
|
46555
46555
|
}, {
|
|
46556
46556
|
name: string;
|
|
46557
|
-
type: string;
|
|
46557
|
+
type: string | number;
|
|
46558
46558
|
endTime: number;
|
|
46559
46559
|
startTime: number;
|
|
46560
46560
|
id: string;
|
package/dist/index.js
CHANGED
|
@@ -739,7 +739,7 @@ exports.GachaPoolZod = z.strictObject({
|
|
|
739
739
|
});
|
|
740
740
|
exports.GameEventZod = z.strictObject({
|
|
741
741
|
id: z.string(),
|
|
742
|
-
type: z.string(),
|
|
742
|
+
type: z.union([z.string(), z.number()]),
|
|
743
743
|
displayType: z.string(),
|
|
744
744
|
name: z.string(),
|
|
745
745
|
startTime: z.number(),
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -778,7 +778,7 @@ export const GachaPoolZod = z.strictObject({
|
|
|
778
778
|
});
|
|
779
779
|
export const GameEventZod = z.strictObject({
|
|
780
780
|
id: z.string(),
|
|
781
|
-
type: z.string(),
|
|
781
|
+
type: z.union([z.string(), z.number()]),
|
|
782
782
|
displayType: z.string(),
|
|
783
783
|
name: z.string(),
|
|
784
784
|
startTime: z.number(),
|