@wix/categories 1.0.50 → 1.0.52
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/cjs/context.js +1 -0
- package/build/cjs/context.js.map +1 -0
- package/build/cjs/index.js +1 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/meta.js +1 -0
- package/build/cjs/meta.js.map +1 -0
- package/package.json +3 -3
- package/type-bundles/context.bundle.d.ts +431 -87
- package/type-bundles/index.bundle.d.ts +431 -87
- package/type-bundles/meta.bundle.d.ts +8 -78
|
@@ -46,18 +46,6 @@ interface Category$1 {
|
|
|
46
46
|
* + Default: `false`.
|
|
47
47
|
*/
|
|
48
48
|
visible?: boolean | null;
|
|
49
|
-
/**
|
|
50
|
-
* Category breadcrumbs.
|
|
51
|
-
*
|
|
52
|
-
* > **Note:** Returned only when you pass `"BREADCRUMBS"` to the `fields` array in Categories API requests.
|
|
53
|
-
* @readonly
|
|
54
|
-
* @deprecated Category breadcrumbs.
|
|
55
|
-
*
|
|
56
|
-
* > **Note:** Returned only when you pass `"BREADCRUMBS"` to the `fields` array in Categories API requests.
|
|
57
|
-
* @replacedBy breadcrumbs_info
|
|
58
|
-
* @targetRemovalDate 2024-09-03
|
|
59
|
-
*/
|
|
60
|
-
breadcrumbs?: BreadcrumbItemValues$1;
|
|
61
49
|
/**
|
|
62
50
|
* Category breadcrumbs.
|
|
63
51
|
*
|
|
@@ -118,21 +106,6 @@ interface Image$1 {
|
|
|
118
106
|
*/
|
|
119
107
|
filename?: string | null;
|
|
120
108
|
}
|
|
121
|
-
interface BreadcrumbItemValues$1 {
|
|
122
|
-
/**
|
|
123
|
-
* List of breadcrumb data. The current category isn't included in the list.
|
|
124
|
-
* @readonly
|
|
125
|
-
*/
|
|
126
|
-
values?: BreadcrumbItem$1[];
|
|
127
|
-
}
|
|
128
|
-
interface BreadcrumbItem$1 {
|
|
129
|
-
/** Category ID. */
|
|
130
|
-
categoryId?: string;
|
|
131
|
-
/** Category name. */
|
|
132
|
-
categoryName?: string;
|
|
133
|
-
/** Category slug. */
|
|
134
|
-
categorySlug?: string;
|
|
135
|
-
}
|
|
136
109
|
interface BreadcrumbsInfo$1 {
|
|
137
110
|
/**
|
|
138
111
|
* List of breadcrumb data. The current category isn't included in the list.
|
|
@@ -1470,8 +1443,9 @@ interface QueryCategoriesRequest$1 {
|
|
|
1470
1443
|
/** Category tree reference details. */
|
|
1471
1444
|
treeReference: TreeReference$1;
|
|
1472
1445
|
/**
|
|
1473
|
-
* Whether to return
|
|
1474
|
-
*
|
|
1446
|
+
* Whether to return non-visible categories.
|
|
1447
|
+
*
|
|
1448
|
+
* Default: `false` (only visible categories are returned)
|
|
1475
1449
|
*/
|
|
1476
1450
|
returnNonVisibleCategories?: boolean;
|
|
1477
1451
|
/** Fields to include in the response. */
|
|
@@ -1527,7 +1501,7 @@ declare enum RequestedFields$1 {
|
|
|
1527
1501
|
BREADCRUMBS_INFO = "BREADCRUMBS_INFO"
|
|
1528
1502
|
}
|
|
1529
1503
|
interface QueryCategoriesResponse$1 {
|
|
1530
|
-
/**
|
|
1504
|
+
/** List of categories. */
|
|
1531
1505
|
categories?: Category$1[];
|
|
1532
1506
|
/** Paging metadata. */
|
|
1533
1507
|
pagingMetadata?: CursorPagingMetadata$1;
|
|
@@ -2282,14 +2256,6 @@ interface ImageNonNullableFields$1 {
|
|
|
2282
2256
|
height: number;
|
|
2283
2257
|
width: number;
|
|
2284
2258
|
}
|
|
2285
|
-
interface BreadcrumbItemNonNullableFields$1 {
|
|
2286
|
-
categoryId: string;
|
|
2287
|
-
categoryName: string;
|
|
2288
|
-
categorySlug: string;
|
|
2289
|
-
}
|
|
2290
|
-
interface BreadcrumbItemValuesNonNullableFields$1 {
|
|
2291
|
-
values: BreadcrumbItemNonNullableFields$1[];
|
|
2292
|
-
}
|
|
2293
2259
|
interface BreadcrumbNonNullableFields$1 {
|
|
2294
2260
|
categoryId: string;
|
|
2295
2261
|
categoryName: string;
|
|
@@ -2566,7 +2532,6 @@ interface CategoryNonNullableFields$1 {
|
|
|
2566
2532
|
image?: ImageNonNullableFields$1;
|
|
2567
2533
|
itemCounter: number;
|
|
2568
2534
|
totalItemCounter: number;
|
|
2569
|
-
breadcrumbs?: BreadcrumbItemValuesNonNullableFields$1;
|
|
2570
2535
|
breadcrumbsInfo?: BreadcrumbsInfoNonNullableFields$1;
|
|
2571
2536
|
seoData?: SeoSchemaNonNullableFields$1;
|
|
2572
2537
|
richContentDescription?: RichContentNonNullableFields$1;
|
|
@@ -2768,18 +2733,6 @@ interface Category {
|
|
|
2768
2733
|
* + Default: `false`.
|
|
2769
2734
|
*/
|
|
2770
2735
|
visible?: boolean | null;
|
|
2771
|
-
/**
|
|
2772
|
-
* Category breadcrumbs.
|
|
2773
|
-
*
|
|
2774
|
-
* > **Note:** Returned only when you pass `"BREADCRUMBS"` to the `fields` array in Categories API requests.
|
|
2775
|
-
* @readonly
|
|
2776
|
-
* @deprecated Category breadcrumbs.
|
|
2777
|
-
*
|
|
2778
|
-
* > **Note:** Returned only when you pass `"BREADCRUMBS"` to the `fields` array in Categories API requests.
|
|
2779
|
-
* @replacedBy breadcrumbs_info
|
|
2780
|
-
* @targetRemovalDate 2024-09-03
|
|
2781
|
-
*/
|
|
2782
|
-
breadcrumbs?: BreadcrumbItemValues;
|
|
2783
2736
|
/**
|
|
2784
2737
|
* Category breadcrumbs.
|
|
2785
2738
|
*
|
|
@@ -2817,21 +2770,6 @@ interface Category {
|
|
|
2817
2770
|
*/
|
|
2818
2771
|
extendedFields?: ExtendedFields;
|
|
2819
2772
|
}
|
|
2820
|
-
interface BreadcrumbItemValues {
|
|
2821
|
-
/**
|
|
2822
|
-
* List of breadcrumb data. The current category isn't included in the list.
|
|
2823
|
-
* @readonly
|
|
2824
|
-
*/
|
|
2825
|
-
values?: BreadcrumbItem[];
|
|
2826
|
-
}
|
|
2827
|
-
interface BreadcrumbItem {
|
|
2828
|
-
/** Category ID. */
|
|
2829
|
-
categoryId?: string;
|
|
2830
|
-
/** Category name. */
|
|
2831
|
-
categoryName?: string;
|
|
2832
|
-
/** Category slug. */
|
|
2833
|
-
categorySlug?: string;
|
|
2834
|
-
}
|
|
2835
2773
|
interface BreadcrumbsInfo {
|
|
2836
2774
|
/**
|
|
2837
2775
|
* List of breadcrumb data. The current category isn't included in the list.
|
|
@@ -4169,8 +4107,9 @@ interface QueryCategoriesRequest {
|
|
|
4169
4107
|
/** Category tree reference details. */
|
|
4170
4108
|
treeReference: TreeReference;
|
|
4171
4109
|
/**
|
|
4172
|
-
* Whether to return
|
|
4173
|
-
*
|
|
4110
|
+
* Whether to return non-visible categories.
|
|
4111
|
+
*
|
|
4112
|
+
* Default: `false` (only visible categories are returned)
|
|
4174
4113
|
*/
|
|
4175
4114
|
returnNonVisibleCategories?: boolean;
|
|
4176
4115
|
/** Fields to include in the response. */
|
|
@@ -4226,7 +4165,7 @@ declare enum RequestedFields {
|
|
|
4226
4165
|
BREADCRUMBS_INFO = "BREADCRUMBS_INFO"
|
|
4227
4166
|
}
|
|
4228
4167
|
interface QueryCategoriesResponse {
|
|
4229
|
-
/**
|
|
4168
|
+
/** List of categories. */
|
|
4230
4169
|
categories?: Category[];
|
|
4231
4170
|
/** Paging metadata. */
|
|
4232
4171
|
pagingMetadata?: CursorPagingMetadata;
|
|
@@ -4975,14 +4914,6 @@ interface GetArrangedItemsResponse {
|
|
|
4975
4914
|
/** List of arranged items. */
|
|
4976
4915
|
items?: ItemReference[];
|
|
4977
4916
|
}
|
|
4978
|
-
interface BreadcrumbItemNonNullableFields {
|
|
4979
|
-
categoryId: string;
|
|
4980
|
-
categoryName: string;
|
|
4981
|
-
categorySlug: string;
|
|
4982
|
-
}
|
|
4983
|
-
interface BreadcrumbItemValuesNonNullableFields {
|
|
4984
|
-
values: BreadcrumbItemNonNullableFields[];
|
|
4985
|
-
}
|
|
4986
4917
|
interface BreadcrumbNonNullableFields {
|
|
4987
4918
|
categoryId: string;
|
|
4988
4919
|
categoryName: string;
|
|
@@ -5259,7 +5190,6 @@ interface CategoryNonNullableFields {
|
|
|
5259
5190
|
image: string;
|
|
5260
5191
|
itemCounter: number;
|
|
5261
5192
|
totalItemCounter: number;
|
|
5262
|
-
breadcrumbs?: BreadcrumbItemValuesNonNullableFields;
|
|
5263
5193
|
breadcrumbsInfo?: BreadcrumbsInfoNonNullableFields;
|
|
5264
5194
|
seoData?: SeoSchemaNonNullableFields;
|
|
5265
5195
|
richContentDescription?: RichContentNonNullableFields;
|