Skip to content

Commit 14041d1

Browse files
committed
v1.36.0
1 parent 3bbee29 commit 14041d1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/models/screen-annotation.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export const transformScreenAnnotationToJSON = function (value: ScreenAnnotation
3636
type: transformScreenAnnotationNoteTypeToJSON(value.type),
3737
position: transformScreenAnnotationPositionToJSON(value.position),
3838
creator: transformUserToJSON(value.creator),
39+
updated_by: value.updatedBy && transformUserToJSON(value.updatedBy),
3940
updated: value.updated,
4041
created: value.created
4142
}
@@ -48,6 +49,7 @@ export const transformJSONToScreenAnnotation = function (value: any): ScreenAnno
4849
type: transformJSONToScreenAnnotationNoteType(value.type),
4950
position: transformJSONToScreenAnnotationPosition(value.position),
5051
creator: transformJSONToUser(value.creator),
52+
updatedBy: value.updated_by && transformJSONToUser(value.updated_by),
5153
updated: value.updated,
5254
created: value.created
5355
}
@@ -89,6 +91,12 @@ export interface ScreenAnnotation {
8991
* @memberof ScreenAnnotation
9092
*/
9193
creator: User;
94+
/**
95+
*
96+
* @type {User}
97+
* @memberof ScreenAnnotation
98+
*/
99+
updatedBy?: User;
92100
/**
93101
* The unix timestamp when the annotation was last updated
94102
* @type {number}

0 commit comments

Comments
 (0)