feat(ui): add collection and share link pages and management actions

This commit is contained in:
yiling
2026-06-06 12:02:51 +08:00
parent 0d76ddfc34
commit 6ebeb3f804
22 changed files with 2052 additions and 69 deletions
+8
View File
@@ -16,6 +16,14 @@ export const collectionSchema = z.object({
projectId: z.string(),
createdAt: z.string(),
updatedAt: z.string(),
creator: z
.object({
id: z.string(),
name: z.string(),
image: z.string().optional().nullable(),
})
.optional()
.nullable(),
})
export type CollectionInfo = z.infer<typeof collectionSchema>
+1
View File
@@ -14,6 +14,7 @@ export interface ShareLinkInfo {
isExpired: boolean
createdAt: string
updatedAt: string
creator?: { id: string; name: string; image?: string | null } | null
}
export const createShareLinkRequestSchema = z.object({