vanilli-shop-client
Advanced tools
Comparing version 1.3.9 to 1.4.0
@@ -42,4 +42,6 @@ import { IBaseDto, IPropertyDto } from "./base"; | ||
active: boolean; | ||
term?: string; | ||
categoryId?: number; | ||
minStock?: number; | ||
additionalProps?: IPropertyDto[]; | ||
} |
@@ -21,5 +21,8 @@ import NotificationStore from "./notification-store"; | ||
import ParameterStore from "./parameter-store"; | ||
import CategoryStore from "./category-store"; | ||
import CategoryApi from "../api/category-api"; | ||
interface IRootStore { | ||
blogStore: BlogStore; | ||
cartStore: CartStore; | ||
categoryStore: CategoryStore; | ||
companyStore: CompanyStore; | ||
@@ -39,2 +42,3 @@ countryStore: CountryStore; | ||
cartStore: CartStore; | ||
categoryStore: CategoryStore; | ||
companyStore: CompanyStore; | ||
@@ -51,2 +55,3 @@ countryStore: CountryStore; | ||
blogApi: BlogApi; | ||
categoryApi: CategoryApi; | ||
companyApi: CompanyApi; | ||
@@ -53,0 +58,0 @@ countryApi: CountryApi; |
@@ -46,2 +46,4 @@ "use strict"; | ||
var parameter_store_1 = __importDefault(require("./parameter-store")); | ||
var category_store_1 = __importDefault(require("./category-store")); | ||
var category_api_1 = __importDefault(require("../api/category-api")); | ||
var RootStore = /** @class */ (function () { | ||
@@ -56,2 +58,3 @@ function RootStore() { | ||
this.cartStore = new cart_store_1.default(this); | ||
this.categoryStore = new category_store_1.default(this); | ||
this.companyStore = new company_store_1.default(this); | ||
@@ -66,2 +69,3 @@ this.countryStore = new country_store_1.default(this); | ||
this.blogApi = new blog_api_1.default(); | ||
this.categoryApi = new category_api_1.default(); | ||
this.companyApi = new company_api_1.default(); | ||
@@ -68,0 +72,0 @@ this.countryApi = new country_api_1.default(); |
{ | ||
"name": "vanilli-shop-client", | ||
"version": "1.3.9", | ||
"version": "1.4.0", | ||
"description": "Client for Vanilli Shop API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -77,4 +77,6 @@ import {IBaseDto, IPropertyDto} from "./base"; | ||
active: boolean, | ||
term?: string, | ||
categoryId?: number, | ||
minStock?: number, | ||
additionalProps?: IPropertyDto[] | ||
} |
@@ -22,2 +22,4 @@ import * as mobx from "mobx"; | ||
import ParameterStore from "./parameter-store"; | ||
import CategoryStore from "./category-store"; | ||
import CategoryApi from "../api/category-api"; | ||
@@ -27,2 +29,3 @@ interface IRootStore { | ||
cartStore: CartStore, | ||
categoryStore: CategoryStore, | ||
companyStore: CompanyStore, | ||
@@ -43,2 +46,3 @@ countryStore: CountryStore, | ||
cartStore: CartStore; | ||
categoryStore: CategoryStore; | ||
companyStore: CompanyStore; | ||
@@ -55,2 +59,3 @@ countryStore: CountryStore; | ||
blogApi: BlogApi; | ||
categoryApi: CategoryApi; | ||
companyApi: CompanyApi; | ||
@@ -73,2 +78,3 @@ countryApi: CountryApi; | ||
this.cartStore = new CartStore(this); | ||
this.categoryStore = new CategoryStore(this); | ||
this.companyStore = new CompanyStore(this); | ||
@@ -83,2 +89,3 @@ this.countryStore = new CountryStore(this); | ||
this.blogApi = new BlogApi(); | ||
this.categoryApi = new CategoryApi(); | ||
this.companyApi = new CompanyApi(); | ||
@@ -85,0 +92,0 @@ this.countryApi = new CountryApi(); |
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
242796
149
5400