@prodi-labs/schemas
Advanced tools
Comparing version
@@ -40,2 +40,4 @@ import { z } from "zod"; | ||
}>, "many">; | ||
} & { | ||
id: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
@@ -45,2 +47,3 @@ title: string; | ||
labels: ("Local" | "Celebration" | "Business insight" | "HR" | "International" | "New client" | "Success story" | "Partners" | "Business unit" | "Volunteerings" | "events" | "Community")[]; | ||
id: string; | ||
script: { | ||
@@ -58,2 +61,3 @@ text: string; | ||
labels: ("Local" | "Celebration" | "Business insight" | "HR" | "International" | "New client" | "Success story" | "Partners" | "Business unit" | "Volunteerings" | "events" | "Community")[]; | ||
id: string; | ||
script: { | ||
@@ -74,2 +78,3 @@ text: string; | ||
labels: ("Local" | "Celebration" | "Business insight" | "HR" | "International" | "New client" | "Success story" | "Partners" | "Business unit" | "Volunteerings" | "events" | "Community")[]; | ||
id: string; | ||
script: { | ||
@@ -90,2 +95,3 @@ text: string; | ||
labels: ("Local" | "Celebration" | "Business insight" | "HR" | "International" | "New client" | "Success story" | "Partners" | "Business unit" | "Volunteerings" | "events" | "Community")[]; | ||
id: string; | ||
script: { | ||
@@ -92,0 +98,0 @@ text: string; |
import { z } from "zod"; | ||
import { SectionRecordSchema } from "../model/section.schema.js"; | ||
import { SectionSchema } from "../model/section.schema.js"; | ||
export const UpdateDialogueParamsSchema = z.object({ | ||
@@ -9,3 +9,3 @@ projectId: z.string().min(1, "Project ID is required"), | ||
export const UpdateDialogueRequestSchema = z.object({ | ||
sections: z.array(SectionRecordSchema), | ||
sections: z.array(SectionSchema), | ||
dialoguesIds: z.array(z.string()), | ||
@@ -12,0 +12,0 @@ }); |
{ | ||
"name": "@prodi-labs/schemas", | ||
"version": "1.0.53", | ||
"version": "1.0.54", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
92542
0.11%2900
0.21%