mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-24 14:31:41 +00:00
[ACS-5991] ESLint fixes and code quality improvements (#8893)
* prefer-optional-chain: core * prefer-optional-chain: content, fix typings * prefer-optional-chain: process, fix typings * prefer-optional-chain: process-cloud, fix typings, fix ts configs and eslint * [ci: force] sonar errors fixes, insights lib * [ci:force] fix security issues * [ci:force] fix metadata e2e bug, js assignment bugs * [ci:force] fix lint issue * [ci:force] fix tests
This commit is contained in:
@@ -30,15 +30,15 @@ export class ProcessDefinitionCloud {
|
||||
variableDefinitions?: ProcessVariableDefinition[];
|
||||
|
||||
constructor(obj?: any) {
|
||||
this.id = obj && obj.id || null;
|
||||
this.name = obj && obj.name || null;
|
||||
this.appName = obj && obj.appName || null;
|
||||
this.key = obj && obj.key || null;
|
||||
this.formKey = obj && obj.formKey || null;
|
||||
this.version = obj && obj.version || 0;
|
||||
this.appVersion = obj && obj.appVersion || 0;
|
||||
this.category = obj && obj?.category || '';
|
||||
this.description = obj && obj?.description || '';
|
||||
this.id = obj?.id;
|
||||
this.name = obj?.name;
|
||||
this.appName = obj?.appName;
|
||||
this.key = obj?.key;
|
||||
this.formKey = obj?.formKey;
|
||||
this.version = obj?.version || 0;
|
||||
this.appVersion = obj?.appVersion || 0;
|
||||
this.category = obj?.category || '';
|
||||
this.description = obj?.description || '';
|
||||
this.variableDefinitions = obj?.variableDefinitions ?? [];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user