ts-transforms / operations/lib/validations/uuid / default
Class: default
Extends
default
<any
>
Constructors
new default()
new default(
config
):default
Parameters
Parameter | Type |
---|---|
config | PostProcessConfig |
Returns
Overrides
Source
operations/lib/validations/uuid.ts:8
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(
doc
):string
Parameters
Parameter | Type |
---|---|
doc | any |
Returns
string
Overrides
Source
operations/lib/validations/uuid.ts:13
removeField()
removeField(
doc
,field
):void
Parameters
Parameter | Type |
---|---|
doc | DataEntity <Record <string , any >, _DataEntityMetadata <Record <string , any >>> |
field | string |
Returns
void
Inherited from
Source
removeSource()
removeSource(
doc
):void
Parameters
Parameter | Type |
---|---|
doc | DataEntity <Record <string , any >, _DataEntityMetadata <Record <string , any >>> |
Returns
void
Inherited from
Source
run()
run(
doc
):null
|DataEntity
<Record
<string
,any
>,_DataEntityMetadata
<Record
<string
,any
>>>
Parameters
Parameter | Type |
---|---|
doc | DataEntity <Record <string , any >, _DataEntityMetadata <Record <string , any >>> |
Returns
null
| DataEntity
<Record
<string
, any
>, _DataEntityMetadata
<Record
<string
, any
>>>
Inherited from
Source
operations/lib/validations/base.ts:18
set()
set(
doc
,data
):void
Parameters
Parameter | Type |
---|---|
doc | DataEntity <Record <string , any >, _DataEntityMetadata <Record <string , any >>> |
data | any |
Returns
void
Inherited from
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
Inherited from
Source
validate()
validate(
value
):boolean
Parameters
Parameter | Type |
---|---|
value | string |