cc-everywhere

shared/src/types/Callbacks.types

Interfaces

Interface
Description
IntentChangeConfig
Optional configuration returned when the user navigates from one design workflow to another. Used by IntentChangeCallback to dynamically update app, export, or container config.
PublishStatus
-
Callbacks
Map of optional lifecycle and event callbacks for the CC Everywhere SDK. Hosts implement the callbacks they need; all are optional.

Type Aliases

| Type Alias | Description | | -------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | LoadStartCallback | - | - | | LoadCallback | - | - | | LoadInitCallback | - | - | | CancelCallback | - | - | | PublishStartCallback | - | - | | PublishCallback | Keeping callback type as void | Promise<PublishStatus> for the publish operation, to handle promises as well | | EventCallback | - | - | | IntentChangeCallback | Callback invoked when the user navigates from one design workflow to another (e.g. Quick action to Express). May return IntentChangeConfig to update app, export, or container config for the new intent. | - |