From 30a1c532d37314094c886255743b5b7ca8d2a10d Mon Sep 17 00:00:00 2001 From: bicochan Date: Thu, 17 Apr 2025 17:31:44 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20steiger=20=EA=B2=80=EC=82=AC=20?= =?UTF-8?q?=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/cs/src/entities/attachment/index.ts | 4 ++++ apps/cs/src/pages/file/model/table-columns.tsx | 2 +- apps/cs/src/pages/file/ui/file-page.tsx | 3 +-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/apps/cs/src/entities/attachment/index.ts b/apps/cs/src/entities/attachment/index.ts index 182ef9fd6..385425537 100644 --- a/apps/cs/src/entities/attachment/index.ts +++ b/apps/cs/src/entities/attachment/index.ts @@ -1 +1,5 @@ export { AttachmentApi } from "./api/attachment-service"; +export type { + AttachmentParams, + Attachment, +} from "./model/attachment-interface"; diff --git a/apps/cs/src/pages/file/model/table-columns.tsx b/apps/cs/src/pages/file/model/table-columns.tsx index 2a73bf54a..0bc7e5c23 100644 --- a/apps/cs/src/pages/file/model/table-columns.tsx +++ b/apps/cs/src/pages/file/model/table-columns.tsx @@ -3,7 +3,7 @@ import dayjs from "dayjs"; import { type ColumnDef } from "@tanstack/react-table"; import { Button } from "@common/components"; -import type { Attachment } from "@/entities/attachment/model/attachment-interface"; +import type { Attachment } from "@/entities/attachment"; export const createColumns = ( handleDeleteAttachment: (atflId: string) => void, diff --git a/apps/cs/src/pages/file/ui/file-page.tsx b/apps/cs/src/pages/file/ui/file-page.tsx index c896531bb..4f6b79781 100644 --- a/apps/cs/src/pages/file/ui/file-page.tsx +++ b/apps/cs/src/pages/file/ui/file-page.tsx @@ -9,8 +9,7 @@ import { } from "@tanstack/react-table"; import { useConfirm } from "@frontend-opensource/use-react-hooks"; import { Button, DataTable, Input, Label } from "@common/components"; -import type { AttachmentParams } from "@/entities/attachment/model/attachment-interface"; -import { AttachmentApi } from "@/entities/attachment/api/attachment-service"; +import { AttachmentApi, type AttachmentParams } from "@/entities/attachment"; import { useAlertStore } from "@/shared/lib/use-alert-store"; import { ENDPOINT } from "@/shared/config"; import { createColumns } from "../model/table-columns";