Skip to content

IHostOptions

Qamsari edited this page Jul 25, 2021 · 4 revisions

This interface contains options for config BasisCore object

export default interface IHostOptions {
  debug: boolean;
  autoRender: boolean;
  serviceWorker: boolean;
  settings: IDictionary<any>;
  sources: IDictionary<SourceData>;
  dbLibPath: string;
  repositories: IDictionary<string>;
}

Properties

  • debug
    Determine that extra information about rendering display in console (true) or not (false)

  • autoRender
    Determine page start rendering after load complete (true) or not (false)

  • serviceWorker
    Determine Page be controlled by ServiceWorker (true) or not (false)

  • settings
    Key/Value pair dictionary of user or system define options. For more information see User Defined Options

  • sources
    Key/Value pair dictionary of user defined inlineSource. for more information see SourceData

  • dbLibPath
    Url of library for query over data. BasisCore Use alasql as default.

  • repositories
    Key/Value pair dictionary of user define library url that use by BasisCore user component system. For moore information visit User defined Component

Clone this wiki locally