@atlaskit/rovo-triggers 2.11.0 → 2.13.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 +17 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/types.d.ts +6 -2
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/dist/types-ts4.5/types.d.ts +6 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/rovo-triggers
|
|
2
2
|
|
|
3
|
+
## 2.13.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#155265](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/155265)
|
|
8
|
+
[`39e13851ab159`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/39e13851ab159) -
|
|
9
|
+
Add the ability to take in and store workflow context from jira for the workflow builder agent
|
|
10
|
+
|
|
11
|
+
## 2.12.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [#153961](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/153961)
|
|
16
|
+
[`0c9bdadc81cb7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0c9bdadc81cb7) -
|
|
17
|
+
Added support for highlight action placeholder to be inserted into editor when clicking Chat from
|
|
18
|
+
highlight actions menu
|
|
19
|
+
|
|
3
20
|
## 2.11.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { usePublish, useSubscribe, useSubscribeAll, Subscriber } from './main';
|
|
2
|
-
export type { Payload, Callback, Topic, EditorContextPayloadData, BrowserContextPayloadData, AddNewTransitionRovoPayload, UpdateTransitionRovoPayload, DeleteTransitionRovoPayload, AddRuleRovoPayload, UpdateRuleRovoPayload, DeleteRuleRovoPayload, AddStatusRovoPayload, DeleteStatusRovoPayload, JiraWorkflowWizardAction, JiraIssueWorkBreakdownAction, } from './types';
|
|
2
|
+
export type { Payload, Callback, Topic, WorkflowContextPayloadData, EditorContextPayloadData, BrowserContextPayloadData, AddNewTransitionRovoPayload, UpdateTransitionRovoPayload, DeleteTransitionRovoPayload, AddRuleRovoPayload, UpdateRuleRovoPayload, DeleteRuleRovoPayload, AddStatusRovoPayload, DeleteStatusRovoPayload, JiraWorkflowWizardAction, JiraIssueWorkBreakdownAction, } 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';
|
package/dist/types/types.d.ts
CHANGED
|
@@ -54,6 +54,9 @@ export type BrowserContextPayloadData = {
|
|
|
54
54
|
canvasText?: string;
|
|
55
55
|
} | undefined;
|
|
56
56
|
};
|
|
57
|
+
export type WorkflowContextPayloadData = {
|
|
58
|
+
currentWorkflowDocument?: Record<string, unknown>;
|
|
59
|
+
};
|
|
57
60
|
export type EditorContextPayload = PayloadCore<'editor-context-payload'> & {
|
|
58
61
|
data: EditorContextPayloadData;
|
|
59
62
|
};
|
|
@@ -95,7 +98,7 @@ export type InsertPromptPayload = PayloadCore<'insert-prompt', {
|
|
|
95
98
|
/**
|
|
96
99
|
* Overrides the default placeholder type
|
|
97
100
|
*/
|
|
98
|
-
placeholderType?: 'person' | 'link' | 'generic';
|
|
101
|
+
placeholderType?: 'person' | 'link' | 'generic' | 'highlight-action';
|
|
99
102
|
}>;
|
|
100
103
|
export type TransitionId = string;
|
|
101
104
|
export type StatusId = string;
|
|
@@ -182,7 +185,8 @@ export type JiraWorkflowWizardAction = {
|
|
|
182
185
|
payload: DeleteStatusRovoPayload;
|
|
183
186
|
};
|
|
184
187
|
export type JiraWorkflowWizardActionsPayload = PayloadCore<'jira-workflow-wizard-actions', {
|
|
185
|
-
operations
|
|
188
|
+
operations?: JiraWorkflowWizardAction[];
|
|
189
|
+
currentWorkflowDocument?: Record<string, unknown>;
|
|
186
190
|
}>;
|
|
187
191
|
type ChildIssues = {
|
|
188
192
|
summary: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { usePublish, useSubscribe, useSubscribeAll, Subscriber } from './main';
|
|
2
|
-
export type { Payload, Callback, Topic, EditorContextPayloadData, BrowserContextPayloadData, AddNewTransitionRovoPayload, UpdateTransitionRovoPayload, DeleteTransitionRovoPayload, AddRuleRovoPayload, UpdateRuleRovoPayload, DeleteRuleRovoPayload, AddStatusRovoPayload, DeleteStatusRovoPayload, JiraWorkflowWizardAction, JiraIssueWorkBreakdownAction, } from './types';
|
|
2
|
+
export type { Payload, Callback, Topic, WorkflowContextPayloadData, EditorContextPayloadData, BrowserContextPayloadData, AddNewTransitionRovoPayload, UpdateTransitionRovoPayload, DeleteTransitionRovoPayload, AddRuleRovoPayload, UpdateRuleRovoPayload, DeleteRuleRovoPayload, AddStatusRovoPayload, DeleteStatusRovoPayload, JiraWorkflowWizardAction, JiraIssueWorkBreakdownAction, } 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';
|
|
@@ -54,6 +54,9 @@ export type BrowserContextPayloadData = {
|
|
|
54
54
|
canvasText?: string;
|
|
55
55
|
} | undefined;
|
|
56
56
|
};
|
|
57
|
+
export type WorkflowContextPayloadData = {
|
|
58
|
+
currentWorkflowDocument?: Record<string, unknown>;
|
|
59
|
+
};
|
|
57
60
|
export type EditorContextPayload = PayloadCore<'editor-context-payload'> & {
|
|
58
61
|
data: EditorContextPayloadData;
|
|
59
62
|
};
|
|
@@ -95,7 +98,7 @@ export type InsertPromptPayload = PayloadCore<'insert-prompt', {
|
|
|
95
98
|
/**
|
|
96
99
|
* Overrides the default placeholder type
|
|
97
100
|
*/
|
|
98
|
-
placeholderType?: 'person' | 'link' | 'generic';
|
|
101
|
+
placeholderType?: 'person' | 'link' | 'generic' | 'highlight-action';
|
|
99
102
|
}>;
|
|
100
103
|
export type TransitionId = string;
|
|
101
104
|
export type StatusId = string;
|
|
@@ -182,7 +185,8 @@ export type JiraWorkflowWizardAction = {
|
|
|
182
185
|
payload: DeleteStatusRovoPayload;
|
|
183
186
|
};
|
|
184
187
|
export type JiraWorkflowWizardActionsPayload = PayloadCore<'jira-workflow-wizard-actions', {
|
|
185
|
-
operations
|
|
188
|
+
operations?: JiraWorkflowWizardAction[];
|
|
189
|
+
currentWorkflowDocument?: Record<string, unknown>;
|
|
186
190
|
}>;
|
|
187
191
|
type ChildIssues = {
|
|
188
192
|
summary: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-triggers",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.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": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@af/integration-testing": "workspace:^",
|
|
44
44
|
"@af/visual-regression": "workspace:^",
|
|
45
45
|
"@atlaskit/css": "^0.10.0",
|
|
46
|
-
"@atlaskit/primitives": "^14.
|
|
46
|
+
"@atlaskit/primitives": "^14.8.0",
|
|
47
47
|
"@atlaskit/ssr": "workspace:^",
|
|
48
48
|
"@atlaskit/visual-regression": "workspace:^",
|
|
49
49
|
"@atlassian/feature-flags-test-utils": "^0.3.0",
|