Add model/node-data-type
[sdc/sdc-workflow-designer.git] / sdc-workflow-designer-ui / src / app / model / node-data-type / node-data-type.ts
1 /**\r
2  * Copyright (c) 2018 ZTE Corporation.\r
3  * All rights reserved. This program and the accompanying materials\r
4  * are made available under the terms of the Eclipse Public License v1.0\r
5  * and the Apache License 2.0 which both accompany this distribution,\r
6  * and are available at http://www.eclipse.org/legal/epl-v10.html\r
7  * and http://www.apache.org/licenses/LICENSE-2.0\r
8  *\r
9  * Contributors:\r
10  *     ZTE - initial API and implementation and/or initial documentation\r
11  */\r
12 import { DisplayName } from "./display-name";\r
13 import { Icon } from "./icon";\r
14 import { SwaggerSchema } from "../workflow/swagger/swagger-schema";\r
15 \r
16 export interface NodeDataType {\r
17     id: string;\r
18     displayName?: DisplayName;\r
19     description?: DisplayName;\r
20     type: string;\r
21     icon: Icon;\r
22     content: any;\r
23     definitions: any;\r
24 }