mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
10 lines
289 B
TypeScript
10 lines
289 B
TypeScript
import { UiContextBase } from 'hydrooj/src/service/server';
|
|
import * as system from 'hydrooj/src/model/system';
|
|
|
|
declare module 'hydrooj/src/service/server' {
|
|
interface UiContextBase {
|
|
onlyofficeApi?: string;
|
|
}
|
|
}
|
|
UiContextBase.onlyofficeApi = system.get('onlyoffice.api');
|