@atlaskit/rovo-triggers 4.2.0 → 4.3.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 +14 -0
- package/dist/cjs/common/types/solution-architect/index.js +5 -0
- package/dist/es2019/common/types/solution-architect/index.js +1 -0
- package/dist/esm/common/types/solution-architect/index.js +1 -0
- package/dist/types/common/types/solution-architect/index.d.ts +20 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/types.d.ts +2 -1
- package/dist/types-ts4.5/common/types/solution-architect/index.d.ts +20 -0
- package/dist/types-ts4.5/index.d.ts +1 -0
- package/dist/types-ts4.5/types.d.ts +2 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/rovo-triggers
|
|
2
2
|
|
|
3
|
+
## 4.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`f5cfc5eacefad`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f5cfc5eacefad) -
|
|
8
|
+
[ux] App + agent handoff flow from solution architect
|
|
9
|
+
|
|
10
|
+
## 4.2.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`a05464ea42678`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a05464ea42678) -
|
|
15
|
+
EDITOR-2791 bump adf-schema
|
|
16
|
+
|
|
3
17
|
## 4.2.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { PayloadCore } from '../../../types';
|
|
2
|
+
type BaseHandoffPayload = {
|
|
3
|
+
conversationId: string;
|
|
4
|
+
};
|
|
5
|
+
export type NonAppHandoffPayload = BaseHandoffPayload & {
|
|
6
|
+
type: 'ROVO_AGENT' | 'AUTOMATION_RULE';
|
|
7
|
+
ari?: never;
|
|
8
|
+
buildId: string;
|
|
9
|
+
appBuilderAutoStart?: never;
|
|
10
|
+
};
|
|
11
|
+
export type AppHandoffPayload = BaseHandoffPayload & {
|
|
12
|
+
type: 'ECOSYSTEM_APP';
|
|
13
|
+
ari: string;
|
|
14
|
+
buildId?: never;
|
|
15
|
+
appBuilderAutoStart: boolean;
|
|
16
|
+
};
|
|
17
|
+
export type SolutionArchitectHandoffPayload = PayloadCore<'solution-architect-handoff'> & {
|
|
18
|
+
data: NonAppHandoffPayload | AppHandoffPayload;
|
|
19
|
+
};
|
|
20
|
+
export {};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { usePublish, useSubscribe, useSubscribeAll, Subscriber } from './main';
|
|
2
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
|
+
export type { SolutionArchitectHandoffPayload } from './common/types/solution-architect';
|
|
3
4
|
export { getRovoParams, updatePageRovoParams, addRovoParamsToUrl, assertOnlySpecificFieldsDefined, encodeRovoParams, getListOfRovoParams, } from './common/utils/params';
|
|
4
5
|
export type { RovoChatParams, RovoChatPathway } from './common/utils/params/types';
|
|
5
6
|
export { useRovoPostMessageToPubsub, RovoPostMessagePubsubListener, } from './common/utils/post-message-to-pubsub';
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { DocNode } from '@atlaskit/adf-schema';
|
|
2
|
+
import type { SolutionArchitectHandoffPayload } from './common/types/solution-architect';
|
|
2
3
|
import type { ChatContextPayload } from './common/utils/chat-context';
|
|
3
4
|
export declare const Topics: {
|
|
4
5
|
readonly AI_MATE: "ai-mate";
|
|
@@ -253,7 +254,7 @@ export type DashboardInsightsActionsPayloadData = {
|
|
|
253
254
|
content: string;
|
|
254
255
|
} | undefined;
|
|
255
256
|
export type SetChatContextPayload = PayloadCore<'set-message-context', ChatContextPayload>;
|
|
256
|
-
export type Payload = MessageSendPayload | ChatClosePayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | GenericExternalActionErrorPayload;
|
|
257
|
+
export type Payload = MessageSendPayload | ChatClosePayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | GenericExternalActionErrorPayload | SolutionArchitectHandoffPayload;
|
|
257
258
|
export type Callback = (payload: Payload) => void;
|
|
258
259
|
export type TopicEvents = {
|
|
259
260
|
[key in Topic]?: Array<{
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { PayloadCore } from '../../../types';
|
|
2
|
+
type BaseHandoffPayload = {
|
|
3
|
+
conversationId: string;
|
|
4
|
+
};
|
|
5
|
+
export type NonAppHandoffPayload = BaseHandoffPayload & {
|
|
6
|
+
type: 'ROVO_AGENT' | 'AUTOMATION_RULE';
|
|
7
|
+
ari?: never;
|
|
8
|
+
buildId: string;
|
|
9
|
+
appBuilderAutoStart?: never;
|
|
10
|
+
};
|
|
11
|
+
export type AppHandoffPayload = BaseHandoffPayload & {
|
|
12
|
+
type: 'ECOSYSTEM_APP';
|
|
13
|
+
ari: string;
|
|
14
|
+
buildId?: never;
|
|
15
|
+
appBuilderAutoStart: boolean;
|
|
16
|
+
};
|
|
17
|
+
export type SolutionArchitectHandoffPayload = PayloadCore<'solution-architect-handoff'> & {
|
|
18
|
+
data: NonAppHandoffPayload | AppHandoffPayload;
|
|
19
|
+
};
|
|
20
|
+
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { usePublish, useSubscribe, useSubscribeAll, Subscriber } from './main';
|
|
2
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
|
+
export type { SolutionArchitectHandoffPayload } from './common/types/solution-architect';
|
|
3
4
|
export { getRovoParams, updatePageRovoParams, addRovoParamsToUrl, assertOnlySpecificFieldsDefined, encodeRovoParams, getListOfRovoParams, } from './common/utils/params';
|
|
4
5
|
export type { RovoChatParams, RovoChatPathway } from './common/utils/params/types';
|
|
5
6
|
export { useRovoPostMessageToPubsub, RovoPostMessagePubsubListener, } from './common/utils/post-message-to-pubsub';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { DocNode } from '@atlaskit/adf-schema';
|
|
2
|
+
import type { SolutionArchitectHandoffPayload } from './common/types/solution-architect';
|
|
2
3
|
import type { ChatContextPayload } from './common/utils/chat-context';
|
|
3
4
|
export declare const Topics: {
|
|
4
5
|
readonly AI_MATE: "ai-mate";
|
|
@@ -253,7 +254,7 @@ export type DashboardInsightsActionsPayloadData = {
|
|
|
253
254
|
content: string;
|
|
254
255
|
} | undefined;
|
|
255
256
|
export type SetChatContextPayload = PayloadCore<'set-message-context', ChatContextPayload>;
|
|
256
|
-
export type Payload = MessageSendPayload | ChatClosePayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | GenericExternalActionErrorPayload;
|
|
257
|
+
export type Payload = MessageSendPayload | ChatClosePayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | GenericExternalActionErrorPayload | SolutionArchitectHandoffPayload;
|
|
257
258
|
export type Callback = (payload: Payload) => void;
|
|
258
259
|
export type TopicEvents = {
|
|
259
260
|
[key in Topic]?: Array<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-triggers",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.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.4.0",
|
|
33
33
|
"@babel/runtime": "^7.0.0",
|
|
34
34
|
"bind-event-listener": "^3.0.0"
|
|
35
35
|
},
|