UNPKG

@rws-framework/client

Version:

Realtime Web Suit is a web-component powered, MS FAST powered fullstack-oriented framework that you can use to create domain-agnostic modular asynchoronous components with intershared authorized states.

30 lines (29 loc) 850 B
import RWSViewComponent from '../components/_component'; import { IPluginSpawnOption } from './IRWSPlugin'; export type IFrontRoutes = Record<string, unknown>; export default interface IRWSConfig { [key: string]: any dev?: boolean defaultLayout?: typeof RWSViewComponent backendUrl?: string wsUrl?: string backendRoutes?: any[] apiPrefix?: string routes?: IFrontRoutes transports?: string[] user?: any ignoreRWSComponents?: boolean pubUrl?: string pubUrlFilePrefix?: string partedDirUrlPrefix?: string dontPushToSW?: boolean parted?: boolean, rwsDefines?: {[key: string]: any} partedFileDir?: string partedPrefix?: string hotReload?: boolean, hotReloadPort?: number, plugins?: IPluginSpawnOption<any>[] routing_enabled?: boolean _noLoad?: boolean }