feat: update useMediaFiles to allow for arbitrary folder

This commit is contained in:
Daniel Lautzenheiser
2023-04-03 13:56:46 -04:00
parent f07b9489f1
commit 4704485009
2 changed files with 35 additions and 5 deletions

View File

@ -743,8 +743,8 @@ export class Backend<BC extends BackendClass = BackendClass> {
return entryValue;
}
getMedia() {
return this.implementation.getMedia();
getMedia(folder?: string | undefined, mediaPath?: string | undefined) {
return this.implementation.getMedia(folder, mediaPath);
}
getMediaFile(path: string) {