Status | ||||
---|---|---|---|---|
|
파일 타입별 업로드된 파일의 경로와 경로(path), 삭제되었는지 와 삭제 여부(isDeleted)를 Object 형태로 반환합니다파일 타입별로 반환합니다.
이 함수에서 적절한 정보를 얻어오려면 afterUploadFile, afterUploadImage, afterUploadVideo 이벤트에서 addUploadPath를 이용해서 업로드된 파일정보를 추가해주어야 합니다.
Parameters:
Name | Type | Description |
---|---|---|
[fileType] | string | 정보를 가져올 파일 타입입니다. ("image", "video", "file")optional |
Return:
[fileType이 있는 경우]
Type | Attribute | Description |
---|---|---|
Array | [ { path: "/upload/path/filename.png", isDeleted: false }, { path: "/upload/path/filename2.png", isDeleted: true }, //... ] | path: 업로드 경로 isDeleted: 에디터에서 해당 파일의 삭제 여부 |
...