fix: correct some workflow problems

This commit is contained in:
Riccardo
2024-05-28 07:11:57 +02:00
parent 85d66215a7
commit 8c36c90710
9 changed files with 47 additions and 20 deletions

View File

@@ -69,7 +69,7 @@ export const CreateProfileFormSchema = z.object({
export const ProfileSchema = z.object({
id: z.string(),
name: z.string(),
createdAt: z.date().optional()
createdAt: z.date()
});
export type Profile = z.infer<typeof ProfileSchema>;
@@ -85,7 +85,8 @@ export const CreateTagFormSchema = z.object({
export const TagSchema = z.object({
id: z.string(),
name: z.string(),
createdAt: z.date().optional()
Items: z.number(),
createdAt: z.date()
});
export type Tag = z.infer<typeof TagSchema>;