@betterstore/sdk 0.3.102 → 0.3.103
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 +6 -0
- package/dist/index.d.mts +8 -1
- package/dist/index.d.ts +8 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -128,6 +128,11 @@ type DateQueryType = {
|
|
|
128
128
|
type OptionalDateQueryType = DateQueryType & {
|
|
129
129
|
isSet: boolean;
|
|
130
130
|
};
|
|
131
|
+
type ArrayModelQueryType<T> = {
|
|
132
|
+
some?: T;
|
|
133
|
+
every?: T;
|
|
134
|
+
none?: T;
|
|
135
|
+
};
|
|
131
136
|
|
|
132
137
|
interface VariantOption {
|
|
133
138
|
name: string;
|
|
@@ -198,7 +203,9 @@ interface ProductWithoutVariants extends Omit<Product, "productVariants"> {
|
|
|
198
203
|
}
|
|
199
204
|
type ListProductsQuery = {
|
|
200
205
|
collectionIDs?: StringArrayQueryType;
|
|
201
|
-
|
|
206
|
+
collections?: ArrayModelQueryType<{
|
|
207
|
+
seoHandle?: StringArrayQueryType;
|
|
208
|
+
}>;
|
|
202
209
|
tags?: StringArrayQueryType;
|
|
203
210
|
createdAt?: DateQueryType;
|
|
204
211
|
updatedAt?: DateQueryType;
|
package/dist/index.d.ts
CHANGED
|
@@ -128,6 +128,11 @@ type DateQueryType = {
|
|
|
128
128
|
type OptionalDateQueryType = DateQueryType & {
|
|
129
129
|
isSet: boolean;
|
|
130
130
|
};
|
|
131
|
+
type ArrayModelQueryType<T> = {
|
|
132
|
+
some?: T;
|
|
133
|
+
every?: T;
|
|
134
|
+
none?: T;
|
|
135
|
+
};
|
|
131
136
|
|
|
132
137
|
interface VariantOption {
|
|
133
138
|
name: string;
|
|
@@ -198,7 +203,9 @@ interface ProductWithoutVariants extends Omit<Product, "productVariants"> {
|
|
|
198
203
|
}
|
|
199
204
|
type ListProductsQuery = {
|
|
200
205
|
collectionIDs?: StringArrayQueryType;
|
|
201
|
-
|
|
206
|
+
collections?: ArrayModelQueryType<{
|
|
207
|
+
seoHandle?: StringArrayQueryType;
|
|
208
|
+
}>;
|
|
202
209
|
tags?: StringArrayQueryType;
|
|
203
210
|
createdAt?: DateQueryType;
|
|
204
211
|
updatedAt?: DateQueryType;
|