feat(versions): add version switching in stack detail page

This commit is contained in:
yiling
2026-05-23 10:49:56 +08:00
parent 190973b495
commit 308467f05d
8 changed files with 467 additions and 28 deletions
+9
View File
@@ -110,6 +110,15 @@ export const assetInfoSchema = z.object({
version: z.number(),
current: z.boolean(),
id: z.string(),
name: z.string().optional().nullable(),
previewUrl: z.string().optional().nullable(),
creator: z
.object({
id: z.string(),
name: z.string().nullable(),
})
.nullable()
.optional(),
}),
),
})