23 lines
601 B
TypeScript
23 lines
601 B
TypeScript
export interface Attachment {
|
|
atflCd: string;
|
|
atflSn: number;
|
|
atflId: string;
|
|
physFileNm: string;
|
|
orgnlFileNm: string;
|
|
atflFlieSz: number;
|
|
atflType: string;
|
|
dwnldNocs: number;
|
|
delYn: string;
|
|
lnkgDmnId: string;
|
|
lnkgDmnNm: string;
|
|
regDt: string;
|
|
}
|
|
|
|
export interface AttachmentService {
|
|
getAttachments: (atflCd: string) => Promise<Attachment[]>;
|
|
deleteAttachment: (atflId: string) => Promise<void>;
|
|
deleteAttachmentByAtflCd: (atflCd: string) => Promise<void>;
|
|
getImageUrl: (atflId: string) => Promise<string>;
|
|
getImageUrlByAtflCd: (atflCd: string) => Promise<string>;
|
|
}
|