@atlaskit/rovo-triggers 3.18.0 → 4.0.1
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 +15 -0
- package/dist/types/types.d.ts +2 -2
- package/dist/types-ts4.5/types.d.ts +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/rovo-triggers
|
|
2
2
|
|
|
3
|
+
## 4.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`fa6ccc7d15810`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/fa6ccc7d15810) -
|
|
8
|
+
Tooling: Add eslint-plugin-no-barrel-files and ignore existing violations. No published code
|
|
9
|
+
affected
|
|
10
|
+
|
|
11
|
+
## 4.0.0
|
|
12
|
+
|
|
13
|
+
### Major Changes
|
|
14
|
+
|
|
15
|
+
- [`7df1d25b57424`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7df1d25b57424) -
|
|
16
|
+
Rovo types have been updated for generic external action errors for consistent naming.
|
|
17
|
+
|
|
3
18
|
## 3.18.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
package/dist/types/types.d.ts
CHANGED
|
@@ -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
|
|
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 |
|
|
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
|
|
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 |
|
|
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
|
+
"version": "4.0.1",
|
|
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": {
|