Skip to main content

Interface: Settings

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

App settings for single env key.

Properties

$Cache?

optional $Cache: object

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

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:234

cacheOptions?

optional cacheOptions: HttpAgentImplCacheOptions

defaultRequestOptions?

optional defaultRequestOptions: Omit<HttpAgentRequestOptions, "abortController">


$Observable?

optional $Observable: object

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

maxHistoryLength?

optional maxHistoryLength: number


$Page

$Page: object

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

$Render

$Render: PageRendererSettings


$Router?

optional $Router: object

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

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]