chore: Image 인터페이스 수정(imgTypeCd)

This commit is contained in:
2025-04-07 14:00:29 +09:00
parent 3a8039c5d2
commit 7e55711506
2 changed files with 2 additions and 2 deletions
@@ -17,7 +17,7 @@ export interface ImageParams extends PageableParams {
export interface Image {
imgSn: number;
imgTypeCd: string;
imgTypeCd: ImageType;
imgTypeNm: string;
imgTtl: string;
lnkgUrlAddr: string;
@@ -37,7 +37,7 @@ export const columns: ColumnDef<Image>[] = [
accessorKey: "imgTypeCd",
header: "이미지구분",
cell: ({ row }) => {
const type = row.getValue("imgTypeCd") as string;
const type = row.getValue("imgTypeCd");
switch (type) {
case IMAGE_TYPE.IMGSUB:
return "서브이미지";