게시판 유형 삭제

This commit is contained in:
koreacomp5
2025-11-02 03:12:42 +09:00
parent 0bf18968ad
commit d057ebef4a
8 changed files with 16 additions and 34 deletions

View File

@@ -17,7 +17,6 @@ export async function GET() {
allowAnonymousPost: true,
allowSecretComment: true,
requiresApproval: true,
type: true,
status: true,
categoryId: true,
mainPageViewTypeId: true,
@@ -39,7 +38,6 @@ const createSchema = z.object({
allowSecretComment: z.boolean().optional(),
requiresApproval: z.boolean().optional(),
status: z.string().optional(),
type: z.string().optional(),
isAdultOnly: z.boolean().optional(),
categoryId: z.string().nullable().optional(),
});