feat(guides): add team loadouts and element icons
CI / Verify (push) Successful in 1m7s
CI / Build immutable images and deploy (push) Successful in 3m7s

This commit is contained in:
2026-08-30 05:39:54 +00:00 Unverified
parent 3f480ac143
commit 22b09a6136
16 changed files with 3605 additions and 29 deletions
+4
View File
@@ -81,6 +81,10 @@ export const teamSectionSchema = z.strictObject({
combo: z.string().trim().min(1).max(2_000),
members: z.array(z.strictObject({
characterKey: catalogKey,
weaponKey: catalogKey.nullable(),
artifactKey: catalogKey.nullable(),
constellation: z.number().int().min(0).max(6),
refinement: z.number().int().min(1).max(5),
damage: z.coerce.number().finite().nonnegative().max(999_999_999_999),
})).length(4).refine((members) => new Set(members.map((member) => member.characterKey)).size === 4, {
message: "Team ต้องมีตัวละครไม่ซ้ำกัน 4 ตัว",