feat : custom stats with double price in commission
CI / Verify (push) Successful in 1m49s
CI / Build immutable images and deploy (push) Successful in 2m14s

This commit is contained in:
2026-10-10 05:08:06 +07:00 Unverified
parent 0e813a0a3e
commit 6fc4427ae1
10 changed files with 186 additions and 10 deletions
+3
View File
@@ -7,12 +7,15 @@ const draftRequestSchema = z.object({
characterKey: draftKey, weaponKey: draftKey, artifactKey: draftKey,
constellation: z.enum(["0", "1", "2", "3", "4", "5", "6", "0-6"]),
refinement: z.enum(["1", "2", "3", "4", "5", "1-5"]),
customStats: z.string().max(4000).optional(),
})).length(4) })).max(20),
weapons: z.array(z.object({
customStats: z.string().max(4000).optional(),
characterKey: draftKey, weaponKeys: z.array(draftKey).min(1).max(100),
refinements: z.record(draftKey, z.enum(["1", "2", "3", "4", "5"])).optional(),
})).max(20),
constellations: z.array(z.object({
customStats: z.string().max(4000).optional(),
characterKey: draftKey, levels: z.array(z.number().int().min(0).max(6)).max(7),
})).max(20),
});