Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
TV4
Interface TV4
Index
Properties
errorCodes
Methods
addSchema
dropSchemas
freshApi
getMissingUris
getSchema
getSchemaMap
getSchemaUris
normSchema
reset
resolveUrl
validateMultiple
validateResult
Properties
public
errorCodes
:
TV4ErrorCodes
Methods
public
addSchema
(
uri
:
string
, schema
:
any
)
:
boolean
Parameters
uri:
string
schema:
any
Returns
boolean
public
dropSchemas
(
)
public
freshApi
(
)
:
TV4
Returns
TV4
public
getMissingUris
(
exp
?:
RegExp
)
:
Array<string>
Parameters
exp?:
RegExp
optional
Returns
Array<string>
public
getSchema
(
uri
:
string
)
:
any
Parameters
uri:
string
Returns
any
public
getSchemaMap
(
)
:
TV4SchemaMap
Returns
TV4SchemaMap
public
getSchemaUris
(
exp
?:
RegExp
)
:
Array<string>
Parameters
exp?:
RegExp
optional
Returns
Array<string>
public
normSchema
(
schema
:
any
, baseUri
:
string
)
:
any
Parameters
schema:
any
baseUri:
string
Returns
any
public
reset
(
)
public
resolveUrl
(
base
:
string
, href
:
string
)
:
string
Parameters
base:
string
href:
string
Returns
string
public
validateMultiple
(
data
:
any
, schema
:
any
)
:
TV4MultiResult
Parameters
data:
any
schema:
any
Returns
TV4MultiResult
public
validateResult
(
data
:
any
, schema
:
any
)
:
TV4SingleResult
Parameters
data:
any
schema:
any
Returns
TV4SingleResult
Globals
tv4