Skip to main content

@webda/coreReadme | API


Class: AbstractAliasStoreParameters

Store parameter

Extends

Constructors

new AbstractAliasStoreParameters(params, store)

new AbstractAliasStoreParameters(params, store): AbstractAliasStoreParameters

Parameters

params: any

store: Store<CoreModel, StoreParameters, StoreEvents>

Returns

AbstractAliasStoreParameters

Overrides

StoreParameters.constructor

Source

packages/core/src/stores/aliasstore.ts:13

Properties

additionalModels?

additionalModels?: string[]

Additional models

Allow this store to manage other models

Default

[]

Inherited from

StoreParameters.additionalModels

Source

packages/core/src/stores/store.ts:405


asyncDelete

asyncDelete: boolean

async delete

Inherited from

StoreParameters.asyncDelete

Source

packages/core/src/stores/store.ts:409


defaultModel?

defaultModel?: boolean

When __type model not found, use the model If strict is setup this parameter is not used

Default

true

Inherited from

StoreParameters.defaultModel

Source

packages/core/src/stores/store.ts:434


expose?

expose?: StoreExposeParameters

Expose the service to an urls

Deprecated

will probably be removed in 4.0 in favor of Expose annotation

Inherited from

StoreParameters.expose

Source

packages/core/src/stores/store.ts:416


forceModel?

forceModel?: boolean

If set, Store will ignore the __type

Default

false

Inherited from

StoreParameters.forceModel

Source

packages/core/src/stores/store.ts:440


model?

model?: string

Webda model to use within the Store

Default

"Webda/CoreModel"

Inherited from

StoreParameters.model

Source

packages/core/src/stores/store.ts:397


modelAliases?

modelAliases?: Object

Model Aliases to allow easier rename of Model

Index signature

[key: string]: string

Inherited from

StoreParameters.modelAliases

Source

packages/core/src/stores/store.ts:450


noCache?

noCache?: boolean

Disable default memory cache

Inherited from

StoreParameters.noCache

Source

packages/core/src/stores/store.ts:454


openapi?

openapi?: OpenAPIWebdaDefinition

OpenAPI override

Schema Ignore

Inherited from

StoreParameters.openapi

Source

packages/core/src/services/service.ts:260


slowQueryThreshold

slowQueryThreshold: number

Slow query threshold

Default

30000

Inherited from

StoreParameters.slowQueryThreshold

Source

packages/core/src/stores/store.ts:446


strict?

strict?: boolean

Allow to load object that does not have the type data

If set to true, then the Store will only managed the defined _model and no model extending this one

Default

false

Inherited from

StoreParameters.strict

Source

packages/core/src/stores/store.ts:427


targetStore

targetStore: string

Store to alias

Source

packages/core/src/stores/aliasstore.ts:11


type

type: string

Type of the service

Inherited from

StoreParameters.type

Source

packages/core/src/services/service.ts:251


url?

url?: string

URL on which to serve the content

Inherited from

StoreParameters.url

Source

packages/core/src/services/service.ts:255