Initial xlxs support
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m25s

This commit is contained in:
Elijah 2026-05-25 09:57:09 -07:00
parent 2648a5ae84
commit 709c13995c
5 changed files with 164 additions and 22 deletions

View file

@ -470,7 +470,7 @@ class ApiClient {
}
// --- OnlyOffice ---
async createOnlyOfficeFile(type: 'word' | 'slide') {
async createOnlyOfficeFile(type: 'word' | 'slide' | 'cell') {
const res = await this.request('/api/onlyoffice/create', {
method: 'POST',
body: { type }
@ -494,7 +494,7 @@ class ApiClient {
return res.json();
}
async listOfficeFiles(type: 'docx' | 'pptx') {
async listOfficeFiles(type: 'docx' | 'pptx' | 'xlsx') {
const res = await this.request(`/api/onlyoffice/files?type=${type}`);
return res.json();
}