Search
Preparing search index...
The search index is not available
Electron Forge
Options
All
Public
Public/Protected
All
Inherited
Menu
Electron Forge
@electron-forge/plugin-webpack
InternalOptions
"/home/runner/work/forge/forge/node_modules/webpack-dev-middleware/node_modules/ajv/dist/ajv"
KeywordCxt
Class KeywordCxt
Hierarchy
KeywordCxt
Implements
KeywordErrorCxt
Index
Constructors
constructor
Properties
$data
all
Errors
data
def
errs
Count
gen
it
keyword
params
parent
Schema
schema
schema
Code
schema
Type
schema
Value
Methods
$data
Error
block$data
check$data
error
fail
fail$data
fail
Result
invalid$data
merge
Evaluated
merge
Valid
Evaluated
ok
pass
reset
result
set
Params
subschema
Constructors
constructor
new
Keyword
Cxt
(
it
:
SchemaObjCxt
, def
:
AddedKeywordDefinition
, keyword
:
string
)
:
KeywordCxt
Parameters
it:
SchemaObjCxt
def:
AddedKeywordDefinition
keyword:
string
Returns
KeywordCxt
Properties
Optional
Readonly
$data
$data
?:
string
|
false
Optional
Readonly
all
Errors
all
Errors
?:
boolean
Readonly
data
data
:
Name
Readonly
def
def
:
AddedKeywordDefinition
Optional
Readonly
errs
Count
errs
Count
?:
Name
Readonly
gen
gen
:
CodeGen
Readonly
it
it
:
SchemaObjCxt
Readonly
keyword
keyword
:
string
params
params
:
KeywordCxtParams
Readonly
parent
Schema
parent
Schema
:
AnySchemaObject
schema
schema
:
any
Readonly
schema
Code
schema
Code
:
number
|
boolean
|
Code
Readonly
schema
Type
schema
Type
:
(
"string"
|
"number"
|
"boolean"
|
"object"
|
"integer"
|
"array"
|
"null"
)
[]
Readonly
schema
Value
schema
Value
:
number
|
boolean
|
Code
Methods
$data
Error
$data
Error
(
)
:
void
Returns
void
block$data
block$data
(
valid
:
Name
, codeBlock
:
(
)
=>
void
, $dataValid
?:
Code
)
:
void
Parameters
valid:
Name
codeBlock:
(
)
=>
void
(
)
:
void
Returns
void
Optional
$dataValid:
Code
Returns
void
check$data
check$data
(
valid
?:
Name
, $dataValid
?:
Code
)
:
void
Parameters
Optional
valid:
Name
Optional
$dataValid:
Code
Returns
void
error
error
(
append
?:
boolean
, errorParams
?:
KeywordCxtParams
, errorPaths
?:
ErrorPaths
)
:
void
Parameters
Optional
append:
boolean
Optional
errorParams:
KeywordCxtParams
Optional
errorPaths:
ErrorPaths
Returns
void
fail
fail
(
condition
?:
Code
)
:
void
Parameters
Optional
condition:
Code
Returns
void
fail$data
fail$data
(
condition
:
Code
)
:
void
Parameters
condition:
Code
Returns
void
fail
Result
fail
Result
(
condition
:
Code
, successAction
?:
(
)
=>
void
, failAction
?:
(
)
=>
void
)
:
void
Parameters
condition:
Code
Optional
successAction:
(
)
=>
void
(
)
:
void
Returns
void
Optional
failAction:
(
)
=>
void
(
)
:
void
Returns
void
Returns
void
invalid$data
invalid$data
(
)
:
Code
Returns
Code
merge
Evaluated
merge
Evaluated
(
schemaCxt
:
SchemaCxt
, toName
?:
typeof
Name
)
:
void
Parameters
schemaCxt:
SchemaCxt
Optional
toName:
typeof
Name
Returns
void
merge
Valid
Evaluated
merge
Valid
Evaluated
(
schemaCxt
:
SchemaCxt
, valid
:
Name
)
:
boolean
|
void
Parameters
schemaCxt:
SchemaCxt
valid:
Name
Returns
boolean
|
void
ok
ok
(
cond
:
boolean
|
Code
)
:
void
Parameters
cond:
boolean
|
Code
Returns
void
pass
pass
(
condition
:
Code
, failAction
?:
(
)
=>
void
)
:
void
Parameters
condition:
Code
Optional
failAction:
(
)
=>
void
(
)
:
void
Returns
void
Returns
void
reset
reset
(
)
:
void
Returns
void
result
result
(
condition
:
Code
, successAction
?:
(
)
=>
void
, failAction
?:
(
)
=>
void
)
:
void
Parameters
condition:
Code
Optional
successAction:
(
)
=>
void
(
)
:
void
Returns
void
Optional
failAction:
(
)
=>
void
(
)
:
void
Returns
void
Returns
void
set
Params
set
Params
(
obj
:
KeywordCxtParams
, assign
?:
true
)
:
void
Parameters
obj:
KeywordCxtParams
Optional
assign:
true
Returns
void
subschema
subschema
(
appl
:
Partial
<
{
allErrors
:
boolean
;
compositeRule
:
true
;
createErrors
:
boolean
;
data
:
Code
;
dataProp
:
string
|
number
|
Code
;
dataPropType
:
Type
;
dataTypes
:
(
"string"
|
"number"
|
"boolean"
|
"object"
|
"integer"
|
"array"
|
"null"
)
[]
;
definedProperties
:
Set
<
string
>
;
errSchemaPath
:
string
;
jtdDiscriminator
:
string
;
jtdMetadata
:
boolean
;
keyword
:
string
;
propertyName
:
Name
;
schema
:
AnySchema
;
schemaPath
:
Code
;
schemaProp
:
string
|
number
;
topSchemaRef
:
Code
}
>
, valid
:
Name
)
:
SchemaCxt
Parameters
appl:
Partial
<
{
allErrors
:
boolean
;
compositeRule
:
true
;
createErrors
:
boolean
;
data
:
Code
;
dataProp
:
string
|
number
|
Code
;
dataPropType
:
Type
;
dataTypes
:
(
"string"
|
"number"
|
"boolean"
|
"object"
|
"integer"
|
"array"
|
"null"
)
[]
;
definedProperties
:
Set
<
string
>
;
errSchemaPath
:
string
;
jtdDiscriminator
:
string
;
jtdMetadata
:
boolean
;
keyword
:
string
;
propertyName
:
Name
;
schema
:
AnySchema
;
schemaPath
:
Code
;
schemaProp
:
string
|
number
;
topSchemaRef
:
Code
}
>
valid:
Name
Returns
SchemaCxt
All Modules
Makers
maker-appx
maker-deb
maker-dmg
maker-flatpak
maker-pkg
maker-rpm
maker-snap
maker-squirrel
maker-wix
maker-zip
Plugins
plugin-auto-unpack-natives
plugin-base
plugin-electronegativity
plugin-fuses
plugin-local-electron
plugin-vite
plugin-webpack
Publishers
publisher-base
publisher-bitbucket
publisher-electron-release-server
publisher-gcs
publisher-github
publisher-nucleus
publisher-s3
publisher-snapcraft
publisher-static
Templates
template-base
template-vite
template-vite-typescript
template-webpack
template-webpack-typescript
Utils & Internal Helpers
core
core-utils
maker-base
shared-types
test-utils
tracer
web-multi-logger