Search
Preparing search index...
The search index is not available
Electron Forge
Options
All
Public
Public/Protected
All
Inherited
Menu
Electron Forge
@electron-forge/shared-types
InternalOptions
PromptInstance
Interface PromptInstance
Hierarchy
Omit
<
BasePromptOptions
,
"onCancel"
|
"onSubmit"
>
PromptInstance
Index
Properties
footer
header
initial
message
required
stdin
stdout
Methods
cancel
format
result
skip
submit
validate
Properties
Optional
footer
footer
?:
string
Optional
header
header
?:
string
Optional
initial
initial
?:
string
|
number
|
boolean
|
number
[]
|
(
(
)
=>
string
)
|
(
(
)
=>
Promise
<
string
>
)
message
message
:
string
|
(
(
)
=>
string
)
|
(
(
)
=>
Promise
<
string
>
)
Optional
required
required
?:
boolean
Optional
stdin
stdin
?:
ReadStream
Optional
stdout
stdout
?:
WriteStream
Methods
cancel
cancel
(
err
?:
string
)
:
void
Parameters
Optional
err:
string
Returns
void
Optional
format
format
(
value
:
any
)
:
any
Parameters
value:
any
Returns
any
Optional
result
result
(
value
:
any
)
:
any
Parameters
value:
any
Returns
any
Optional
skip
skip
(
value
:
any
)
:
boolean
|
Promise
<
boolean
>
Parameters
value:
any
Returns
boolean
|
Promise
<
boolean
>
submit
submit
(
)
:
void
Returns
void
Optional
validate
validate
(
value
:
any
, state
:
any
)
:
string
|
boolean
|
Promise
<
string
|
boolean
>
|
Promise
<
boolean
>
|
Promise
<
string
>
Parameters
value:
any
state:
any
Returns
string
|
boolean
|
Promise
<
string
|
boolean
>
|
Promise
<
boolean
>
|
Promise
<
string
>
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