Breakout util into seperate files

This commit is contained in:
Dominic Ferrando
2026-10-04 00:07:19 -04:00
parent 0501e63dc7
commit 0576421368
20 changed files with 78 additions and 65 deletions
+4
View File
@@ -0,0 +1,4 @@
import { t } from 'elysia';
export const BigIntIdSchema = t.String({ pattern: "^\\d+$" });
export const AccountIdSchema = t.String({ pattern: "^(@.+|[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$" });