UNPKG

@tsed/formio

Version:
26 lines (25 loc) 1.25 kB
import { InjectorService } from "@tsed/di"; import { OnReady, OnRoutesInit, PlatformApplication, PlatformRouteDetails } from "@tsed/platform-http"; import { FormioConfig } from "./domain/FormioConfig.js"; import { FormioTemplate } from "./domain/FormioTemplate.js"; import { FormioHooksService } from "./services/FormioHooksService.js"; import { FormioInstaller } from "./services/FormioInstaller.js"; import { FormioService } from "./services/FormioService.js"; export declare class FormioModule implements OnRoutesInit, OnReady { protected formio: FormioService; protected hooks: FormioHooksService; protected installer: FormioInstaller; protected app: PlatformApplication; protected injector: InjectorService; protected settings: FormioConfig; protected baseUrl: string; protected skipInstall: boolean; protected template?: FormioTemplate; protected root?: any; $onInit(): Promise<import("./index.js").Formio> | undefined; init(options: FormioConfig): Promise<import("./index.js").Formio> | undefined; $onRoutesInit(): Promise<void>; $logRoutes(routes: PlatformRouteDetails[]): Promise<PlatformRouteDetails[]>; $onReady(): void; protected shouldInstall(): Promise<boolean | undefined>; }