Add archive preview and new storage categories
Some checks failed
Automated Container Build / build-and-push (push) Failing after 32s
Some checks failed
Automated Container Build / build-and-push (push) Failing after 32s
This commit is contained in:
parent
a2b634517f
commit
6b7d0de208
6 changed files with 150 additions and 4 deletions
|
|
@ -226,6 +226,11 @@ class ApiClient {
|
|||
return res.json();
|
||||
}
|
||||
|
||||
async getArchiveContents(path: string) {
|
||||
const res = await this.request(`/api/files/archive-contents?path=${encodeURIComponent(path)}`);
|
||||
return res.json();
|
||||
}
|
||||
|
||||
async createFolder(path: string) {
|
||||
const res = await this.request('/api/files/mkdir', {
|
||||
method: 'POST',
|
||||
|
|
|
|||
Reference in a new issue