File tree Expand file tree Collapse file tree 2 files changed +20
-4
lines changed
Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -18,15 +18,17 @@ export const transformProjectUpdateBodyToJSON = function (value: ProjectUpdateBo
1818 return {
1919 name : value . name ,
2020 description : value . description ,
21- workflow_status_id : value . workflowStatusId
21+ workflow_status_id : value . workflowStatusId ,
22+ linked_styleguide_id : value . linkedStyleguideId
2223 }
2324}
2425
2526export const transformJSONToProjectUpdateBody = function ( value : any ) : ProjectUpdateBody {
2627 return {
2728 name : value . name ,
2829 description : value . description ,
29- workflowStatusId : value . workflow_status_id
30+ workflowStatusId : value . workflow_status_id ,
31+ linkedStyleguideId : value . linked_styleguide_id
3032 }
3133}
3234
@@ -54,6 +56,12 @@ export interface ProjectUpdateBody {
5456 * @memberof ProjectUpdateBody
5557 */
5658 workflowStatusId ?: string ;
59+ /**
60+ * The unique id of the styleguide to be linked. Set null to unlink the linked styleguide.
61+ * @type {string }
62+ * @memberof ProjectUpdateBody
63+ */
64+ linkedStyleguideId ?: string | null ;
5765}
5866
5967
Original file line number Diff line number Diff line change 1717export const transformStyleguideUpdateBodyToJSON = function ( value : StyleguideUpdateBody ) : any {
1818 return {
1919 name : value . name ,
20- description : value . description
20+ description : value . description ,
21+ linked_parent_styleguide_id : value . linkedParentStyleguideId
2122 }
2223}
2324
2425export const transformJSONToStyleguideUpdateBody = function ( value : any ) : StyleguideUpdateBody {
2526 return {
2627 name : value . name ,
27- description : value . description
28+ description : value . description ,
29+ linkedParentStyleguideId : value . linked_parent_styleguide_id
2830 }
2931}
3032
@@ -46,6 +48,12 @@ export interface StyleguideUpdateBody {
4648 * @memberof StyleguideUpdateBody
4749 */
4850 description ?: string ;
51+ /**
52+ * The unique id of the styleguide to be linked as parent. Set null to unlink the linked parent styleguide.
53+ * @type {string }
54+ * @memberof StyleguideUpdateBody
55+ */
56+ linkedParentStyleguideId ?: string | null ;
4957}
5058
5159
You can’t perform that action at this time.
0 commit comments