Support for concat TOSCA function
[sdc.git] / catalog-ui / src / app / models / tosca-get-function.ts
index 97497fc..2386338 100644 (file)
 
 import {PropertySource} from "./property-source";
 import {ToscaGetFunctionType} from "./tosca-get-function-type";
+import {ToscaFunction} from "./tosca-function";
+import {ToscaFunctionType} from "./tosca-function-type.enum";
 
-export class ToscaGetFunction {
+export class ToscaGetFunction implements ToscaFunction {
+    type: ToscaFunctionType;
     propertyUniqueId: string;
     propertyName: string;
     propertySource: PropertySource;
@@ -30,6 +33,7 @@ export class ToscaGetFunction {
     sourceName: string;
     functionType: ToscaGetFunctionType;
     propertyPathFromSource: Array<string>;
+    value: any
 
     constructor(toscaGetFunction?: ToscaGetFunction) {
         if (!toscaGetFunction) {
@@ -45,4 +49,5 @@ export class ToscaGetFunction {
             this.propertyPathFromSource = [...toscaGetFunction.propertyPathFromSource];
         }
     }
+
 }
\ No newline at end of file