@witchcraft/spellcraft
Github
Issues
npm
Preparing search index...
types/shortcuts
ShortcutSetEntries
Type Alias ShortcutSetEntries
type
ShortcutSetEntries
=
{
chain
:
{
error
:
ChainError
|
typeof
DUPLICATE_KEY
|
typeof
DUPLICATE_SHORTCUT
;
hooks
:
GetShortcutHooks
<
"chain"
>
;
manager
:
BaseShortcutManager
&
PickManager
<
"options"
,
"stringifier"
|
"sorter"
,
>
&
Pick
<
Manager
,
"shortcuts"
|
"commands"
|
"keys"
>
;
val
:
Shortcut
[
"chain"
]
;
}
;
command
:
{
error
:
typeof
UNKNOWN_COMMAND
;
hooks
:
GetShortcutHooks
<
"command"
>
;
manager
:
BaseShortcutManager
&
PickManager
<
"options"
,
"stringifier"
>
&
Pick
<
Manager
,
"commands"
,
>
&
Partial
<
Pick
<
Manager
,
"keys"
>
>
;
val
:
Shortcut
[
"command"
]
;
}
;
condition
:
{
error
:
never
;
hooks
:
GetShortcutHooks
<
"condition"
>
;
manager
:
never
;
val
:
Shortcut
[
"condition"
]
;
}
;
enabled
:
{
error
:
never
;
hooks
:
GetShortcutHooks
<
"enabled"
>
;
manager
:
never
;
val
:
Shortcut
[
"enabled"
]
;
}
;
forceUnequal
:
{
error
:
never
;
hooks
:
GetShortcutHooks
<
"forceUnequal"
>
;
manager
:
never
;
val
:
Shortcut
[
"forceUnequal"
]
;
}
;
}
Index
Properties
chain
command
condition
enabled
force
Unequal
Properties
chain
chain
:
{
error
:
ChainError
|
typeof
DUPLICATE_KEY
|
typeof
DUPLICATE_SHORTCUT
;
hooks
:
GetShortcutHooks
<
"chain"
>
;
manager
:
BaseShortcutManager
&
PickManager
<
"options"
,
"stringifier"
|
"sorter"
,
>
&
Pick
<
Manager
,
"shortcuts"
|
"commands"
|
"keys"
>
;
val
:
Shortcut
[
"chain"
]
;
}
command
command
:
{
error
:
typeof
UNKNOWN_COMMAND
;
hooks
:
GetShortcutHooks
<
"command"
>
;
manager
:
BaseShortcutManager
&
PickManager
<
"options"
,
"stringifier"
>
&
Pick
<
Manager
,
"commands"
,
>
&
Partial
<
Pick
<
Manager
,
"keys"
>
>
;
val
:
Shortcut
[
"command"
]
;
}
condition
condition
:
{
error
:
never
;
hooks
:
GetShortcutHooks
<
"condition"
>
;
manager
:
never
;
val
:
Shortcut
[
"condition"
]
;
}
enabled
enabled
:
{
error
:
never
;
hooks
:
GetShortcutHooks
<
"enabled"
>
;
manager
:
never
;
val
:
Shortcut
[
"enabled"
]
;
}
force
Unequal
forceUnequal
:
{
error
:
never
;
hooks
:
GetShortcutHooks
<
"forceUnequal"
>
;
manager
:
never
;
val
:
Shortcut
[
"forceUnequal"
]
;
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
chain
command
condition
enabled
force
Unequal
Github
Issues
npm
@witchcraft/spellcraft
Loading...