mirror of
https://github.com/wgh136/nysoure.git
synced 2025-09-28 20:47:23 +00:00
implement creating files.
This commit is contained in:
10
frontend/src/network/uploading.ts
Normal file
10
frontend/src/network/uploading.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import {Response} from "./models.ts";
|
||||
|
||||
class UploadingManager {
|
||||
async addTask(file: File, resourceID: number, storageID: number, description: string): Promise<Response<void>> {
|
||||
// TODO: implement this
|
||||
throw new Error("Not implemented");
|
||||
}
|
||||
}
|
||||
|
||||
export const uploadingManager = new UploadingManager();
|
Reference in New Issue
Block a user