@gat-solutions/ecommerce
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -114,2 +114,5 @@ import { PlatformType } from "../enums"; | ||
} | ||
export declare class GetAllLinkedPlatformArgs { | ||
q?: PaginationArgs; | ||
} | ||
export declare class GetAllPlatformProductArgs { | ||
@@ -132,2 +135,5 @@ /** | ||
export declare class ConnectPlatformArgs { | ||
input: ConnectPlatformInput; | ||
} | ||
export declare class ConnectPlatformInput { | ||
/** | ||
@@ -143,2 +149,5 @@ * Tên sàn TMDT | ||
export declare class LinkProductArgs { | ||
input: LinkProductInput; | ||
} | ||
export declare class LinkProductInput { | ||
data: LinkProductDataArgs[]; | ||
@@ -145,0 +154,0 @@ } |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.LinkProductDataArgs = exports.LinkProductArgs = exports.ConnectPlatformArgs = exports.GetAllLinkedProductArgs = exports.GetAllPlatformProductArgs = exports.PaginationArgs = exports.LinkProductDataDto = exports.LinkProductDto = exports.GetAllLinkedProductsDto = exports.GetAllPlatformProductsDto = exports.ConnectTikiInhouseDto = exports.ConnectPlatformDto = exports.GetAllLinkedShopDto = exports.GetPlatformAuthorizeUrlDto = void 0; | ||
exports.LinkProductDataArgs = exports.LinkProductInput = exports.LinkProductArgs = exports.ConnectPlatformInput = exports.ConnectPlatformArgs = exports.GetAllLinkedProductArgs = exports.GetAllPlatformProductArgs = exports.GetAllLinkedPlatformArgs = exports.PaginationArgs = exports.LinkProductDataDto = exports.LinkProductDto = exports.GetAllLinkedProductsDto = exports.GetAllPlatformProductsDto = exports.ConnectTikiInhouseDto = exports.ConnectPlatformDto = exports.GetAllLinkedShopDto = exports.GetPlatformAuthorizeUrlDto = void 0; | ||
class GetPlatformAuthorizeUrlDto { | ||
@@ -31,2 +31,5 @@ } | ||
exports.PaginationArgs = PaginationArgs; | ||
class GetAllLinkedPlatformArgs { | ||
} | ||
exports.GetAllLinkedPlatformArgs = GetAllLinkedPlatformArgs; | ||
class GetAllPlatformProductArgs { | ||
@@ -41,7 +44,13 @@ } | ||
exports.ConnectPlatformArgs = ConnectPlatformArgs; | ||
class ConnectPlatformInput { | ||
} | ||
exports.ConnectPlatformInput = ConnectPlatformInput; | ||
class LinkProductArgs { | ||
} | ||
exports.LinkProductArgs = LinkProductArgs; | ||
class LinkProductInput { | ||
} | ||
exports.LinkProductInput = LinkProductInput; | ||
class LinkProductDataArgs { | ||
} | ||
exports.LinkProductDataArgs = LinkProductDataArgs; |
@@ -1,2 +0,2 @@ | ||
import { ConnectPlatformArgs, GetAllLinkedProductArgs, GetAllPlatformProductArgs, PaginationArgs, LinkProductArgs } from "../dto"; | ||
import { ConnectPlatformArgs, GetAllLinkedProductArgs, GetAllPlatformProductArgs, GetAllLinkedPlatformArgs, LinkProductArgs } from "../dto"; | ||
import { ILinkedPlatform, IPaginationResponse, IPlatformAuthorizeUrl, IPlatformProduct } from "../interfaces"; | ||
@@ -12,3 +12,3 @@ import { ILinkedProduct } from "../interfaces/linked-product.interface"; | ||
*/ | ||
getAllLinkedPlatform(root: any, args: PaginationArgs, context: any): Promise<IPaginationResponse<ILinkedPlatform>>; | ||
getAllLinkedPlatform(root: any, args: GetAllLinkedPlatformArgs, context: any): Promise<IPaginationResponse<ILinkedPlatform>>; | ||
/** | ||
@@ -40,3 +40,3 @@ * Lấy dách sách sản phẩm trên sàn | ||
Query: { | ||
getAllLinkedPlatform: (root: any, args: PaginationArgs, context: any) => Promise<IPaginationResponse<ILinkedPlatform>>; | ||
getAllLinkedPlatform: (root: any, args: GetAllLinkedPlatformArgs, context: any) => Promise<IPaginationResponse<ILinkedPlatform>>; | ||
getPlatformAuthorizeUrl: (root: any, args: any, context: any) => Promise<IPlatformAuthorizeUrl>; | ||
@@ -43,0 +43,0 @@ getAllPlatformProduct: (root: any, args: GetAllPlatformProductArgs, context: any) => Promise<IPaginationResponse<IPlatformProduct>>; |
{ | ||
"name": "@gat-solutions/ecommerce", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
26850
755