ts-transforms / operations/lib/validations/mac-address / default
Class: default
Extends
default
<any
>
Constructors
new default()
new default(
config
):default
Parameters
Parameter | Type |
---|---|
config | PostProcessConfig |
Returns
Overrides
Source
operations/lib/validations/mac-address.ts:10
Properties
config
readonly
config:OperationConfig
Inherited from
Source
destination
protected
destination:string
|string
[]
Inherited from
Source
hasTarget
protected
hasTarget:boolean
Inherited from
Source
source
protected
source:string
|string
[]
Inherited from
Source
target
protected
target:string
|string
[]
Inherited from
Source
cardinality
static
cardinality:InputOutputCardinality
='one-to-one'
Inherited from
Source
Methods
normalize()
normalize(
data
,_doc
):string
Parameters
Parameter | Type |
---|---|
data | unknown |
_doc | DataEntity <Record <string , any >, _DataEntityMetadata <Record <string , any >>> |
Returns
string
Overrides
Source
operations/lib/validations/mac-address.ts:16
removeField()
removeField(
doc
,field
):void
Parameters
Parameter | Type |
---|---|
doc | DataEntity <Record <string , any >, _DataEntityMetadata <Record <string , any >>> |
field | string |
Returns
void