feat: 팝업 등록 작업

This commit is contained in:
2025-05-20 15:18:27 +09:00
parent 12eb3b6438
commit 68c5c24b7c
11 changed files with 600 additions and 3 deletions
@@ -4,10 +4,9 @@ import type { HttpResponse, Upload } from "tus-js-client";
import { Button, FileUploader } from "@common/components";
import { handleTusUpload } from "@/entities/tus";
import { type Attachment } from "@/entities/attachment";
import type { PostFormData, PostUpdateFormData } from "@/entities/post";
import { setCookie, useAlertStore, useMenuStore } from "@/shared/lib";
function GeneralFileUploader<T extends PostFormData | PostUpdateFormData>({
function GeneralFileUploader<T extends { atflCd?: string | null }>({
form,
attachmentData,
deleteAttachmentIds,