ts-transforms / operations/lib/validations/ip / default
Class: default
Defined in: operations/lib/validations/ip.ts:5
Extends
default
<any
>
Constructors
new default()
new default(
config
):default
Defined in: operations/lib/validations/ip.ts:6
Parameters
Parameter | Type |
---|---|
config | PostProcessConfig |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
config | readonly | OperationConfig | undefined | default .config | operations/lib/base.ts:9 |
destination | protected | string | string [] | undefined | default .destination | operations/lib/base.ts:10 |
hasTarget | protected | boolean | undefined | default .hasTarget | operations/lib/base.ts:11 |
source | protected | string | string [] | undefined | default .source | operations/lib/base.ts:7 |
target | protected | string | string [] | undefined | default .target | operations/lib/base.ts:8 |
cardinality | static | InputOutputCardinality | 'one-to-one' | default .cardinality | operations/lib/base.ts:13 |
Methods
normalize()?
optional
normalize(data
,_doc
):any
Defined in: operations/lib/validations/base.ts:16
Parameters
Parameter | Type |
---|---|
data | any |
_doc | DataEntity |
Returns
any
Inherited from
removeField()
removeField(
doc
,field
):void
Defined in: operations/lib/base.ts:50
Parameters
Parameter | Type |
---|---|
doc | DataEntity |
field | string |
Returns
void
Inherited from
removeSource()
removeSource(
doc
):void
Defined in: operations/lib/base.ts:46
Parameters
Parameter | Type |
---|---|
doc | DataEntity |
Returns
void
Inherited from
run()
run(
doc
):null
|DataEntity
<Record
<string
,any
>,_DataEntityMetadata
<Record
<string
,any
>>>
Defined in: operations/lib/validations/base.ts:18
Parameters
Parameter | Type |
---|---|
doc | DataEntity |
Returns
null
| DataEntity
<Record
<string
, any
>, _DataEntityMetadata
<Record
<string
, any
>>>
Inherited from
set()
set(
doc
,data
):void
Defined in: operations/lib/base.ts:38
Parameters
Parameter | Type |
---|---|
doc | DataEntity |
data | any |
Returns
void
Inherited from
setField()
setField(
doc
,field
,data
):void
Defined in: operations/lib/base.ts:42
Parameters
Parameter | Type |
---|---|
doc | DataEntity |
field | string |
data | any |
Returns
void
Inherited from
validate()
validate(
data
):boolean
Defined in: operations/lib/validations/ip.ts:10
Parameters
Parameter | Type |
---|---|
data | string |
Returns
boolean
Overrides
validateConfig()
protected
validateConfig(config
):void
Defined in: operations/lib/base.ts:22
Parameters
Parameter | Type |
---|---|
config | OperationConfig |
Returns
void