"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.commentUpdateSchema=exports.baseCommentSchema=exports.commentSchema=void 0;const schema_1=require("@b/utils/schema"),id=(0,schema_1.baseStringSchema)("ID of the comment"),content=(0,schema_1.baseStringSchema)("Content of the comment",1e3),userId=(0,schema_1.baseStringSchema)("User ID associated with the comment"),postId=(0,schema_1.baseStringSchema)("Post ID associated with the comment"),createdAt=(0,schema_1.baseDateTimeSchema)("Creation date of the comment",!0),updatedAt=(0,schema_1.baseDateTimeSchema)("Last update date of the comment",!0),deletedAt=(0,schema_1.baseDateTimeSchema)("Deletion date of the comment",!0);exports.commentSchema={id:id,content:content,userId:userId,postId:postId,createdAt:createdAt,updatedAt:updatedAt,deletedAt:deletedAt};exports.baseCommentSchema={id:id,content:content,userId:userId,postId:postId,createdAt:createdAt,deletedAt:deletedAt,updatedAt:updatedAt};exports.commentUpdateSchema={type:"object",properties:{content:content,userId:userId,postId:postId},required:["content"]};