Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
swiz
Valve
Class Valve
Index
Constructor methods
constructor
Methods
addChainValidator
addFinalValidator
check
checkUpdate
help
setSchema
Constructor methods
constructor
(
schema
:
IValveSchema
, baton
?:
any
)
:
Valve
Parameters
schema:
IValveSchema
baton?:
any
optional
Returns
Valve
Methods
public
addChainValidator
(
name
:
string
, description
:
string
, func
:
(value: any, callback: (err: Error, cleaned: any) => void) => void
)
Parameters
name:
string
description:
string
func:
(value: any, callback: (err: Error, cleaned: any) => void) => void
public
addFinalValidator
(
func
:
(obj: any, callback: (err: Error, cleaned: any) => void) => void
)
:
Valve
Parameters
func:
(obj: any, callback: (err: Error, cleaned: any) => void) => void
Returns
Valve
public
check
(
obj
:
any
, options
:
ICheckOptions
, callback
:
(err: any, cleaned: any) => void
)
Parameters
obj:
any
options:
ICheckOptions
callback:
(err: any, cleaned: any) => void
public
check
(
obj
:
any
, callback
:
(err: any, cleaned: any) => void
)
Parameters
obj:
any
callback:
(err: any, cleaned: any) => void
public
checkUpdate
(
existing
:
any
, obj
:
any
, callback
:
(err: any, cleaned: any) => void
)
Parameters
existing:
any
obj:
any
callback:
(err: any, cleaned: any) => void
public
help
(
schema
:
IValveSchema
)
:
any
Parameters
schema:
IValveSchema
Returns
any
public
setSchema
(
schema
:
IValveSchema
)
:
Valve
Parameters
schema:
IValveSchema
Returns
Valve
Globals
swiz
swiz.struct
SERIALIZATION
IChain
ICheckOptions
ISerializable
ISwizOptions
IValidator
IValveSchema
IValveSchemaMember
IValveSchemaMemberArray
Cidr
Swiz
Valve
constructor
addChainValidator
addFinalValidator
check
checkUpdate
help
setSchema
Chain
chain
defToValve
stripSerializerTypes