vanilli-shop-client
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -18,3 +18,6 @@ import NotificationStore from "./notification-store"; | ||
import CouponStore from "./coupon-store"; | ||
import BlogApi from "../api/blog-api"; | ||
import BlogStore from "./blog-store"; | ||
interface IRootStore { | ||
blogStore: BlogStore; | ||
cartStore: CartStore; | ||
@@ -32,2 +35,3 @@ companyStore: CompanyStore; | ||
export default class RootStore implements IRootStore { | ||
blogStore: BlogStore; | ||
cartStore: CartStore; | ||
@@ -43,2 +47,3 @@ companyStore: CompanyStore; | ||
translationStore: TranslationStore; | ||
blogApi: BlogApi; | ||
companyApi: CompanyApi; | ||
@@ -45,0 +50,0 @@ countryApi: CountryApi; |
@@ -43,2 +43,4 @@ "use strict"; | ||
var coupon_store_1 = __importDefault(require("./coupon-store")); | ||
var blog_api_1 = __importDefault(require("../api/blog-api")); | ||
var blog_store_1 = __importDefault(require("./blog-store")); | ||
var RootStore = /** @class */ (function () { | ||
@@ -51,2 +53,3 @@ function RootStore() { | ||
this.translationStore = new translation_store_1.default(this); | ||
this.blogStore = new blog_store_1.default(this); | ||
this.cartStore = new cart_store_1.default(this); | ||
@@ -60,2 +63,3 @@ this.companyStore = new company_store_1.default(this); | ||
this.shippingStore = new shipping_store_1.default(this); | ||
this.blogApi = new blog_api_1.default(); | ||
this.companyApi = new company_api_1.default(); | ||
@@ -62,0 +66,0 @@ this.countryApi = new country_api_1.default(); |
{ | ||
"name": "vanilli-shop-client", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Client for Vanilli Shop API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -19,4 +19,7 @@ import * as mobx from "mobx"; | ||
import CouponStore from "./coupon-store"; | ||
import BlogApi from "../api/blog-api"; | ||
import BlogStore from "./blog-store"; | ||
interface IRootStore { | ||
blogStore: BlogStore, | ||
cartStore: CartStore, | ||
@@ -35,2 +38,3 @@ companyStore: CompanyStore, | ||
export default class RootStore implements IRootStore { | ||
blogStore: BlogStore; | ||
cartStore: CartStore; | ||
@@ -46,2 +50,3 @@ companyStore: CompanyStore; | ||
translationStore: TranslationStore; | ||
blogApi: BlogApi; | ||
companyApi: CompanyApi; | ||
@@ -62,2 +67,3 @@ countryApi: CountryApi; | ||
this.translationStore = new TranslationStore(this); | ||
this.blogStore = new BlogStore(this); | ||
this.cartStore = new CartStore(this); | ||
@@ -71,2 +77,3 @@ this.companyStore = new CompanyStore(this); | ||
this.shippingStore = new ShippingStore(this); | ||
this.blogApi = new BlogApi(); | ||
this.companyApi = new CompanyApi(); | ||
@@ -73,0 +80,0 @@ this.countryApi = new CountryApi(); |
192672
128
4316