@mivis/petmart-api 1.2.212 → 1.2.213
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/package.json +1 -1
- package/type.d.ts +9 -0
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -299,6 +299,7 @@ declare namespace Components {
|
|
|
299
299
|
brands?: string;
|
|
300
300
|
sizes?: string;
|
|
301
301
|
materials?: string;
|
|
302
|
+
sortBy?: EProductsSortOptions;
|
|
302
303
|
}
|
|
303
304
|
|
|
304
305
|
export interface IProductQueryResponse {
|
|
@@ -1887,6 +1888,7 @@ declare namespace Components {
|
|
|
1887
1888
|
}
|
|
1888
1889
|
|
|
1889
1890
|
export interface ICollection {
|
|
1891
|
+
_id: string;
|
|
1890
1892
|
title: string;
|
|
1891
1893
|
desc?: string;
|
|
1892
1894
|
slug: string;
|
|
@@ -1896,5 +1898,12 @@ declare namespace Components {
|
|
|
1896
1898
|
status: ECollectionStatus;
|
|
1897
1899
|
position: number;
|
|
1898
1900
|
}
|
|
1901
|
+
|
|
1902
|
+
export enum EProductsSortOptions {
|
|
1903
|
+
NEWEST = 'Новинки',
|
|
1904
|
+
POPULAR = 'Популярные',
|
|
1905
|
+
CHEAPEST = 'Дешевле',
|
|
1906
|
+
EXPENSIVE = 'Дороже',
|
|
1907
|
+
}
|
|
1899
1908
|
}
|
|
1900
1909
|
}
|