@atlaskit/rovo-triggers 3.18.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/rovo-triggers
2
2
 
3
+ ## 4.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [`7df1d25b57424`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7df1d25b57424) -
8
+ Rovo types have been updated for generic external action errors for consistent naming.
9
+
3
10
  ## 3.18.0
4
11
 
5
12
  ### Minor Changes
@@ -235,7 +235,7 @@ export type JiraWorkflowWizardActionsPayload = PayloadCore<'jira-workflow-wizard
235
235
  operations?: JiraWorkflowWizardAction[];
236
236
  currentWorkflowDocument?: Record<string, unknown>;
237
237
  }>;
238
- export type GenericActionErrorPayload = PayloadCore<'generic-action-error', {
238
+ export type GenericExternalActionErrorPayload = PayloadCore<'generic-external-action-error', {
239
239
  invocationId: string;
240
240
  errors: string[];
241
241
  }>;
@@ -246,7 +246,7 @@ export type DashboardInsightsActionsPayloadData = {
246
246
  content: string;
247
247
  } | undefined;
248
248
  export type SetChatContextPayload = PayloadCore<'set-message-context', ChatContextPayload>;
249
- export type Payload = MessageSendPayload | ChatClosePayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | GenericActionErrorPayload;
249
+ export type Payload = MessageSendPayload | ChatClosePayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | GenericExternalActionErrorPayload;
250
250
  export type Callback = (payload: Payload) => void;
251
251
  export type TopicEvents = {
252
252
  [key in Topic]?: Array<{
@@ -235,7 +235,7 @@ export type JiraWorkflowWizardActionsPayload = PayloadCore<'jira-workflow-wizard
235
235
  operations?: JiraWorkflowWizardAction[];
236
236
  currentWorkflowDocument?: Record<string, unknown>;
237
237
  }>;
238
- export type GenericActionErrorPayload = PayloadCore<'generic-action-error', {
238
+ export type GenericExternalActionErrorPayload = PayloadCore<'generic-external-action-error', {
239
239
  invocationId: string;
240
240
  errors: string[];
241
241
  }>;
@@ -246,7 +246,7 @@ export type DashboardInsightsActionsPayloadData = {
246
246
  content: string;
247
247
  } | undefined;
248
248
  export type SetChatContextPayload = PayloadCore<'set-message-context', ChatContextPayload>;
249
- export type Payload = MessageSendPayload | ChatClosePayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | GenericActionErrorPayload;
249
+ export type Payload = MessageSendPayload | ChatClosePayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | GenericExternalActionErrorPayload;
250
250
  export type Callback = (payload: Payload) => void;
251
251
  export type TopicEvents = {
252
252
  [key in Topic]?: Array<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-triggers",
3
- "version": "3.18.0",
3
+ "version": "4.0.0",
4
4
  "description": "Provides various trigger events to drive Rovo Chat functionality, such as a publish-subscribe and URL parameter hooks",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "publishConfig": {