Skip to content

pagePropertiesSchema

const pagePropertiesSchema: ZodDiscriminatedUnion<[ZodObject<{ checkbox: ZodBoolean; id: ZodString; type: ZodLiteral<"checkbox">; }, $strip>, ZodObject<{ created_by: ZodUnion<readonly [ZodObject<{ avatar_url: ZodOptional<ZodUnion<readonly […, …]>>; id: ZodUUID; name: ZodOptional<ZodString>; object: ZodLiteral<"user">; person: ZodObject<{ email: ZodEmail; email_verified: ZodOptional<…>; }, $strip>; type: ZodLiteral<"person">; }, $strip>, ZodObject<{ avatar_url: ZodOptional<ZodUnion<readonly […, …]>>; bot: ZodObject<{ owner: ZodDiscriminatedUnion<…, …>; workspace_id: ZodOptional<…>; workspace_limits: ZodOptional<…>; workspace_name: ZodOptional<…>; }, $strip>; id: ZodUUID; name: ZodOptional<ZodString>; object: ZodLiteral<"user">; type: ZodLiteral<"bot">; }, $strip>, ZodObject<{ id: ZodUUID; object: ZodLiteral<"user">; }, $strip>]>; id: ZodString; type: ZodLiteral<"created_by">; }, $strip>, ZodObject<{ created_time: ZodUnion<readonly [ZodISODateTime, ZodISODate]>; id: ZodString; type: ZodLiteral<"created_time">; }, $strip>, ZodObject<{ date: ZodNullable<ZodObject<{ end: ZodNullable<ZodUnion<readonly [ZodISODateTime, ZodISODate]>>; start: ZodUnion<readonly [ZodISODateTime, ZodISODate]>; time_zone: ZodNullable<ZodString>; }, $strip>>; id: ZodString; type: ZodLiteral<"date">; }, $strip>], "type">

Defined in: src/schemas/pageProperties.schema.ts:272