Add OfficeHome with All Documents, context menu, custom icons, editor rename, text wrapping
Some checks failed
Automated Container Build / build-and-push (push) Failing after 1m13s
Some checks failed
Automated Container Build / build-and-push (push) Failing after 1m13s
This commit is contained in:
parent
e738a2cb72
commit
51850e75a2
5 changed files with 295 additions and 30 deletions
|
|
@ -485,6 +485,11 @@ class ApiClient {
|
|||
});
|
||||
return res.json();
|
||||
}
|
||||
|
||||
async listOfficeFiles(type: 'docx' | 'pptx') {
|
||||
const res = await this.request(`/api/onlyoffice/files?type=${type}`);
|
||||
return res.json();
|
||||
}
|
||||
}
|
||||
|
||||
export const api = new ApiClient();
|
||||
|
|
|
|||
Reference in a new issue