diff options
author | Ahmed Abbas <ahmad.helmy@orange.com> | 2020-02-24 14:59:21 +0200 |
---|---|---|
committer | Ahmed Abbas <ahmad.helmy@orange.com> | 2020-02-24 21:08:52 +0200 |
commit | 2203e84a0fd3308ce99e4de6ed2519e663008316 (patch) | |
tree | 7780cf9966983953e705331c3cf67e36b385a9ce /cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/model/designer.dashboard.state.ts | |
parent | ebcc45b8c8703cadc49cf3a0b888545845ccb9e6 (diff) |
add single function to action and save it to frontend store.
Issue-ID: CCSDK-2017
Signed-off-by: Ahmed Abbas <ahmad.helmy@orange.com>
Change-Id: I866eadb31bcb56aec5aa05a1dd4b0989c47c6210
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/model/designer.dashboard.state.ts')
-rw-r--r-- | cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/model/designer.dashboard.state.ts | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/model/designer.dashboard.state.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/model/designer.dashboard.state.ts new file mode 100644 index 000000000..5ae62d84a --- /dev/null +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/model/designer.dashboard.state.ts @@ -0,0 +1,34 @@ +/* +============LICENSE_START========================================== +=================================================================== +Copyright (C) 2019 Orange. All rights reserved. +=================================================================== + +Unless otherwise specified, all software contained herein is licensed +under the Apache License, Version 2.0 (the License); +you may not use this software except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +============LICENSE_END============================================ +*/ + +import {ModelType} from './ModelType.model'; +import { TopologyTemplate } from './designer.topologyTemplate.model'; + +export class DesignerDashboardState { + + serverFunctions: ModelType[]; + template: TopologyTemplate; + + constructor() { + this.serverFunctions = []; + this.template = new TopologyTemplate(); + } +} |