diff options
Diffstat (limited to 'sdc-workflow-designer-ui/src/app/model')
-rw-r--r-- | sdc-workflow-designer-ui/src/app/model/plan-treeview-item.ts | 19 | ||||
-rw-r--r-- | sdc-workflow-designer-ui/src/app/model/workflow/microservice.ts | 2 |
2 files changed, 20 insertions, 1 deletions
diff --git a/sdc-workflow-designer-ui/src/app/model/plan-treeview-item.ts b/sdc-workflow-designer-ui/src/app/model/plan-treeview-item.ts new file mode 100644 index 00000000..a1d98500 --- /dev/null +++ b/sdc-workflow-designer-ui/src/app/model/plan-treeview-item.ts @@ -0,0 +1,19 @@ +/** + * Copyright (c) 2017 ZTE Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * and the Apache License 2.0 which both accompany this distribution, + * and are available at http://www.eclipse.org/legal/epl-v10.html + * and http://www.apache.org/licenses/LICENSE-2.0 + * + * Contributors: + * ZTE - initial API and implementation and/or initial documentation + */ + +export class PlanTreeviewItem { + constructor(public name: string, + public value: string, + public children: PlanTreeviewItem[], + public canSelect?: boolean) { + } +} diff --git a/sdc-workflow-designer-ui/src/app/model/workflow/microservice.ts b/sdc-workflow-designer-ui/src/app/model/workflow/microservice.ts index b4fc1c10..c0cb2586 100644 --- a/sdc-workflow-designer-ui/src/app/model/workflow/microservice.ts +++ b/sdc-workflow-designer-ui/src/app/model/workflow/microservice.ts @@ -17,5 +17,5 @@ import { Swagger } from "../swagger"; * Microservice
*/
export class Microservice {
- constructor(public name: string, public version: string, public swagger: Swagger, public definition: string) {}
+ constructor(public name: string, public version: string, public swaggerJson: string, public definition: string) {}
}
|