diff options
Diffstat (limited to 'packages/web/lib')
| -rw-r--r-- | packages/web/lib/types/api/tags.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/web/lib/types/api/tags.ts b/packages/web/lib/types/api/tags.ts index bcd16f5b..7a99dad4 100644 --- a/packages/web/lib/types/api/tags.ts +++ b/packages/web/lib/types/api/tags.ts @@ -1,7 +1,10 @@ import { z } from "zod"; +export const zAttachedByEnumSchema = z.enum(["ai", "human"]); +export type ZAttachedByEnum = z.infer<typeof zAttachedByEnumSchema>; export const zBookmarkTagSchema = z.object({ id: z.string(), name: z.string(), + attachedBy: zAttachedByEnumSchema, }); export type ZBookmarkTags = z.infer<typeof zBookmarkTagSchema>; |
