@grandlinex/bundle-multilang
Version:
> Multilang support for GrandLineX
11 lines (10 loc) • 555 B
TypeScript
import { CoreBundleModule, ICoreKernel, IDataBase } from '@grandlinex/core';
import LangClient from './client/LangClient.js';
import LangDb from './db/LangDb.js';
export default class LangModule extends CoreBundleModule<ICoreKernel<any>, LangDb, LangClient, null, null> {
defaultLang: string;
constructor(kernel: ICoreKernel<any>, defaultLang: string, dbFc: (mod: CoreBundleModule<any, any, any, any, any>) => IDataBase<any, any>);
initModule(): Promise<void>;
beforeServiceStart(): Promise<void>;
initBundleModule(): Promise<void>;
}