@rws-framework/client
Version:
This package provides the core client-side framework for Realtime Web Suit (RWS), enabling modular, asynchronous web components, state management, and integration with backend services. It is located in `.dev/client`.
30 lines (29 loc) • 850 B
text/typescript
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
}