blob: 92b12550745a420ea09a8201adad6fecd1de735c [file] [log] [blame]
svishnevea5e43c2018-04-15 09:06:57 +03001/*
2 * Copyright © 2016-2018 European Support Limited
AviZi280f8012017-06-09 02:39:56 +03003 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
svishnevea5e43c2018-04-15 09:06:57 +03007 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
AviZi280f8012017-06-09 02:39:56 +030010 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
svishnevea5e43c2018-04-15 09:06:57 +030012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
AviZi280f8012017-06-09 02:39:56 +030015 */
svishnevea5e43c2018-04-15 09:06:57 +030016import { Factory } from 'rosie';
17import { storeCreator } from 'sdc-app/AppStore.js';
AviZi280f8012017-06-09 02:39:56 +030018
19const store = storeCreator();
20const defaultStore = store.getState();
21
svishnevea5e43c2018-04-15 09:06:57 +030022export const OnboardStoreFactory = new Factory().attrs(defaultStore.onboard);