@atlaskit/rovo-triggers 4.0.1 → 4.2.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/es2019/index.js +2 -0
- package/dist/esm/index.js +2 -0
- package/dist/types/types.d.ts +8 -1
- package/dist/types-ts4.5/types.d.ts +8 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/rovo-triggers
|
|
2
2
|
|
|
3
|
+
## 4.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`118d4ca79d39c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/118d4ca79d39c) -
|
|
8
|
+
EDITOR-2894 - Support Jira additionalContext
|
|
9
|
+
|
|
10
|
+
## 4.1.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- [`8bb807d8c76e6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8bb807d8c76e6) -
|
|
15
|
+
Adding \*.ts files for no barrel files detection for ai-mate packages
|
|
16
|
+
|
|
3
17
|
## 4.0.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/es2019/index.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// See [Barrel File Removal FAQ](https://hello.atlassian.net/wiki/x/KJT2aAE)
|
|
2
|
+
/* eslint-disable no-barrel-files/no-barrel-files */
|
|
1
3
|
export { usePublish, useSubscribe, useSubscribeAll, Subscriber } from './main';
|
|
2
4
|
export { getRovoParams, updatePageRovoParams, addRovoParamsToUrl, assertOnlySpecificFieldsDefined, encodeRovoParams, getListOfRovoParams } from './common/utils/params';
|
|
3
5
|
export { useRovoPostMessageToPubsub, RovoPostMessagePubsubListener } from './common/utils/post-message-to-pubsub';
|
package/dist/esm/index.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// See [Barrel File Removal FAQ](https://hello.atlassian.net/wiki/x/KJT2aAE)
|
|
2
|
+
/* eslint-disable no-barrel-files/no-barrel-files */
|
|
1
3
|
export { usePublish, useSubscribe, useSubscribeAll, Subscriber } from './main';
|
|
2
4
|
export { getRovoParams, updatePageRovoParams, addRovoParamsToUrl, assertOnlySpecificFieldsDefined, encodeRovoParams, getListOfRovoParams } from './common/utils/params';
|
|
3
5
|
export { useRovoPostMessageToPubsub, RovoPostMessagePubsubListener } from './common/utils/post-message-to-pubsub';
|
package/dist/types/types.d.ts
CHANGED
|
@@ -56,6 +56,7 @@ export type EditorContextPayloadData = {
|
|
|
56
56
|
selectionLocalIds?: string;
|
|
57
57
|
isViewMode?: boolean;
|
|
58
58
|
useGenericEditorSkill?: boolean;
|
|
59
|
+
additionalContext?: Record<string, unknown>;
|
|
59
60
|
} | undefined;
|
|
60
61
|
export type WhiteboardContextPayloadData = {
|
|
61
62
|
type: 'image/svg+xml' | 'text/plain';
|
|
@@ -235,9 +236,15 @@ export type JiraWorkflowWizardActionsPayload = PayloadCore<'jira-workflow-wizard
|
|
|
235
236
|
operations?: JiraWorkflowWizardAction[];
|
|
236
237
|
currentWorkflowDocument?: Record<string, unknown>;
|
|
237
238
|
}>;
|
|
239
|
+
type MessageDescriptorWithValues = {
|
|
240
|
+
id?: string;
|
|
241
|
+
description?: string | object;
|
|
242
|
+
defaultMessage?: string;
|
|
243
|
+
messageValues?: Record<string, string | number | boolean | null | undefined | Date>;
|
|
244
|
+
};
|
|
238
245
|
export type GenericExternalActionErrorPayload = PayloadCore<'generic-external-action-error', {
|
|
239
246
|
invocationId: string;
|
|
240
|
-
errors: string[];
|
|
247
|
+
errors: (string | MessageDescriptorWithValues)[];
|
|
241
248
|
}>;
|
|
242
249
|
export type DashboardInsightsActionsPayload = PayloadCore<'dashboard-insights-actions'> & {
|
|
243
250
|
data?: DashboardInsightsActionsPayloadData;
|
|
@@ -56,6 +56,7 @@ export type EditorContextPayloadData = {
|
|
|
56
56
|
selectionLocalIds?: string;
|
|
57
57
|
isViewMode?: boolean;
|
|
58
58
|
useGenericEditorSkill?: boolean;
|
|
59
|
+
additionalContext?: Record<string, unknown>;
|
|
59
60
|
} | undefined;
|
|
60
61
|
export type WhiteboardContextPayloadData = {
|
|
61
62
|
type: 'image/svg+xml' | 'text/plain';
|
|
@@ -235,9 +236,15 @@ export type JiraWorkflowWizardActionsPayload = PayloadCore<'jira-workflow-wizard
|
|
|
235
236
|
operations?: JiraWorkflowWizardAction[];
|
|
236
237
|
currentWorkflowDocument?: Record<string, unknown>;
|
|
237
238
|
}>;
|
|
239
|
+
type MessageDescriptorWithValues = {
|
|
240
|
+
id?: string;
|
|
241
|
+
description?: string | object;
|
|
242
|
+
defaultMessage?: string;
|
|
243
|
+
messageValues?: Record<string, string | number | boolean | null | undefined | Date>;
|
|
244
|
+
};
|
|
238
245
|
export type GenericExternalActionErrorPayload = PayloadCore<'generic-external-action-error', {
|
|
239
246
|
invocationId: string;
|
|
240
|
-
errors: string[];
|
|
247
|
+
errors: (string | MessageDescriptorWithValues)[];
|
|
241
248
|
}>;
|
|
242
249
|
export type DashboardInsightsActionsPayload = PayloadCore<'dashboard-insights-actions'> & {
|
|
243
250
|
data?: DashboardInsightsActionsPayloadData;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-triggers",
|
|
3
|
-
"version": "4.0
|
|
3
|
+
"version": "4.2.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": {
|