Skip to content

Commit 5b01f82

Browse files
committed
v1.32.0
1 parent 36ea454 commit 5b01f82

File tree

4 files changed

+32
-0
lines changed

4 files changed

+32
-0
lines changed

src/models/component-version-summary.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export const transformComponentVersionSummaryToJSON = function (value: Component
5252
image_url: value.imageUrl,
5353
thumbnails: value.thumbnails && transformThumbnailsToJSON(value.thumbnails),
5454
source: transformSourceEnumToJSON(value.source),
55+
source_file_url: value.sourceFileUrl,
5556
width: value.width,
5657
height: value.height,
5758
background_color: value.backgroundColor && transformColorDataToJSON(value.backgroundColor),
@@ -69,6 +70,7 @@ export const transformJSONToComponentVersionSummary = function (value: any): Com
6970
imageUrl: value.image_url,
7071
thumbnails: value.thumbnails && transformJSONToThumbnails(value.thumbnails),
7172
source: transformJSONToSourceEnum(value.source),
73+
sourceFileUrl: value.source_file_url,
7274
width: value.width,
7375
height: value.height,
7476
backgroundColor: value.background_color && transformJSONToColorData(value.background_color),
@@ -120,6 +122,12 @@ export interface ComponentVersionSummary {
120122
* @memberof ComponentVersionSummary
121123
*/
122124
source: SourceEnum;
125+
/**
126+
* Source file url of the version
127+
* @type {string}
128+
* @memberof ComponentVersionSummary
129+
*/
130+
sourceFileUrl?: string;
123131
/**
124132
* Width of the version
125133
* @type {number}

src/models/component-version.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ export const transformComponentVersionToJSON = function (value: ComponentVersion
6161
image_url: value.imageUrl,
6262
thumbnails: value.thumbnails && transformThumbnailsToJSON(value.thumbnails),
6363
source: transformSourceEnumToJSON(value.source),
64+
source_file_url: value.sourceFileUrl,
6465
width: value.width,
6566
height: value.height,
6667
background_color: value.backgroundColor && transformColorDataToJSON(value.backgroundColor),
@@ -80,6 +81,7 @@ export const transformJSONToComponentVersion = function (value: any): ComponentV
8081
imageUrl: value.image_url,
8182
thumbnails: value.thumbnails && transformJSONToThumbnails(value.thumbnails),
8283
source: transformJSONToSourceEnum(value.source),
84+
sourceFileUrl: value.source_file_url,
8385
width: value.width,
8486
height: value.height,
8587
backgroundColor: value.background_color && transformJSONToColorData(value.background_color),
@@ -128,6 +130,12 @@ export interface ComponentVersion {
128130
* @memberof ComponentVersion
129131
*/
130132
source: SourceEnum;
133+
/**
134+
* Source file url of the version
135+
* @type {string}
136+
* @memberof ComponentVersion
137+
*/
138+
sourceFileUrl?: string;
131139
/**
132140
* Width of the version
133141
* @type {number}

src/models/screen-version-summary.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export const transformScreenVersionSummaryToJSON = function (value: ScreenVersio
5252
image_url: value.imageUrl,
5353
thumbnails: transformThumbnailsToJSON(value.thumbnails),
5454
source: transformSourceEnumToJSON(value.source),
55+
source_file_url: value.sourceFileUrl,
5556
width: value.width,
5657
height: value.height,
5758
background_color: value.backgroundColor && transformColorDataToJSON(value.backgroundColor),
@@ -69,6 +70,7 @@ export const transformJSONToScreenVersionSummary = function (value: any): Screen
6970
imageUrl: value.image_url,
7071
thumbnails: transformJSONToThumbnails(value.thumbnails),
7172
source: transformJSONToSourceEnum(value.source),
73+
sourceFileUrl: value.source_file_url,
7274
width: value.width,
7375
height: value.height,
7476
backgroundColor: value.background_color && transformJSONToColorData(value.background_color),
@@ -120,6 +122,12 @@ export interface ScreenVersionSummary {
120122
* @memberof ScreenVersionSummary
121123
*/
122124
source: SourceEnum;
125+
/**
126+
* Source file url of the version
127+
* @type {string}
128+
* @memberof ScreenVersionSummary
129+
*/
130+
sourceFileUrl?: string;
123131
/**
124132
* Width of the version
125133
* @type {number}

src/models/screen-version.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ export const transformScreenVersionToJSON = function (value: ScreenVersion): any
6767
image_url: value.imageUrl,
6868
thumbnails: value.thumbnails && transformThumbnailsToJSON(value.thumbnails),
6969
source: transformSourceEnumToJSON(value.source),
70+
source_file_url: value.sourceFileUrl,
7071
width: value.width,
7172
height: value.height,
7273
background_color: value.backgroundColor && transformColorDataToJSON(value.backgroundColor),
@@ -87,6 +88,7 @@ export const transformJSONToScreenVersion = function (value: any): ScreenVersion
8788
imageUrl: value.image_url,
8889
thumbnails: value.thumbnails && transformJSONToThumbnails(value.thumbnails),
8990
source: transformJSONToSourceEnum(value.source),
91+
sourceFileUrl: value.source_file_url,
9092
width: value.width,
9193
height: value.height,
9294
backgroundColor: value.background_color && transformJSONToColorData(value.background_color),
@@ -141,6 +143,12 @@ export interface ScreenVersion {
141143
* @memberof ScreenVersion
142144
*/
143145
source: SourceEnum;
146+
/**
147+
* Source file url of the version
148+
* @type {string}
149+
* @memberof ScreenVersion
150+
*/
151+
sourceFileUrl?: string;
144152
/**
145153
* Width of the version
146154
* @type {number}

0 commit comments

Comments
 (0)