ts-transforms / operations/lib/base / default
Class: default
Extended by
Constructors
new default()
new default(
config
):default
Parameters
Parameter | Type |
---|---|
config | OperationConfig |
Returns
Source
Properties
config
readonly
config:OperationConfig
Source
destination
protected
destination:string
|string
[]
Source
hasTarget
protected
hasTarget:boolean
Source
source
protected
source:string
|string
[]
Source
target
protected
target:string
|string
[]
Source
cardinality
static
cardinality:InputOutputCardinality
='one-to-one'
Source
Methods
removeField()
removeField(
doc
,field
):void
Parameters
Parameter | Type |
---|---|
doc | DataEntity <Record <string , any >, _DataEntityMetadata <Record <string , any >>> |
field | string |
Returns
void
Source
removeSource()
removeSource(
doc
):void
Parameters
Parameter | Type |
---|---|
doc | DataEntity <Record <string , any >, _DataEntityMetadata <Record <string , any >>> |
Returns
void
Source
set()
set(
doc
,data
):void
Parameters
Parameter | Type |
---|---|
doc | DataEntity <Record <string , any >, _DataEntityMetadata <Record <string , any >>> |
data | any |
Returns
void
Source
setField()
setField(
doc
,field
,data
):void
Parameters
Parameter | Type |
---|---|
doc | DataEntity <Record <string , any >, _DataEntityMetadata <Record <string , any >>> |
field | string |
data | any |
Returns
void
Source
validateConfig()
protected
validateConfig(config
):void
Parameters
Parameter | Type |
---|---|
config | OperationConfig |
Returns
void