@atlaskit/rovo-triggers 3.14.1 → 3.15.1

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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/rovo-triggers
2
2
 
3
+ ## 3.15.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`c28cd65d12c24`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c28cd65d12c24) -
8
+ EDITOR-2447 Bump adf-schema to 51.3.1
9
+
10
+ ## 3.15.0
11
+
12
+ ### Minor Changes
13
+
14
+ - [`534bece8a4fe1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/534bece8a4fe1) -
15
+ Adds the ability to add uploaded files to the chat-new pubsub listener event
16
+
3
17
  ## 3.14.1
4
18
 
5
19
  ### Patch Changes
@@ -38,6 +38,7 @@ export type ChatNewPayload = PayloadCore<'chat-new', {
38
38
  };
39
39
  }>;
40
40
  prompt?: string | DocNode;
41
+ files?: UploadedFile[];
41
42
  contentContext?: 'staging-area' | 'global';
42
43
  sourceId?: string;
43
44
  minionAlias?: string;
@@ -236,4 +237,17 @@ export type TopicEvents = {
236
237
  export type TopicEventQueue = {
237
238
  [key in Topic]?: Payload;
238
239
  };
240
+ export type UploadedFile = {
241
+ id: string;
242
+ conversation_channel_id?: string;
243
+ blob_id?: string;
244
+ name: string;
245
+ size?: number;
246
+ type?: string;
247
+ created_at?: string;
248
+ owner?: string;
249
+ isLoading: boolean;
250
+ error?: string;
251
+ fileObject?: File;
252
+ };
239
253
  export {};
@@ -38,6 +38,7 @@ export type ChatNewPayload = PayloadCore<'chat-new', {
38
38
  };
39
39
  }>;
40
40
  prompt?: string | DocNode;
41
+ files?: UploadedFile[];
41
42
  contentContext?: 'staging-area' | 'global';
42
43
  sourceId?: string;
43
44
  minionAlias?: string;
@@ -236,4 +237,17 @@ export type TopicEvents = {
236
237
  export type TopicEventQueue = {
237
238
  [key in Topic]?: Payload;
238
239
  };
240
+ export type UploadedFile = {
241
+ id: string;
242
+ conversation_channel_id?: string;
243
+ blob_id?: string;
244
+ name: string;
245
+ size?: number;
246
+ type?: string;
247
+ created_at?: string;
248
+ owner?: string;
249
+ isLoading: boolean;
250
+ error?: string;
251
+ fileObject?: File;
252
+ };
239
253
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-triggers",
3
- "version": "3.14.1",
3
+ "version": "3.15.1",
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.3.0",
32
+ "@atlaskit/adf-schema": "^51.3.1",
33
33
  "@babel/runtime": "^7.0.0",
34
34
  "bind-event-listener": "^3.0.0"
35
35
  },