@atlaskit/rovo-triggers 4.8.1 → 4.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 +7 -0
- package/dist/cjs/common/types/jsm-journey-builder/index.js +5 -0
- package/dist/es2019/common/types/jsm-journey-builder/index.js +1 -0
- package/dist/esm/common/types/jsm-journey-builder/index.js +1 -0
- package/dist/types/common/types/jsm-journey-builder/index.d.ts +10 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/types.d.ts +2 -1
- package/dist/types-ts4.5/common/types/jsm-journey-builder/index.d.ts +10 -0
- package/dist/types-ts4.5/index.d.ts +1 -0
- package/dist/types-ts4.5/types.d.ts +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/rovo-triggers
|
|
2
2
|
|
|
3
|
+
## 4.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`ba35a55c8437c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ba35a55c8437c) -
|
|
8
|
+
[ux] Added new event type (jsm-journey-builder-actions) in rovo-triggers
|
|
9
|
+
|
|
3
10
|
## 4.8.1
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { PayloadCore } from '../../../types';
|
|
2
|
+
export type JsmJourneyBuilderAgentAction = {
|
|
3
|
+
actionType: 'CREATE_JOURNEY' | 'UPDATE_JOURNEY' | 'DELETE_JOURNEY';
|
|
4
|
+
journeyId: string;
|
|
5
|
+
success: boolean;
|
|
6
|
+
};
|
|
7
|
+
export type JsmJourneyBuilderActionsPayload = PayloadCore<'jsm-journey-builder-actions', {
|
|
8
|
+
invocationId?: string;
|
|
9
|
+
agentActions: JsmJourneyBuilderAgentAction[];
|
|
10
|
+
}>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
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
3
|
export type { SolutionArchitectHandoffPayload, NonAppHandoffPayload, AppHandoffPayload, SolutionArchitectAgentActivationPayload, } from './common/types/solution-architect';
|
|
4
|
+
export type { JsmJourneyBuilderActionsPayload, JsmJourneyBuilderAgentAction, } from './common/types/jsm-journey-builder';
|
|
4
5
|
export { getRovoParams, updatePageRovoParams, addRovoParamsToUrl, assertOnlySpecificFieldsDefined, encodeRovoParams, getListOfRovoParams, } from './common/utils/params';
|
|
5
6
|
export type { RovoChatParams, RovoChatPathway } from './common/utils/params/types';
|
|
6
7
|
export { useRovoPostMessageToPubsub, RovoPostMessagePubsubListener, } from './common/utils/post-message-to-pubsub';
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { DocNode } from '@atlaskit/adf-schema';
|
|
2
2
|
import type { SolutionDraftAgentUpdatePayload } from './common/types/agent';
|
|
3
|
+
import type { JsmJourneyBuilderActionsPayload } from './common/types/jsm-journey-builder';
|
|
3
4
|
import type { SolutionArchitectAgentActivationPayload, SolutionArchitectHandoffPayload, SolutionPlanStateUpdatePayload } from './common/types/solution-architect';
|
|
4
5
|
import type { ChatContextPayload } from './common/utils/chat-context';
|
|
5
6
|
export declare const Topics: {
|
|
@@ -255,7 +256,7 @@ export type DashboardInsightsActionsPayloadData = {
|
|
|
255
256
|
content: string;
|
|
256
257
|
} | undefined;
|
|
257
258
|
export type SetChatContextPayload = PayloadCore<'set-message-context', ChatContextPayload>;
|
|
258
|
-
export type Payload = MessageSendPayload | ChatClosePayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | GenericExternalActionErrorPayload | SolutionArchitectHandoffPayload | SolutionPlanStateUpdatePayload | SolutionDraftAgentUpdatePayload | SolutionArchitectAgentActivationPayload;
|
|
259
|
+
export type Payload = MessageSendPayload | ChatClosePayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | GenericExternalActionErrorPayload | JsmJourneyBuilderActionsPayload | SolutionArchitectHandoffPayload | SolutionPlanStateUpdatePayload | SolutionDraftAgentUpdatePayload | SolutionArchitectAgentActivationPayload;
|
|
259
260
|
export type Callback = (payload: Payload) => void;
|
|
260
261
|
export type TopicEvents = {
|
|
261
262
|
[key in Topic]?: Array<{
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { PayloadCore } from '../../../types';
|
|
2
|
+
export type JsmJourneyBuilderAgentAction = {
|
|
3
|
+
actionType: 'CREATE_JOURNEY' | 'UPDATE_JOURNEY' | 'DELETE_JOURNEY';
|
|
4
|
+
journeyId: string;
|
|
5
|
+
success: boolean;
|
|
6
|
+
};
|
|
7
|
+
export type JsmJourneyBuilderActionsPayload = PayloadCore<'jsm-journey-builder-actions', {
|
|
8
|
+
invocationId?: string;
|
|
9
|
+
agentActions: JsmJourneyBuilderAgentAction[];
|
|
10
|
+
}>;
|
|
@@ -1,6 +1,7 @@
|
|
|
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
3
|
export type { SolutionArchitectHandoffPayload, NonAppHandoffPayload, AppHandoffPayload, SolutionArchitectAgentActivationPayload, } from './common/types/solution-architect';
|
|
4
|
+
export type { JsmJourneyBuilderActionsPayload, JsmJourneyBuilderAgentAction, } from './common/types/jsm-journey-builder';
|
|
4
5
|
export { getRovoParams, updatePageRovoParams, addRovoParamsToUrl, assertOnlySpecificFieldsDefined, encodeRovoParams, getListOfRovoParams, } from './common/utils/params';
|
|
5
6
|
export type { RovoChatParams, RovoChatPathway } from './common/utils/params/types';
|
|
6
7
|
export { useRovoPostMessageToPubsub, RovoPostMessagePubsubListener, } from './common/utils/post-message-to-pubsub';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { DocNode } from '@atlaskit/adf-schema';
|
|
2
2
|
import type { SolutionDraftAgentUpdatePayload } from './common/types/agent';
|
|
3
|
+
import type { JsmJourneyBuilderActionsPayload } from './common/types/jsm-journey-builder';
|
|
3
4
|
import type { SolutionArchitectAgentActivationPayload, SolutionArchitectHandoffPayload, SolutionPlanStateUpdatePayload } from './common/types/solution-architect';
|
|
4
5
|
import type { ChatContextPayload } from './common/utils/chat-context';
|
|
5
6
|
export declare const Topics: {
|
|
@@ -255,7 +256,7 @@ export type DashboardInsightsActionsPayloadData = {
|
|
|
255
256
|
content: string;
|
|
256
257
|
} | undefined;
|
|
257
258
|
export type SetChatContextPayload = PayloadCore<'set-message-context', ChatContextPayload>;
|
|
258
|
-
export type Payload = MessageSendPayload | ChatClosePayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | GenericExternalActionErrorPayload | SolutionArchitectHandoffPayload | SolutionPlanStateUpdatePayload | SolutionDraftAgentUpdatePayload | SolutionArchitectAgentActivationPayload;
|
|
259
|
+
export type Payload = MessageSendPayload | ChatClosePayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | GenericExternalActionErrorPayload | JsmJourneyBuilderActionsPayload | SolutionArchitectHandoffPayload | SolutionPlanStateUpdatePayload | SolutionDraftAgentUpdatePayload | SolutionArchitectAgentActivationPayload;
|
|
259
260
|
export type Callback = (payload: Payload) => void;
|
|
260
261
|
export type TopicEvents = {
|
|
261
262
|
[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.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": {
|