Finilazed file rest api
This commit is contained in:
1 parent
8dcd8cc425
commit
872f841d74
4 files changed
+96
-38
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user