Class: MapperParameters
Mapper configuration
Extends
Constructors
new MapperParameters(params)
new MapperParameters(
params
):MapperParameters
Parameters
• params: any
Returns
Overrides
Source
packages/core/src/stores/mapper.ts:52
Properties
async
async:
boolean
Async
Default
false
Source
packages/core/src/stores/mapper.ts:33
attribute
attribute:
string
Attribute to use for link
Depending on the type
- string[]: will consider each string as id
- string: will be consider as id
- Object: each keys will be consider as id
Source
packages/core/src/stores/mapper.ts:42
cascade
cascade:
boolean
Delete source if target object is deleted
Source
packages/core/src/stores/mapper.ts:50
fields
fields:
string
[]
Field to duplicate
Source
packages/core/src/stores/mapper.ts:19
openapi?
openapi?:
OpenAPIWebdaDefinition
OpenAPI override
Schema Ignore
Inherited from
Source
packages/core/src/services/service.ts:260
source
source:
string
Source service
Source
packages/core/src/stores/mapper.ts:23
target
target:
string
Target store
Source
packages/core/src/stores/mapper.ts:27
targetAttribute
targetAttribute:
string
The object will contain a Mapper
Source
packages/core/src/stores/mapper.ts:46
type
type:
string
Type of the service
Inherited from
Source
packages/core/src/services/service.ts:251
url?
url?:
string
URL on which to serve the content