mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Added optional on variable models to avoid breaking changes (#6328)
Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
export class TaskProcessVariableModel {
|
export class TaskProcessVariableModel {
|
||||||
id: string;
|
id?: string;
|
||||||
type: string;
|
type?: string;
|
||||||
value: string;
|
value: string;
|
||||||
}
|
}
|
||||||
|
@@ -18,8 +18,8 @@
|
|||||||
export class TaskVariableCloud {
|
export class TaskVariableCloud {
|
||||||
name: string;
|
name: string;
|
||||||
value: any;
|
value: any;
|
||||||
type: string;
|
type?: string;
|
||||||
id: string;
|
id?: string;
|
||||||
constructor(obj) {
|
constructor(obj) {
|
||||||
this.id = obj.name || null;
|
this.id = obj.name || null;
|
||||||
this.name = obj.name || null;
|
this.name = obj.name || null;
|
||||||
|
Reference in New Issue
Block a user