@ikas/storefront 0.0.87 → 0.0.89
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.
- package/build/analytics/analytics.d.ts +1 -4
- package/build/analytics/googleTagManager.d.ts +0 -3
- package/build/api/index.d.ts +0 -1
- package/build/index.es.js +80 -406
- package/build/index.js +79 -406
- package/build/utils/providers/prop-value/category.d.ts +2 -2
- package/package.json +1 -1
- package/build/api/product/__generated__/listProduct.d.ts +0 -92
- package/build/api/product/index.d.ts +0 -17
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { IkasCategory, IkasCategoryPropValue } from "../../../models/index";
|
|
2
2
|
import IkasPropValueProvider from "./index";
|
|
3
|
-
export declare class IkasCategoryPropValueProvider implements IkasPropValueProvider<IkasCategory> {
|
|
3
|
+
export declare class IkasCategoryPropValueProvider implements IkasPropValueProvider<IkasCategory | null> {
|
|
4
4
|
private categoryPropValue;
|
|
5
5
|
private pageSpecificData?;
|
|
6
6
|
constructor(prop: IkasCategoryPropValue, pageSpecificData?: any);
|
|
7
|
-
getValue(): Promise<IkasCategory>;
|
|
7
|
+
getValue(): Promise<IkasCategory | null>;
|
|
8
8
|
}
|
package/package.json
CHANGED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { StringFilterInput, PaginationInput, CategoryFilterInput, ProductTypeEnum, HTMLMetaDataTargetTypeEnum } from "../../../__generated__/global-types";
|
|
2
|
-
export interface listProduct_listProduct_data_metaData {
|
|
3
|
-
__typename: "HTMLMetaData";
|
|
4
|
-
slug: string;
|
|
5
|
-
pageTitle: string | null;
|
|
6
|
-
description: string | null;
|
|
7
|
-
targetId: string | null;
|
|
8
|
-
targetType: HTMLMetaDataTargetTypeEnum | null;
|
|
9
|
-
redirectTo: string | null;
|
|
10
|
-
}
|
|
11
|
-
export interface listProduct_listProduct_data_productVariantTypes {
|
|
12
|
-
__typename: "ProductVariantType";
|
|
13
|
-
order: number;
|
|
14
|
-
variantTypeId: string;
|
|
15
|
-
variantValueIds: string[] | null;
|
|
16
|
-
}
|
|
17
|
-
export interface listProduct_listProduct_data_variants_variantValueIds {
|
|
18
|
-
__typename: "VariantValueRelation";
|
|
19
|
-
variantTypeId: string;
|
|
20
|
-
variantValueId: string;
|
|
21
|
-
}
|
|
22
|
-
export interface listProduct_listProduct_data_variants_attributes {
|
|
23
|
-
__typename: "ProductAttributeValue";
|
|
24
|
-
value: string | null;
|
|
25
|
-
productAttributeId: string | null;
|
|
26
|
-
productAttributeOptionId: string | null;
|
|
27
|
-
}
|
|
28
|
-
export interface listProduct_listProduct_data_variants_images {
|
|
29
|
-
__typename: "ProductImage";
|
|
30
|
-
order: number;
|
|
31
|
-
isMain: boolean;
|
|
32
|
-
imageId: string | null;
|
|
33
|
-
}
|
|
34
|
-
export interface listProduct_listProduct_data_variants_prices {
|
|
35
|
-
__typename: "ProductPrice";
|
|
36
|
-
sellPrice: number;
|
|
37
|
-
discountPrice: number | null;
|
|
38
|
-
buyPrice: number | null;
|
|
39
|
-
currency: string | null;
|
|
40
|
-
}
|
|
41
|
-
export interface listProduct_listProduct_data_variants {
|
|
42
|
-
__typename: "Variant";
|
|
43
|
-
id: string;
|
|
44
|
-
createdAt: any | null;
|
|
45
|
-
updatedAt: any | null;
|
|
46
|
-
deleted: boolean | null;
|
|
47
|
-
sku: string | null;
|
|
48
|
-
barcodeList: string[] | null;
|
|
49
|
-
isActive: boolean | null;
|
|
50
|
-
variantValueIds: listProduct_listProduct_data_variants_variantValueIds[] | null;
|
|
51
|
-
attributes: listProduct_listProduct_data_variants_attributes[] | null;
|
|
52
|
-
images: listProduct_listProduct_data_variants_images[] | null;
|
|
53
|
-
prices: listProduct_listProduct_data_variants_prices[];
|
|
54
|
-
}
|
|
55
|
-
export interface listProduct_listProduct_data_attributes {
|
|
56
|
-
__typename: "ProductAttributeValue";
|
|
57
|
-
value: string | null;
|
|
58
|
-
productAttributeId: string | null;
|
|
59
|
-
productAttributeOptionId: string | null;
|
|
60
|
-
}
|
|
61
|
-
export interface listProduct_listProduct_data {
|
|
62
|
-
__typename: "Product";
|
|
63
|
-
id: string;
|
|
64
|
-
createdAt: any | null;
|
|
65
|
-
updatedAt: any | null;
|
|
66
|
-
deleted: boolean | null;
|
|
67
|
-
name: string;
|
|
68
|
-
type: ProductTypeEnum;
|
|
69
|
-
shortDescription: string | null;
|
|
70
|
-
description: string | null;
|
|
71
|
-
metaData: listProduct_listProduct_data_metaData | null;
|
|
72
|
-
brandId: string | null;
|
|
73
|
-
categoryIds: string[] | null;
|
|
74
|
-
productVariantTypes: listProduct_listProduct_data_productVariantTypes[] | null;
|
|
75
|
-
variants: listProduct_listProduct_data_variants[];
|
|
76
|
-
attributes: listProduct_listProduct_data_attributes[] | null;
|
|
77
|
-
}
|
|
78
|
-
export interface listProduct_listProduct {
|
|
79
|
-
__typename: "ProductPaginationResponse";
|
|
80
|
-
data: listProduct_listProduct_data[];
|
|
81
|
-
count: number;
|
|
82
|
-
}
|
|
83
|
-
export interface listProduct {
|
|
84
|
-
listProduct: listProduct_listProduct;
|
|
85
|
-
}
|
|
86
|
-
export interface listProductVariables {
|
|
87
|
-
id?: StringFilterInput | null;
|
|
88
|
-
pagination?: PaginationInput | null;
|
|
89
|
-
search?: string | null;
|
|
90
|
-
brandId?: StringFilterInput | null;
|
|
91
|
-
categoryIds?: CategoryFilterInput | null;
|
|
92
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { IkasProduct } from "../../models/index";
|
|
2
|
-
export declare class IkasProductAPI {
|
|
3
|
-
static listProducts(params?: ListProductsParams): Promise<ListProductsResponse>;
|
|
4
|
-
}
|
|
5
|
-
declare type ListProductsParams = {
|
|
6
|
-
idList?: string[];
|
|
7
|
-
page?: number;
|
|
8
|
-
limit?: number;
|
|
9
|
-
search?: string;
|
|
10
|
-
brandId?: string;
|
|
11
|
-
categoryIds?: string[];
|
|
12
|
-
};
|
|
13
|
-
declare type ListProductsResponse = {
|
|
14
|
-
products: IkasProduct[];
|
|
15
|
-
count: number;
|
|
16
|
-
};
|
|
17
|
-
export {};
|