Finilazed file rest api

This commit is contained in:
didier amyot committed 2023-06-13 09:49:20 -04:00
1 parent 8dcd8cc425
commit 872f841d74
4 files changed
+96 -38

No files matched your search

+4 -2
View File
@@ -16,7 +16,9 @@ export interface FileService {
getRawContentByPath(path: string): Promise<Uint8Array | null>;
getContentAsReader(path: string): Promise<Deno.Reader | null>;
getContentByPath(path: string): Promise<Deno.Reader | null>;
getContentById(id: string): Promise<Deno.Reader | null>;
getMetaDataByID(id: string): Promise<FileMetaData | null>;
@@ -27,7 +29,7 @@ export interface FileService {
newPath: string,
): Promise<FileMetaData | null>;
deleteByPath(path: string): Promise<boolean>;
deleteById(id: string): Promise<boolean>;
}
export interface BlobService {