@atlaskit/rovo-triggers 3.9.0 → 3.11.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 +2 -13
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/dist/types-ts4.5/types.d.ts +2 -13
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/rovo-triggers
|
|
2
2
|
|
|
3
|
+
## 3.11.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`50df18bcd01bb`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/50df18bcd01bb) -
|
|
8
|
+
add ability to set productKey when sending message via pubsub
|
|
9
|
+
- [`687c1b8fa7801`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/687c1b8fa7801) -
|
|
10
|
+
EDITOR-1566 bump adf-schema + update validator
|
|
11
|
+
|
|
12
|
+
## 3.10.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- [`93ca2cbba6084`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/93ca2cbba6084) -
|
|
17
|
+
Clean up the integrate_aiwb_to_rovo_chat feature flag
|
|
18
|
+
|
|
3
19
|
## 3.9.0
|
|
4
20
|
|
|
5
21
|
### 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, WorkflowContextPayloadData, EditorContextPayloadData, WhiteboardContextPayloadData, BrowserContextPayloadData, AddStatusRovoPayload, UpdateStatusRovoPayload, DeleteStatusRovoPayload, AddNewTransitionRovoPayload, UpdateTransitionRovoPayload, DeleteTransitionRovoPayload, AddRuleRovoPayload, UpdateRuleRovoPayload, DeleteRuleRovoPayload, JiraWorkflowWizardAction,
|
|
2
|
+
export type { Payload, Callback, Topic, WorkflowContextPayloadData, EditorContextPayloadData, WhiteboardContextPayloadData, BrowserContextPayloadData, AddStatusRovoPayload, UpdateStatusRovoPayload, DeleteStatusRovoPayload, AddNewTransitionRovoPayload, UpdateTransitionRovoPayload, DeleteTransitionRovoPayload, AddRuleRovoPayload, UpdateRuleRovoPayload, DeleteRuleRovoPayload, JiraWorkflowWizardAction, DashboardInsightsActionsPayload, DashboardInsightsActionsPayloadData, ChatCallToActionClickedPayload, ValidChatCallToActionUseCases, ValidSourceIdsForChatCallToAction, } 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
|
@@ -15,6 +15,7 @@ export type PayloadCore<TKey extends string, TData = void> = {
|
|
|
15
15
|
});
|
|
16
16
|
export type MessageSendPayload = PayloadCore<'message-send', {
|
|
17
17
|
prompt: string;
|
|
18
|
+
productKey?: string;
|
|
18
19
|
}>;
|
|
19
20
|
export type ChatClosePayload = PayloadCore<'chat-close', {}>;
|
|
20
21
|
type TargetAgentParam = {
|
|
@@ -236,20 +237,8 @@ export type DashboardInsightsActionsPayload = PayloadCore<'dashboard-insights-ac
|
|
|
236
237
|
export type DashboardInsightsActionsPayloadData = {
|
|
237
238
|
content: string;
|
|
238
239
|
} | undefined;
|
|
239
|
-
type ChildIssues = {
|
|
240
|
-
summary: string;
|
|
241
|
-
description: string;
|
|
242
|
-
issueType: string;
|
|
243
|
-
};
|
|
244
|
-
export type JiraIssueWorkBreakdownAction = {
|
|
245
|
-
operationType: 'UPDATE';
|
|
246
|
-
childIssues: ChildIssues[];
|
|
247
|
-
};
|
|
248
|
-
export type JiraIssueWorkBreakdownActionPayload = PayloadCore<'jira-issue-work-breakdown-actions', {
|
|
249
|
-
operations: JiraIssueWorkBreakdownAction;
|
|
250
|
-
}>;
|
|
251
240
|
export type SetChatContextPayload = PayloadCore<'set-message-context', ChatContextPayload>;
|
|
252
|
-
export type Payload = MessageSendPayload | ChatClosePayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload |
|
|
241
|
+
export type Payload = MessageSendPayload | ChatClosePayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | ChatCallToActionClickedPayload | ChatCallToActionLoomScriptDisplayed;
|
|
253
242
|
export type Callback = (payload: Payload) => void;
|
|
254
243
|
export type TopicEvents = {
|
|
255
244
|
[key in Topic]?: Array<{
|
|
@@ -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,
|
|
2
|
+
export type { Payload, Callback, Topic, WorkflowContextPayloadData, EditorContextPayloadData, WhiteboardContextPayloadData, BrowserContextPayloadData, AddStatusRovoPayload, UpdateStatusRovoPayload, DeleteStatusRovoPayload, AddNewTransitionRovoPayload, UpdateTransitionRovoPayload, DeleteTransitionRovoPayload, AddRuleRovoPayload, UpdateRuleRovoPayload, DeleteRuleRovoPayload, JiraWorkflowWizardAction, DashboardInsightsActionsPayload, DashboardInsightsActionsPayloadData, ChatCallToActionClickedPayload, ValidChatCallToActionUseCases, ValidSourceIdsForChatCallToAction, } 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';
|
|
@@ -15,6 +15,7 @@ export type PayloadCore<TKey extends string, TData = void> = {
|
|
|
15
15
|
});
|
|
16
16
|
export type MessageSendPayload = PayloadCore<'message-send', {
|
|
17
17
|
prompt: string;
|
|
18
|
+
productKey?: string;
|
|
18
19
|
}>;
|
|
19
20
|
export type ChatClosePayload = PayloadCore<'chat-close', {}>;
|
|
20
21
|
type TargetAgentParam = {
|
|
@@ -236,20 +237,8 @@ export type DashboardInsightsActionsPayload = PayloadCore<'dashboard-insights-ac
|
|
|
236
237
|
export type DashboardInsightsActionsPayloadData = {
|
|
237
238
|
content: string;
|
|
238
239
|
} | undefined;
|
|
239
|
-
type ChildIssues = {
|
|
240
|
-
summary: string;
|
|
241
|
-
description: string;
|
|
242
|
-
issueType: string;
|
|
243
|
-
};
|
|
244
|
-
export type JiraIssueWorkBreakdownAction = {
|
|
245
|
-
operationType: 'UPDATE';
|
|
246
|
-
childIssues: ChildIssues[];
|
|
247
|
-
};
|
|
248
|
-
export type JiraIssueWorkBreakdownActionPayload = PayloadCore<'jira-issue-work-breakdown-actions', {
|
|
249
|
-
operations: JiraIssueWorkBreakdownAction;
|
|
250
|
-
}>;
|
|
251
240
|
export type SetChatContextPayload = PayloadCore<'set-message-context', ChatContextPayload>;
|
|
252
|
-
export type Payload = MessageSendPayload | ChatClosePayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload |
|
|
241
|
+
export type Payload = MessageSendPayload | ChatClosePayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | ChatCallToActionClickedPayload | ChatCallToActionLoomScriptDisplayed;
|
|
253
242
|
export type Callback = (payload: Payload) => void;
|
|
254
243
|
export type TopicEvents = {
|
|
255
244
|
[key in Topic]?: Array<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-triggers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.11.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": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
],
|
|
30
30
|
"atlaskit:src": "src/index.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@atlaskit/adf-schema": "^51.
|
|
32
|
+
"@atlaskit/adf-schema": "^51.2.0",
|
|
33
33
|
"@babel/runtime": "^7.0.0",
|
|
34
34
|
"bind-event-listener": "^3.0.0"
|
|
35
35
|
},
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@af/integration-testing": "workspace:^",
|
|
41
41
|
"@af/visual-regression": "workspace:^",
|
|
42
42
|
"@atlaskit/css": "^0.14.0",
|
|
43
|
-
"@atlaskit/primitives": "^14.
|
|
43
|
+
"@atlaskit/primitives": "^14.15.0",
|
|
44
44
|
"@atlaskit/ssr": "workspace:^",
|
|
45
45
|
"@atlassian/feature-flags-test-utils": "^0.3.0",
|
|
46
46
|
"@testing-library/react": "^13.4.0",
|