🖥️ Onlyoffice connector moved into the TwakeDrive repository (#366)

This commit is contained in:
Montassar Ghanmy
2024-02-27 10:35:01 +01:00
committed by GitHub
parent ff74104a1b
commit dcb6fa1c36
40 changed files with 1557 additions and 3 deletions
@@ -0,0 +1,23 @@
export type FileType = {
id: string;
filename: string;
company_id: string;
user_id: string;
metadata: {
name: string;
mime: string;
};
};
export type FileRequestParams = {
file_id: string;
company_id: string;
url?: string;
user_id?: string;
create_new?: boolean;
};
export interface IFileService {
get: (params: FileRequestParams) => Promise<FileType>;
download: (params: FileRequestParams) => Promise<any>;
}