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 fa09bc2 commit 140334eCopy full SHA for 140334e
1 file changed
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(/^\d{17,20}$/);
+export const snowflakePredicate = z.string().regex(/^[1-9]\d{16,18}$/);
7
8
export const memberPermissionsPredicate = z.coerce.bigint();
9
0 commit comments