Skip to content

Commit 250b5f9

Browse files
committed
Add collaborativeChange activity message
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
1 parent 08b2255 commit 250b5f9

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

packages/types/src/message.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,15 @@ export type ActivityUpdate =
7373
| ActivityTypeUpdate
7474
| ActivityCollaboratorsUpdate
7575
| ActivityProcess
76+
| ActivityCollaborativeChange
7677

7778
export enum ActivityUpdateType {
7879
Attribute = 'attribute',
7980
Tag = 'tag',
8081
Collaborators = 'collaborators',
8182
Type = 'type',
82-
Process = 'process'
83+
Process = 'process',
84+
CollaborativeChange = 'collaborativeChange'
8385
}
8486

8587
export interface ActivityProcess {
@@ -106,6 +108,13 @@ export interface ActivityTypeUpdate {
106108
newType: CardType
107109
}
108110

111+
export interface ActivityCollaborativeChange {
112+
type: ActivityUpdateType.CollaborativeChange
113+
attrKey: string
114+
value: string
115+
prevValue: string
116+
}
117+
109118
type AttributeValue = string | number | null
110119

111120
export interface ActivityAttributeUpdate {

0 commit comments

Comments
 (0)