@atlaskit/rovo-triggers 3.15.2 → 3.16.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,20 @@
1
1
  # @atlaskit/rovo-triggers
2
2
 
3
+ ## 3.16.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`1e470200487fe`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1e470200487fe) -
8
+ Adds new `useGenericEditorSkill` optional property to be used with rovo context with editor. This
9
+ enables use of the generic editor minion
10
+
11
+ ## 3.15.3
12
+
13
+ ### Patch Changes
14
+
15
+ - [`939a083bf7a60`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/939a083bf7a60) -
16
+ add support for database context
17
+
3
18
  ## 3.15.2
4
19
 
5
20
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  export { usePublish, useSubscribe, useSubscribeAll, Subscriber } from './main';
2
- export type { Payload, Callback, Topic, WorkflowContextPayloadData, EditorContextPayloadData, WhiteboardContextPayloadData, BrowserContextPayloadData, AddStatusRovoPayload, UpdateStatusRovoPayload, DeleteStatusRovoPayload, AddNewTransitionRovoPayload, UpdateTransitionRovoPayload, DeleteTransitionRovoPayload, AddRuleRovoPayload, UpdateRuleRovoPayload, DeleteRuleRovoPayload, JiraWorkflowWizardAction, DashboardInsightsActionsPayload, DashboardInsightsActionsPayloadData, } from './types';
2
+ export type { Payload, Callback, Topic, WorkflowContextPayloadData, EditorContextPayloadData, WhiteboardContextPayloadData, BrowserContextPayloadData, DatabaseContextPayloadData, AddStatusRovoPayload, UpdateStatusRovoPayload, DeleteStatusRovoPayload, AddNewTransitionRovoPayload, UpdateTransitionRovoPayload, DeleteTransitionRovoPayload, AddRuleRovoPayload, UpdateRuleRovoPayload, DeleteRuleRovoPayload, JiraWorkflowWizardAction, DashboardInsightsActionsPayload, DashboardInsightsActionsPayloadData, } from './types';
3
3
  export { getRovoParams, updatePageRovoParams, addRovoParamsToUrl, assertOnlySpecificFieldsDefined, encodeRovoParams, getListOfRovoParams, } from './common/utils/params';
4
4
  export type { RovoChatParams, RovoChatPathway } from './common/utils/params/types';
5
5
  export { useRovoPostMessageToPubsub, RovoPostMessagePubsubListener, } from './common/utils/post-message-to-pubsub';
@@ -55,6 +55,7 @@ export type EditorContextPayloadData = {
55
55
  selectionFragment?: string;
56
56
  selectionLocalIds?: string;
57
57
  isViewMode?: boolean;
58
+ useGenericEditorSkill?: boolean;
58
59
  } | undefined;
59
60
  export type WhiteboardContextPayloadData = {
60
61
  type: 'image/svg+xml' | 'text/plain';
@@ -62,6 +63,12 @@ export type WhiteboardContextPayloadData = {
62
63
  contentId?: string;
63
64
  isViewMode?: boolean;
64
65
  } | undefined;
66
+ export type DatabaseContextPayloadData = {
67
+ contentId: string;
68
+ csv: string;
69
+ title: string;
70
+ url: string;
71
+ } | undefined;
65
72
  export type BrowserContextPayloadData = {
66
73
  context: {
67
74
  browserUrl: string;
@@ -1,5 +1,5 @@
1
1
  export { usePublish, useSubscribe, useSubscribeAll, Subscriber } from './main';
2
- export type { Payload, Callback, Topic, WorkflowContextPayloadData, EditorContextPayloadData, WhiteboardContextPayloadData, BrowserContextPayloadData, AddStatusRovoPayload, UpdateStatusRovoPayload, DeleteStatusRovoPayload, AddNewTransitionRovoPayload, UpdateTransitionRovoPayload, DeleteTransitionRovoPayload, AddRuleRovoPayload, UpdateRuleRovoPayload, DeleteRuleRovoPayload, JiraWorkflowWizardAction, DashboardInsightsActionsPayload, DashboardInsightsActionsPayloadData, } from './types';
2
+ export type { Payload, Callback, Topic, WorkflowContextPayloadData, EditorContextPayloadData, WhiteboardContextPayloadData, BrowserContextPayloadData, DatabaseContextPayloadData, AddStatusRovoPayload, UpdateStatusRovoPayload, DeleteStatusRovoPayload, AddNewTransitionRovoPayload, UpdateTransitionRovoPayload, DeleteTransitionRovoPayload, AddRuleRovoPayload, UpdateRuleRovoPayload, DeleteRuleRovoPayload, JiraWorkflowWizardAction, DashboardInsightsActionsPayload, DashboardInsightsActionsPayloadData, } from './types';
3
3
  export { getRovoParams, updatePageRovoParams, addRovoParamsToUrl, assertOnlySpecificFieldsDefined, encodeRovoParams, getListOfRovoParams, } from './common/utils/params';
4
4
  export type { RovoChatParams, RovoChatPathway } from './common/utils/params/types';
5
5
  export { useRovoPostMessageToPubsub, RovoPostMessagePubsubListener, } from './common/utils/post-message-to-pubsub';
@@ -55,6 +55,7 @@ export type EditorContextPayloadData = {
55
55
  selectionFragment?: string;
56
56
  selectionLocalIds?: string;
57
57
  isViewMode?: boolean;
58
+ useGenericEditorSkill?: boolean;
58
59
  } | undefined;
59
60
  export type WhiteboardContextPayloadData = {
60
61
  type: 'image/svg+xml' | 'text/plain';
@@ -62,6 +63,12 @@ export type WhiteboardContextPayloadData = {
62
63
  contentId?: string;
63
64
  isViewMode?: boolean;
64
65
  } | undefined;
66
+ export type DatabaseContextPayloadData = {
67
+ contentId: string;
68
+ csv: string;
69
+ title: string;
70
+ url: string;
71
+ } | undefined;
65
72
  export type BrowserContextPayloadData = {
66
73
  context: {
67
74
  browserUrl: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-triggers",
3
- "version": "3.15.2",
3
+ "version": "3.16.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": {
@@ -40,7 +40,7 @@
40
40
  "@af/integration-testing": "workspace:^",
41
41
  "@af/visual-regression": "workspace:^",
42
42
  "@atlaskit/css": "^0.15.0",
43
- "@atlaskit/primitives": "^16.0.0",
43
+ "@atlaskit/primitives": "^16.1.0",
44
44
  "@atlaskit/ssr": "workspace:^",
45
45
  "@atlassian/feature-flags-test-utils": "^1.0.0",
46
46
  "@testing-library/react": "^13.4.0",