Skip to content

Commit 1ece993

Browse files
committed
fix: update regex
1 parent 8a00107 commit 1ece993

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/builders/src/Assertions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { z } from 'zod';
33

44
export const idPredicate = z.int().min(0).max(2_147_483_647).optional();
55
export const customIdPredicate = z.string().min(1).max(100);
6-
export const snowflakePredicate = z.string().regex(/^(?:0|[1-9][0-9]*)$/);
6+
export const snowflakePredicate = z.string().regex(/^(?:0|[1-9]\d*)$/);
77

88
export const memberPermissionsPredicate = z.coerce.bigint();
99

0 commit comments

Comments
 (0)