Skip to main content

Interface: Settings

Defined in: packages/core/src/boot.ts:239

App settings for single env key.

Properties​

$Cache?​

optional $Cache: object

Defined in: packages/core/src/boot.ts:252

enabled?​

optional enabled: boolean

Turn on/off cache for all application. [ms]

ttl?​

optional ttl: number

Default time to live for cached value. [ms]


$Http?​

optional $Http: object

Defined in: packages/core/src/boot.ts:240

cacheOptions?​

optional cacheOptions: HttpAgentImplCacheOptions

defaultRequestOptions?​

optional defaultRequestOptions: Omit<HttpAgentRequestOptions, "abortController">


$Observable?​

optional $Observable: object

Defined in: packages/core/src/boot.ts:266

maxHistoryLength?​

optional maxHistoryLength: number


$Page​

$Page: object

Defined in: packages/core/src/boot.ts:263

$Render​

$Render: PageRendererSettings


$Router?​

optional $Router: object

Defined in: packages/core/src/boot.ts:244

isSPARouted()?​

optional isSPARouted: (url, action?) => boolean

Parameters​
url​

string

action?​

RouteAction

Returns​

boolean

middlewareTimeout?​

optional middlewareTimeout: number

Middleware execution timeout, see https://imajs.io/basic-features/routing/middlewares#execution-timeout for more information. [ms]