commentSchema
constcommentSchema:ZodObject<{attachments:ZodOptional<ZodArray<ZodObject<{category:ZodEnum<{audio:"audio";file:"file";image:"image";"pdf";video:"video"; }>;file:ZodObject<{expiry_time:ZodUnion<readonly [ZodISODateTime,ZodISODate]>;url:ZodURL; },$strip>; },$strip>>>;created_by:ZodUnion<readonly [ZodObject<{avatar_url:ZodOptional<ZodUnion<readonly [ZodURL,ZodNull]>>;id:ZodUUID;name:ZodOptional<ZodString>;object:ZodLiteral<"user">;person:ZodObject<{ZodEmail;email_verified:ZodOptional<ZodBoolean>; },$strip>;type:ZodLiteral<"person">; },$strip>,ZodObject<{avatar_url:ZodOptional<ZodUnion<readonly [ZodURL,ZodNull]>>;bot:ZodObject<{owner:ZodDiscriminatedUnion<[ZodObject<…, …>,ZodObject<…, …>],"type">;workspace_id:ZodOptional<ZodString>;workspace_limits:ZodOptional<ZodObject<{max_file_upload_size_in_bytes: …; },$strip>>;workspace_name:ZodOptional<ZodNullable<ZodString>>; },$strip>;id:ZodUUID;name:ZodOptional<ZodString>;object:ZodLiteral<"user">;type:ZodLiteral<"bot">; },$strip>,ZodObject<{id:ZodUUID;object:ZodLiteral<"user">; },$strip>]>;created_time:ZodUnion<readonly [ZodISODateTime,ZodISODate]>;discussion_id:ZodUUID;display_name:ZodOptional<ZodUnion<readonly [ZodObject<{resolved_name:ZodString;type:ZodLiteral<"user">; },$strip>,ZodObject<{resolved_name:ZodString;type:ZodLiteral<"custom">; },$strip>]>>;id:ZodUUID;last_edited_time:ZodUnion<readonly [ZodISODateTime,ZodISODate]>;object:ZodLiteral<"comment">;parent:ZodDiscriminatedUnion<[ZodObject<{database_id:ZodUUID;type:ZodLiteral<"database_id">; },$strip>,ZodObject<{data_source_id:ZodUUID;database_id:ZodUUID;type:ZodLiteral<"data_source_id">; },$strip>,ZodObject<{page_id:ZodUUID;type:ZodLiteral<"page_id">; },$strip>,ZodObject<{type:ZodLiteral<"workspace">;workspace:ZodLiteral<true>; },$strip>,ZodObject<{block_id:ZodUUID;type:ZodLiteral<"block_id">; },$strip>,ZodObject<{agent_id:ZodUUID;type:ZodLiteral<"agent_id">; },$strip>],"type">;rich_text:ZodArray<ZodDiscriminatedUnion<[ZodObject<{annotations:ZodObject<{bold:ZodBoolean;code:ZodBoolean;color:ZodEnum<{blue: …;blue_background: …;brown: …;brown_background: …;default: …;gray: …;gray_background: …;green: …;green_background: …;orange: …;orange_background: …;pink: …;pink_background: …;purple: …;purple_background: …;red: …;red_background: …;yellow: …;yellow_background: …; }>;italic:ZodBoolean;strikethrough:ZodBoolean;underline:ZodBoolean; },$strip>;href:ZodNullable<ZodURL>;plain_text:ZodString;text:ZodObject<{content:ZodString;link:ZodNullable<ZodObject<…, …>>; },$strip>;type:ZodLiteral<"text">; },$strip>,ZodObject<{annotations:ZodObject<{bold:ZodBoolean;code:ZodBoolean;color:ZodEnum<{blue: …;blue_background: …;brown: …;brown_background: …;default: …;gray: …;gray_background: …;green: …;green_background: …;orange: …;orange_background: …;pink: …;pink_background: …;purple: …;purple_background: …;red: …;red_background: …;yellow: …;yellow_background: …; }>;italic:ZodBoolean;strikethrough:ZodBoolean;underline:ZodBoolean; },$strip>;href:ZodNullable<ZodURL>;mention:ZodDiscriminatedUnion<[ZodObject<{database: …;type: …; },$strip>,ZodObject<{date: …;type: …; },$strip>,ZodObject<{link_preview: …;type: …; },$strip>,ZodObject<{page: …;type: …; },$strip>,ZodObject<{template_mention: …;type: …; },$strip>,ZodObject<{type: …;user: …; },$strip>],"type">;plain_text:ZodString;type:ZodLiteral<"mention">; },$strip>,ZodObject<{annotations:ZodObject<{bold:ZodBoolean;code:ZodBoolean;color:ZodEnum<{blue: …;blue_background: …;brown: …;brown_background: …;default: …;gray: …;gray_background: …;green: …;green_background: …;orange: …;orange_background: …;pink: …;pink_background: …;purple: …;purple_background: …;red: …;red_background: …;yellow: …;yellow_background: …; }>;italic:ZodBoolean;strikethrough:ZodBoolean;underline:ZodBoolean; },$strip>;equation:ZodObject<{expression:ZodString; },$strip>;href:ZodNullable<ZodURL>;plain_text:ZodString;type:ZodLiteral<"equation">; },$strip>],"type">>; },$strip>
Defined in: src/schemas/comment.schema.ts:60