We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a00107 commit 1ece993Copy full SHA for 1ece993
packages/builders/src/Assertions.ts
@@ -3,7 +3,7 @@ import { z } from 'zod';
3
4
export const idPredicate = z.int().min(0).max(2_147_483_647).optional();
5
export const customIdPredicate = z.string().min(1).max(100);
6
-export const snowflakePredicate = z.string().regex(/^(?:0|[1-9][0-9]*)$/);
+export const snowflakePredicate = z.string().regex(/^(?:0|[1-9]\d*)$/);
7
8
export const memberPermissionsPredicate = z.coerce.bigint();
9
0 commit comments