Update zod
All checks were successful
Gitea Auto Deploy / Deploy-Container (push) Successful in 1m18s
All checks were successful
Gitea Auto Deploy / Deploy-Container (push) Successful in 1m18s
This commit is contained in:
29
src/zod/showcase.zod.ts
Normal file
29
src/zod/showcase.zod.ts
Normal file
@@ -0,0 +1,29 @@
|
||||
// Generated by ts-to-zod
|
||||
import { z } from "zod";
|
||||
|
||||
export const relicShowcaseTypeSchema = z.object({
|
||||
img: z.string(),
|
||||
mainAffix: z.object({
|
||||
property: z.string(),
|
||||
level: z.number(),
|
||||
valueAffix: z.string(),
|
||||
detail: z.object({
|
||||
name: z.string(),
|
||||
icon: z.string(),
|
||||
unit: z.string(),
|
||||
baseStat: z.string()
|
||||
})
|
||||
}),
|
||||
subAffix: z.array(z.object({
|
||||
property: z.string(),
|
||||
valueAffix: z.string(),
|
||||
detail: z.object({
|
||||
name: z.string(),
|
||||
icon: z.string(),
|
||||
unit: z.string(),
|
||||
baseStat: z.string()
|
||||
}),
|
||||
step: z.number(),
|
||||
count: z.number()
|
||||
}))
|
||||
});
|
||||
Reference in New Issue
Block a user