@betterstore/sdk 0.3.100 → 0.3.102
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 +12 -0
- package/dist/index.d.mts +4 -3
- package/dist/index.d.ts +4 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -98,7 +98,8 @@ type GetListParams<A, B> = {
|
|
|
98
98
|
sortBy?: A;
|
|
99
99
|
sortOrder?: SortOrder;
|
|
100
100
|
query?: B & {
|
|
101
|
-
NOT?: B;
|
|
101
|
+
NOT?: B | B[];
|
|
102
|
+
OR?: B[];
|
|
102
103
|
};
|
|
103
104
|
};
|
|
104
105
|
type EnumQueryType<T> = {
|
|
@@ -196,8 +197,8 @@ interface Product {
|
|
|
196
197
|
interface ProductWithoutVariants extends Omit<Product, "productVariants"> {
|
|
197
198
|
}
|
|
198
199
|
type ListProductsQuery = {
|
|
199
|
-
|
|
200
|
-
|
|
200
|
+
collectionIDs?: StringArrayQueryType;
|
|
201
|
+
collectionsSeoHandles?: StringArrayQueryType;
|
|
201
202
|
tags?: StringArrayQueryType;
|
|
202
203
|
createdAt?: DateQueryType;
|
|
203
204
|
updatedAt?: DateQueryType;
|
package/dist/index.d.ts
CHANGED
|
@@ -98,7 +98,8 @@ type GetListParams<A, B> = {
|
|
|
98
98
|
sortBy?: A;
|
|
99
99
|
sortOrder?: SortOrder;
|
|
100
100
|
query?: B & {
|
|
101
|
-
NOT?: B;
|
|
101
|
+
NOT?: B | B[];
|
|
102
|
+
OR?: B[];
|
|
102
103
|
};
|
|
103
104
|
};
|
|
104
105
|
type EnumQueryType<T> = {
|
|
@@ -196,8 +197,8 @@ interface Product {
|
|
|
196
197
|
interface ProductWithoutVariants extends Omit<Product, "productVariants"> {
|
|
197
198
|
}
|
|
198
199
|
type ListProductsQuery = {
|
|
199
|
-
|
|
200
|
-
|
|
200
|
+
collectionIDs?: StringArrayQueryType;
|
|
201
|
+
collectionsSeoHandles?: StringArrayQueryType;
|
|
201
202
|
tags?: StringArrayQueryType;
|
|
202
203
|
createdAt?: DateQueryType;
|
|
203
204
|
updatedAt?: DateQueryType;
|