@haus-storefront-react/shared-types 0.0.2 → 0.0.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.
- package/CHANGELOG.md +4 -0
- package/index.d.ts +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/index.d.ts
CHANGED
|
@@ -40,7 +40,6 @@ export type PriceFilterType = {
|
|
|
40
40
|
};
|
|
41
41
|
export type EnabledFilter<T = FacetValueFilterType | PriceFilterType> = T & {
|
|
42
42
|
label?: string;
|
|
43
|
-
showSkeletonLoader?: boolean;
|
|
44
43
|
};
|
|
45
44
|
export type FacetValueFilterInput = {
|
|
46
45
|
and?: Maybe<string>;
|
|
@@ -211,6 +210,7 @@ export type SearchResult = Node & {
|
|
|
211
210
|
sku: string;
|
|
212
211
|
slug: string;
|
|
213
212
|
badges?: Maybe<Array<Badge>>;
|
|
213
|
+
ordinaryPrice?: Price;
|
|
214
214
|
};
|
|
215
215
|
type ResponseResult = {
|
|
216
216
|
count: number;
|
|
@@ -242,7 +242,7 @@ export type ProductResponse = {
|
|
|
242
242
|
export interface GroupedFacetValues {
|
|
243
243
|
[key: string]: FacetValue[];
|
|
244
244
|
}
|
|
245
|
-
export type SearchInputProps = Pick<SearchInput, 'term' | 'collectionId' | 'facetValueIds' | 'facetValueOperator' | 'facetValueFilters' | 'groupByProduct' | 'sort' | 'take' | 'priceRange' | 'priceRangeWithTax'>;
|
|
245
|
+
export type SearchInputProps = Pick<SearchInput, 'term' | 'collectionId' | 'facetValueIds' | 'facetValueOperator' | 'facetValueFilters' | 'groupByProduct' | 'sort' | 'take' | 'skip' | 'priceRange' | 'priceRangeWithTax'>;
|
|
246
246
|
export type Node = {
|
|
247
247
|
id: string;
|
|
248
248
|
createdAt: string;
|