onlyoffice: init

This commit is contained in:
undefined committed 2021-05-03 21:13:17 +08:00
1 parent 2c3fd7364a
commit 7a343449b0
8 files changed
+122 -48

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
import { UiContextBase } from 'hydrooj/dist/service/server';
import * as system from 'hydrooj/dist/model/system';
declare module 'hydrooj/dist/service/server' {
interface UiContextBase {
onlyofficeApi: string;
}
}
UiContextBase.onlyofficeApi = system.get('onlyoffice.api');