mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
10 lines
291 B
TypeScript
10 lines
291 B
TypeScript
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');
|