feat: created api product and api feature zod schemas

This commit is contained in:
John Yeo
2025-09-30 19:08:50 +01:00
parent 16dfca67e8
commit 96e0e8c2ce
40 changed files with 1079 additions and 2077 deletions

View File

@@ -6,3 +6,5 @@ export const nullish = <T>(
export const notNullish = <T>(value: T | null | undefined): value is T =>
value !== null && value !== undefined;
export const idRegex = /^[a-zA-Z0-9_-]+$/;