nextemos 3.7.1 → 3.7.3

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.
@@ -4,3 +4,7 @@ export * from './banner';
4
4
  export * from './blog';
5
5
  export * from './route';
6
6
  export * from './product';
7
+ export * from '../services/banner/banner.types';
8
+ export * from '../services/blog/blog.types';
9
+ export * from '../services/product/product.types';
10
+ export * from '../services/route/route.types';
@@ -21,3 +21,8 @@ __exportStar(require("./banner"), exports);
21
21
  __exportStar(require("./blog"), exports);
22
22
  __exportStar(require("./route"), exports);
23
23
  __exportStar(require("./product"), exports);
24
+ /// service types
25
+ __exportStar(require("../services/banner/banner.types"), exports);
26
+ __exportStar(require("../services/blog/blog.types"), exports);
27
+ __exportStar(require("../services/product/product.types"), exports);
28
+ __exportStar(require("../services/route/route.types"), exports);
@@ -1,6 +1,6 @@
1
1
  export declare const Service: {
2
- Banner: import("./banner/banner.types").IBannerService;
3
- Blog: import("./blog/blog.types").IBlogService;
4
- Route: import("./route/route.types").IRouteService;
5
- Product: import("./product/product.types").IProductService;
2
+ Banner: import("..").IBannerService;
3
+ Blog: import("..").IBlogService;
4
+ Route: import("..").IRouteService;
5
+ Product: import("..").IProductService;
6
6
  };
@@ -2,7 +2,7 @@ import { IApiResponse, IRequestInit, ICategoryTreeResponse, IGetAllProductsRespo
2
2
  /**
3
3
  * Product ID'sine göre Product alma isteği arayüzü.
4
4
  */
5
- interface IProductRequest {
5
+ export interface IProductRequest {
6
6
  id: number;
7
7
  flags?: number;
8
8
  includes?: string[];
@@ -12,7 +12,7 @@ interface IProductRequest {
12
12
  /**
13
13
  * ID'sine göre Kategori alma isteği arayüzü.
14
14
  */
15
- interface IProductCategoryRequest {
15
+ export interface IProductCategoryRequest {
16
16
  id: number;
17
17
  includes?: string[];
18
18
  tags?: string[];
@@ -21,7 +21,7 @@ interface IProductCategoryRequest {
21
21
  /**
22
22
  * Ürün listeleme sayfalarında kullanılır, tüm ürünleri ve filtreleri hesaplayıp döndürür.
23
23
  */
24
- interface ISearchProductsRequest {
24
+ export interface ISearchProductsRequest {
25
25
  searchTerm?: string;
26
26
  includes?: string[];
27
27
  scopeTypes?: number[];
@@ -132,4 +132,3 @@ export interface IProductService {
132
132
  */
133
133
  AllCategories: (data: IAllCategoriesRequest, options?: IRequestInit) => Promise<IApiResponse<IProductCategoryAllResponse>>;
134
134
  }
135
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextemos",
3
- "version": "3.7.1",
3
+ "version": "3.7.3",
4
4
  "description": "For helpers and hooks used in NextJS projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "./dist/index.d.ts",