Skip to content

Commit

Permalink
v1.20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zeplin-dev committed Apr 30, 2024
1 parent db6751b commit 3df9f9d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/models/screen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export const transformScreenToJSON = function (value: Screen): any {
updated: value.updated,
number_of_versions: value.numberOfVersions,
number_of_notes: value.numberOfNotes,
number_of_annotations: value.numberOfAnnotations,
section: value.section && transformEntityReferenceToJSON(value.section),
variant: value.variant && transformScreenVariantToJSON(value.variant)
}
Expand All @@ -56,6 +57,7 @@ export const transformJSONToScreen = function (value: any): Screen {
updated: value.updated,
numberOfVersions: value.number_of_versions,
numberOfNotes: value.number_of_notes,
numberOfAnnotations: value.number_of_annotations,
section: value.section && transformJSONToEntityReference(value.section),
variant: value.variant && transformJSONToScreenVariant(value.variant)
}
Expand Down Expand Up @@ -121,6 +123,12 @@ export interface Screen {
* @memberof Screen
*/
numberOfNotes: number;
/**
* The number of annotations in the screen
* @type {number}
* @memberof Screen
*/
numberOfAnnotations: number;
/**
*
* @type {EntityReference}
Expand Down

0 comments on commit 3df9f9d

Please sign in to comment.