@atlaskit/rovo-triggers 3.14.1 → 3.15.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/types/types.d.ts +14 -0
- package/dist/types-ts4.5/types.d.ts +14 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/rovo-triggers
|
|
2
2
|
|
|
3
|
+
## 3.15.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`534bece8a4fe1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/534bece8a4fe1) -
|
|
8
|
+
Adds the ability to add uploaded files to the chat-new pubsub listener event
|
|
9
|
+
|
|
3
10
|
## 3.14.1
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/dist/types/types.d.ts
CHANGED
|
@@ -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.
|
|
3
|
+
"version": "3.15.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": {
|