nextemos 4.9.8 → 4.9.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,5 @@
1
- import { IResponse, IResponsePaging } from './response';
1
+ import { RouteLocalization } from "./";
2
+ import { IResponse, IResponsePaging } from "./response";
2
3
  export interface IBlogPost {
3
4
  id: number;
4
5
  templateId?: number;
@@ -39,6 +40,7 @@ export interface IBlogCategory {
39
40
  hierarchy?: number[];
40
41
  blogPostBlogCategoryMappings?: BlogPostBlogCategoryMapping[];
41
42
  extensionData?: any;
43
+ routeLocalizations?: RouteLocalization[];
42
44
  }
43
45
  export interface IBlogTag {
44
46
  id: number;
@@ -1,3 +1,4 @@
1
+ export * from './shared';
1
2
  export * from './response';
2
3
  export * from './banner';
3
4
  export * from './blog';
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  /// interfaces
18
+ __exportStar(require("./shared"), exports);
18
19
  __exportStar(require("./response"), exports);
19
20
  __exportStar(require("./banner"), exports);
20
21
  __exportStar(require("./blog"), exports);
@@ -1,4 +1,5 @@
1
- import { IResponse, IResponsePaging } from "./response";
1
+ import { IResponse, IResponsePaging } from "./";
2
+ import { RouteLocalization } from "./";
2
3
  export interface IProductResponse extends IResponse {
3
4
  product: IProduct;
4
5
  }
@@ -78,14 +79,6 @@ export interface IProduct {
78
79
  attributeGroups?: IAttributeGroup[];
79
80
  attributes?: IAttributes[];
80
81
  }
81
- export interface RouteLocalization {
82
- id: number;
83
- culture: string;
84
- parameterName: string;
85
- routeDescription: string;
86
- routePath: string;
87
- routeTitle: string;
88
- }
89
82
  export interface Rate {
90
83
  id: number;
91
84
  name: string;
@@ -144,6 +137,7 @@ export interface ICategory {
144
137
  extensionData?: any;
145
138
  productCount?: number;
146
139
  childProductCount?: number;
140
+ routeLocalizations?: RouteLocalization[];
147
141
  }
148
142
  export interface ICategoryWithChilds extends ICategory {
149
143
  childCategories: ICategory[];
@@ -0,0 +1,8 @@
1
+ export interface RouteLocalization {
2
+ id: number;
3
+ culture: string;
4
+ parameterName: string;
5
+ routeDescription: string;
6
+ routePath: string;
7
+ routeTitle: string;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextemos",
3
- "version": "4.9.8",
3
+ "version": "4.9.9",
4
4
  "description": "For helpers and hooks used in NextJS projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "./dist/index.d.ts",