@atlaskit/rovo-triggers 2.7.1 → 2.9.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 +16 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/types.d.ts +16 -1
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/dist/types-ts4.5/types.d.ts +16 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/rovo-triggers
|
|
2
2
|
|
|
3
|
+
## 2.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#133407](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/133407)
|
|
8
|
+
[`9e51ca53f3752`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9e51ca53f3752) -
|
|
9
|
+
Add JiraIssueWorkBreakdownAction type and support JiraIssueWorkBreakdownUIAction
|
|
10
|
+
|
|
11
|
+
## 2.8.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [#132823](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/132823)
|
|
16
|
+
[`baec8548ddfdd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/baec8548ddfdd) -
|
|
17
|
+
Add support for status and rule presentation components in workflow builder rovo agent
|
|
18
|
+
|
|
3
19
|
## 2.7.1
|
|
4
20
|
|
|
5
21
|
### Patch 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, } from './types';
|
|
2
|
+
export type { Payload, Callback, Topic, 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
|
@@ -128,6 +128,8 @@ export type AddRuleRovoPayload = {
|
|
|
128
128
|
ruleTemplateKey: string;
|
|
129
129
|
transitionId: TransitionId;
|
|
130
130
|
ruleConfig: RuleConfig;
|
|
131
|
+
ruleType: string;
|
|
132
|
+
ruleDescription: string;
|
|
131
133
|
};
|
|
132
134
|
export type UpdateRuleRovoPayload = {
|
|
133
135
|
ruleTemplateKey: string;
|
|
@@ -175,7 +177,19 @@ export type JiraWorkflowWizardAction = {
|
|
|
175
177
|
export type JiraWorkflowWizardActionsPayload = PayloadCore<'jira-workflow-wizard-actions', {
|
|
176
178
|
operations: JiraWorkflowWizardAction[];
|
|
177
179
|
}>;
|
|
178
|
-
|
|
180
|
+
type ChildIssues = {
|
|
181
|
+
summary: string;
|
|
182
|
+
description: string;
|
|
183
|
+
issueType: string;
|
|
184
|
+
};
|
|
185
|
+
export type JiraIssueWorkBreakdownAction = {
|
|
186
|
+
operationType: 'UPDATE';
|
|
187
|
+
childIssues: ChildIssues[];
|
|
188
|
+
};
|
|
189
|
+
export type JiraIssueWorkBreakdownActionPayload = PayloadCore<'jira-issue-work-breakdown-actions', {
|
|
190
|
+
operations: JiraIssueWorkBreakdownAction;
|
|
191
|
+
}>;
|
|
192
|
+
export type Payload = MessageSendPayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | JiraIssueWorkBreakdownActionPayload;
|
|
179
193
|
export type Callback = (payload: Payload) => void;
|
|
180
194
|
export type TopicEvents = {
|
|
181
195
|
[key in Topic]?: Array<{
|
|
@@ -186,3 +200,4 @@ export type TopicEvents = {
|
|
|
186
200
|
export type TopicEventQueue = {
|
|
187
201
|
[key in Topic]?: Payload;
|
|
188
202
|
};
|
|
203
|
+
export {};
|
|
@@ -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, } from './types';
|
|
2
|
+
export type { Payload, Callback, Topic, 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';
|
|
@@ -128,6 +128,8 @@ export type AddRuleRovoPayload = {
|
|
|
128
128
|
ruleTemplateKey: string;
|
|
129
129
|
transitionId: TransitionId;
|
|
130
130
|
ruleConfig: RuleConfig;
|
|
131
|
+
ruleType: string;
|
|
132
|
+
ruleDescription: string;
|
|
131
133
|
};
|
|
132
134
|
export type UpdateRuleRovoPayload = {
|
|
133
135
|
ruleTemplateKey: string;
|
|
@@ -175,7 +177,19 @@ export type JiraWorkflowWizardAction = {
|
|
|
175
177
|
export type JiraWorkflowWizardActionsPayload = PayloadCore<'jira-workflow-wizard-actions', {
|
|
176
178
|
operations: JiraWorkflowWizardAction[];
|
|
177
179
|
}>;
|
|
178
|
-
|
|
180
|
+
type ChildIssues = {
|
|
181
|
+
summary: string;
|
|
182
|
+
description: string;
|
|
183
|
+
issueType: string;
|
|
184
|
+
};
|
|
185
|
+
export type JiraIssueWorkBreakdownAction = {
|
|
186
|
+
operationType: 'UPDATE';
|
|
187
|
+
childIssues: ChildIssues[];
|
|
188
|
+
};
|
|
189
|
+
export type JiraIssueWorkBreakdownActionPayload = PayloadCore<'jira-issue-work-breakdown-actions', {
|
|
190
|
+
operations: JiraIssueWorkBreakdownAction;
|
|
191
|
+
}>;
|
|
192
|
+
export type Payload = MessageSendPayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | JiraIssueWorkBreakdownActionPayload;
|
|
179
193
|
export type Callback = (payload: Payload) => void;
|
|
180
194
|
export type TopicEvents = {
|
|
181
195
|
[key in Topic]?: Array<{
|
|
@@ -186,3 +200,4 @@ export type TopicEvents = {
|
|
|
186
200
|
export type TopicEventQueue = {
|
|
187
201
|
[key in Topic]?: Payload;
|
|
188
202
|
};
|
|
203
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-triggers",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.9.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": {
|