Update kuerzel max length in TeamSchema to 16 characters
All checks were successful
SteamWarCI Build successful

This commit is contained in:
2025-08-13 21:06:35 +02:00
parent 7166575806
commit 5f12a0cc7a

View File

@ -17,12 +17,12 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
import {z} from "zod"; import { z } from "zod";
export const TeamSchema = z.object({ export const TeamSchema = z.object({
id: z.number(), id: z.number(),
name: z.string(), name: z.string(),
kuerzel: z.string().min(1).max(4), kuerzel: z.string().min(1).max(16),
color: z.string().max(1), color: z.string().max(1),
}); });