vanilli-shop-client
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -14,2 +14,4 @@ import NotificationStore from "./notification-store"; | ||
import ShippingApi from "../api/shipping-api"; | ||
import EmailStore from "./email-store"; | ||
import EmailApi from "../api/email-api"; | ||
interface IRootStore { | ||
@@ -19,2 +21,3 @@ cartStore: CartStore; | ||
countryStore: CountryStore; | ||
emailStore: EmailStore; | ||
notificationStore: NotificationStore; | ||
@@ -30,2 +33,3 @@ orderStore: OrderStore; | ||
countryStore: CountryStore; | ||
emailStore: EmailStore; | ||
notificationStore: NotificationStore; | ||
@@ -38,2 +42,3 @@ orderStore: OrderStore; | ||
countryApi: CountryApi; | ||
emailApi: EmailApi; | ||
orderApi: OrderApi; | ||
@@ -40,0 +45,0 @@ productApi: ProductApi; |
@@ -39,2 +39,4 @@ "use strict"; | ||
var shipping_api_1 = __importDefault(require("../api/shipping-api")); | ||
var email_store_1 = __importDefault(require("./email-store")); | ||
var email_api_1 = __importDefault(require("../api/email-api")); | ||
var RootStore = /** @class */ (function () { | ||
@@ -50,2 +52,3 @@ function RootStore() { | ||
this.countryStore = new country_store_1.default(this); | ||
this.emailStore = new email_store_1.default(this); | ||
this.orderStore = new order_store_1.default(this); | ||
@@ -56,2 +59,3 @@ this.productStore = new product_store_1.default(this); | ||
this.countryApi = new country_api_1.default(); | ||
this.emailApi = new email_api_1.default(); | ||
this.orderApi = new order_api_1.default(); | ||
@@ -58,0 +62,0 @@ this.productApi = new product_api_1.default(); |
{ | ||
"name": "vanilli-shop-client", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Client for Vanilli Shop API", | ||
@@ -21,3 +21,3 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@types/node": "^14.14.37", | ||
"@types/node": "^14.14.39", | ||
"@types/qs": "^6.9.6", | ||
@@ -24,0 +24,0 @@ "@types/react": "^17.0.3", |
@@ -15,2 +15,4 @@ import * as mobx from "mobx"; | ||
import ShippingApi from "../api/shipping-api"; | ||
import EmailStore from "./email-store"; | ||
import EmailApi from "../api/email-api"; | ||
@@ -21,2 +23,3 @@ interface IRootStore { | ||
countryStore: CountryStore, | ||
emailStore: EmailStore, | ||
notificationStore: NotificationStore, | ||
@@ -33,2 +36,3 @@ orderStore: OrderStore, | ||
countryStore: CountryStore; | ||
emailStore: EmailStore; | ||
notificationStore: NotificationStore; | ||
@@ -41,2 +45,3 @@ orderStore: OrderStore; | ||
countryApi: CountryApi; | ||
emailApi: EmailApi; | ||
orderApi: OrderApi; | ||
@@ -56,2 +61,3 @@ productApi: ProductApi; | ||
this.countryStore = new CountryStore(this); | ||
this.emailStore = new EmailStore(this); | ||
this.orderStore = new OrderStore(this); | ||
@@ -62,2 +68,3 @@ this.productStore = new ProductStore(this); | ||
this.countryApi = new CountryApi(); | ||
this.emailApi = new EmailApi(); | ||
this.orderApi = new OrderApi(); | ||
@@ -64,0 +71,0 @@ this.productApi = new ProductApi(); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
162306
107
3690