(path: string)
| 374 | |
| 375 | // Fetches a single entry. |
| 376 | getEntry(path: string) { |
| 377 | return this.api!.readFile(path).then(data => ({ |
| 378 | file: { path, id: null }, |
| 379 | data: data as string, |
| 380 | })); |
| 381 | } |
| 382 | |
| 383 | getMedia(mediaFolder = this.mediaFolder) { |
| 384 | return this.api!.listAllFiles(mediaFolder).then(files => |