Documentation
Preparing search index...
@kehto/services
CatalogIntentResolver
Interface CatalogIntentResolver
Installed-catalog resolver and lifecycle policy.
interface
CatalogIntentResolver
{
available
(
archetype
:
string
,
)
:
IntentAvailability
|
Promise
<
IntentAvailability
>
;
handlers
()
:
|
readonly
IntentAvailability
[]
|
Promise
<
readonly
IntentAvailability
[]
>
;
invoke
(
request
:
IntentRequest
,
context
:
IntentResolverContext
,
)
:
IntentResult
|
Promise
<
IntentResult
>
;
notifyChanged
(
archetype
:
string
)
:
void
;
onChanged
?
(
listener
:
(
availability
:
IntentAvailability
)
=>
void
,
)
:
()
=>
void
;
}
Hierarchy (
View Summary
)
IntentResolver
CatalogIntentResolver
Index
Methods
available
handlers
invoke
notify
Changed
on
Changed?
Methods
available
available
(
archetype
:
string
)
:
IntentAvailability
|
Promise
<
IntentAvailability
>
Parameters
archetype
:
string
Returns
IntentAvailability
|
Promise
<
IntentAvailability
>
handlers
handlers
()
:
|
readonly
IntentAvailability
[]
|
Promise
<
readonly
IntentAvailability
[]
>
Returns
readonly
IntentAvailability
[]
|
Promise
<
readonly
IntentAvailability
[]
>
invoke
invoke
(
request
:
IntentRequest
,
context
:
IntentResolverContext
,
)
:
IntentResult
|
Promise
<
IntentResult
>
Parameters
request
:
IntentRequest
context
:
IntentResolverContext
Returns
IntentResult
|
Promise
<
IntentResult
>
notify
Changed
notifyChanged
(
archetype
:
string
)
:
void
Parameters
archetype
:
string
Returns
void
Optional
on
Changed
onChanged
?
(
listener
:
(
availability
:
IntentAvailability
)
=>
void
)
:
()
=>
void
Parameters
listener
:
(
availability
:
IntentAvailability
)
=>
void
Returns
()
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
available
handlers
invoke
notify
Changed
on
Changed
Documentation
Loading...
Installed-catalog resolver and lifecycle policy.