Skip to content

Commit

Permalink
Discord ids arr
Browse files Browse the repository at this point in the history
  • Loading branch information
gc committed Jul 15, 2024
1 parent ceb7090 commit c1d6559
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions dist/TSRedis.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ declare const messageSchema: z.ZodUnion<[z.ZodObject<{
type: z.ZodLiteral<"patron_tier_change">;
new_tier: z.ZodNumber;
old_tier: z.ZodNumber;
discord_id: z.ZodString;
discord_ids: z.ZodArray<z.ZodString, "many">;
first_time_patron: z.ZodBoolean;
}, "strip", z.ZodTypeAny, {
type: "patron_tier_change";
new_tier: number;
old_tier: number;
discord_id: string;
discord_ids: string[];
first_time_patron: boolean;
}, {
type: "patron_tier_change";
new_tier: number;
old_tier: number;
discord_id: string;
discord_ids: string[];
first_time_patron: boolean;
}>]>;
type Message = z.infer<typeof messageSchema>;
Expand Down
2 changes: 1 addition & 1 deletion dist/TSRedis.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/TSRedis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const patronTierChangeMessageSchema = z.object({
type: z.literal('patron_tier_change'),
new_tier: z.number().int(),
old_tier: z.number().int(),
discord_id: z.string(),
discord_ids: z.array(z.string()),
first_time_patron: z.boolean()
});

Expand Down

0 comments on commit c1d6559

Please sign in to comment.