feat: created api product and api feature zod schemas
This commit is contained in:
@@ -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_-]+$/;
|
||||
|
||||
Reference in New Issue
Block a user