(path: string)
| 341 | |
| 342 | // Fetches a single entry. |
| 343 | getEntry(path: string) { |
| 344 | return this.api!.readFile(path).then(data => ({ |
| 345 | file: { path, id: null }, |
| 346 | data: data as string, |
| 347 | })); |
| 348 | } |
| 349 | |
| 350 | getMedia(mediaFolder = this.mediaFolder) { |
| 351 | return this.api!.listAllFiles(mediaFolder).then(files => |