Class: AliasStoreParameters
Store parameter
Extends
Constructors
new AliasStoreParameters(params, store)
new AliasStoreParameters(
params
,store
):AliasStoreParameters
Parameters
• params: any
• store: Store
<CoreModel
, StoreParameters
, StoreEvents
>
Returns
Inherited from
AbstractAliasStoreParameters
.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
AbstractAliasStoreParameters
.additionalModels
Source
packages/core/src/stores/store.ts:405
asyncDelete
asyncDelete:
boolean
async delete
Inherited from
AbstractAliasStoreParameters
.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
AbstractAliasStoreParameters
.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
AbstractAliasStoreParameters
.expose
Source
packages/core/src/stores/store.ts:416
forceModel?
forceModel?:
boolean
If set, Store will ignore the __type
Default
false
Inherited from
AbstractAliasStoreParameters
.forceModel
Source
packages/core/src/stores/store.ts:440
idTemplate
idTemplate:
string
Store to alias
Source
packages/core/src/stores/aliasstore.ts:233
model?
model?:
string
Webda model to use within the Store
Default
"Webda/CoreModel"
Inherited from
AbstractAliasStoreParameters
.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
AbstractAliasStoreParameters
.modelAliases
Source
packages/core/src/stores/store.ts:450
noCache?
noCache?:
boolean
Disable default memory cache
Inherited from
AbstractAliasStoreParameters
.noCache
Source
packages/core/src/stores/store.ts:454
openapi?
openapi?:
OpenAPIWebdaDefinition
OpenAPI override
Schema Ignore
Inherited from
AbstractAliasStoreParameters
.openapi
Source
packages/core/src/services/service.ts:260
slowQueryThreshold
slowQueryThreshold:
number
Slow query threshold
Default
30000
Inherited from
AbstractAliasStoreParameters
.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
AbstractAliasStoreParameters
.strict
Source
packages/core/src/stores/store.ts:427
targetStore
targetStore:
string
Store to alias
Inherited from
AbstractAliasStoreParameters
.targetStore
Source
packages/core/src/stores/aliasstore.ts:11
type
type:
string
Type of the service
Inherited from
AbstractAliasStoreParameters
.type
Source
packages/core/src/services/service.ts:251
url?
url?:
string
URL on which to serve the content
Inherited from
AbstractAliasStoreParameters
.url