chore: update SDK

This commit is contained in:
2026-10-19 15:39:39 +02:00
parent 93d810918c
commit 6266ff7616
2 changed files with 10 additions and 6 deletions
+6 -2
View File
@@ -1717,7 +1717,9 @@ export type ProjectProjectCreationDto = {
/**
* List of Categories.
*/
categories: Array<string>;
categories: [
string
];
/**
* List of Themes.
*/
@@ -1748,7 +1750,9 @@ export type ProjectProjectCreationDtoJsonld = {
/**
* List of Categories.
*/
categories: Array<string>;
categories: [
string
];
/**
* List of Themes.
*/
+4 -4
View File
@@ -1154,8 +1154,8 @@ export const zMatchCall = z.object({
export const zProjectProjectCreationDto = z.object({
title: z.string().min(3).regex(/^(.*[a-zA-Z]{1,}.*)$/),
subtitle: z.string(),
categories: z.array(z.string()).min(1).max(2),
themes: z.array(z.string()).max(1).optional(),
categories: z.tuple([z.string()]),
themes: z.array(z.string()).min(1).max(2).optional(),
territory: zTerritory,
calendar: zProjectCalendar,
status: z.enum([
@@ -1284,8 +1284,8 @@ export const zMatchCallJsonld = z.object({
export const zProjectProjectCreationDtoJsonld = z.object({
title: z.string().min(3).regex(/^(.*[a-zA-Z]{1,}.*)$/),
subtitle: z.string(),
categories: z.array(z.string()).min(1).max(2),
themes: z.array(z.string()).max(1).optional(),
categories: z.tuple([z.string()]),
themes: z.array(z.string()).min(1).max(2).optional(),
territory: zTerritoryJsonld,
calendar: zProjectCalendarJsonld,
status: z.enum([