Optimize tests and upgrade Nx workspace (#5884)

* fix issue with async await, use interface over class

* upgrade nx workspace

* remove useless async

* code fixes
This commit is contained in:
Denys Vuika
2020-07-16 22:34:50 +01:00
committed by GitHub
parent b9dc285d2b
commit b69fdb9370
17 changed files with 396 additions and 400 deletions

View File

@@ -15,32 +15,17 @@
* limitations under the License.
*/
export class ProcessInstanceCloud {
appName: string;
id: string;
name: string;
startDate: Date;
initiator: string;
status: string;
businessKey: string;
lastModified: Date;
parentId: string;
processDefinitionId: string;
processDefinitionKey: string;
processDefinitionName: string;
constructor(obj?: any) {
this.appName = obj && obj.appName || null;
this.id = obj && obj.id || null;
this.name = obj && obj.name || null;
this.startDate = obj && obj.startDate || null;
this.initiator = obj && obj.initiator || null;
this.status = obj && obj.status || null;
this.businessKey = obj && obj.businessKey || null;
this.lastModified = obj && obj.lastModified || null;
this.parentId = obj && obj.parentId || null;
this.processDefinitionId = obj && obj.processDefinitionId || null;
this.processDefinitionKey = obj && obj.processDefinitionKey || null;
this.processDefinitionName = obj && obj.processDefinitionName || null;
}
export interface ProcessInstanceCloud {
appName?: string;
id?: string;
name?: string;
startDate?: Date;
initiator?: string;
status?: string;
businessKey?: string;
lastModified?: Date;
parentId?: string;
processDefinitionId?: string;
processDefinitionKey?: string;
processDefinitionName?: string;
}