@wix/categories 1.0.44 → 1.0.46
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/index.d.ts +2 -1
- package/build/cjs/index.js +2 -1
- package/build/cjs/index.js.map +1 -1
- package/build/es/index.d.ts +2 -1
- package/build/es/index.js +2 -1
- package/build/es/index.js.map +1 -1
- package/package.json +5 -4
- package/type-bundles/context.bundle.d.ts +322 -99
- package/type-bundles/index.bundle.d.ts +322 -99
- package/type-bundles/meta.bundle.d.ts +30 -54
|
@@ -1496,16 +1496,23 @@ declare enum RequestedFields$1 {
|
|
|
1496
1496
|
interface QueryCategoriesResponse$1 {
|
|
1497
1497
|
/** Categories which satisfy the provided query. */
|
|
1498
1498
|
categories?: Category$1[];
|
|
1499
|
-
/** Paging metadata.
|
|
1500
|
-
pagingMetadata?:
|
|
1499
|
+
/** Paging metadata. */
|
|
1500
|
+
pagingMetadata?: CursorPagingMetadata$1;
|
|
1501
1501
|
}
|
|
1502
|
-
interface
|
|
1503
|
-
/**
|
|
1502
|
+
interface CursorPagingMetadata$1 {
|
|
1503
|
+
/** Number of items returned in the response. */
|
|
1504
1504
|
count?: number | null;
|
|
1505
|
-
/**
|
|
1506
|
-
cursors?:
|
|
1505
|
+
/** Cursor strings that point to the next page, previous page, or both. */
|
|
1506
|
+
cursors?: Cursors$1;
|
|
1507
|
+
/**
|
|
1508
|
+
* Whether there are more pages to retrieve following the current page.
|
|
1509
|
+
*
|
|
1510
|
+
* + `true`: Another page of results can be retrieved.
|
|
1511
|
+
* + `false`: This is the last page.
|
|
1512
|
+
*/
|
|
1513
|
+
hasNext?: boolean | null;
|
|
1507
1514
|
}
|
|
1508
|
-
interface
|
|
1515
|
+
interface Cursors$1 {
|
|
1509
1516
|
/** Cursor string pointing to the next page in the list of results. */
|
|
1510
1517
|
next?: string | null;
|
|
1511
1518
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -1769,25 +1776,6 @@ interface SearchCategoriesResponse$1 {
|
|
|
1769
1776
|
/** Aggregation data. */
|
|
1770
1777
|
aggregationData?: AggregationData$1;
|
|
1771
1778
|
}
|
|
1772
|
-
interface CursorPagingMetadata$1 {
|
|
1773
|
-
/** Number of items returned in the response. */
|
|
1774
|
-
count?: number | null;
|
|
1775
|
-
/** Cursor strings that point to the next page, previous page, or both. */
|
|
1776
|
-
cursors?: Cursors$1;
|
|
1777
|
-
/**
|
|
1778
|
-
* Whether there are more pages to retrieve following the current page.
|
|
1779
|
-
*
|
|
1780
|
-
* + `true`: Another page of results can be retrieved.
|
|
1781
|
-
* + `false`: This is the last page.
|
|
1782
|
-
*/
|
|
1783
|
-
hasNext?: boolean | null;
|
|
1784
|
-
}
|
|
1785
|
-
interface Cursors$1 {
|
|
1786
|
-
/** Cursor string pointing to the next page in the list of results. */
|
|
1787
|
-
next?: string | null;
|
|
1788
|
-
/** Cursor pointing to the previous page in the list of results. */
|
|
1789
|
-
prev?: string | null;
|
|
1790
|
-
}
|
|
1791
1779
|
interface AggregationData$1 {
|
|
1792
1780
|
/** key = aggregation name (as derived from search request) */
|
|
1793
1781
|
results?: AggregationResults$1[];
|
|
@@ -2104,7 +2092,7 @@ interface BulkAddItemsToCategoryResponse$1 {
|
|
|
2104
2092
|
bulkActionMetadata?: BulkActionMetadata$1;
|
|
2105
2093
|
}
|
|
2106
2094
|
interface BulkItemsToCategoryResult$1 {
|
|
2107
|
-
/** Bulk action metadata for
|
|
2095
|
+
/** Bulk action metadata for item reference. */
|
|
2108
2096
|
itemMetadata?: ItemReferenceMetadata$1;
|
|
2109
2097
|
}
|
|
2110
2098
|
interface ItemReferenceMetadata$1 {
|
|
@@ -4165,16 +4153,23 @@ declare enum RequestedFields {
|
|
|
4165
4153
|
interface QueryCategoriesResponse {
|
|
4166
4154
|
/** Categories which satisfy the provided query. */
|
|
4167
4155
|
categories?: Category[];
|
|
4168
|
-
/** Paging metadata.
|
|
4169
|
-
pagingMetadata?:
|
|
4156
|
+
/** Paging metadata. */
|
|
4157
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
4170
4158
|
}
|
|
4171
|
-
interface
|
|
4172
|
-
/**
|
|
4159
|
+
interface CursorPagingMetadata {
|
|
4160
|
+
/** Number of items returned in the response. */
|
|
4173
4161
|
count?: number | null;
|
|
4174
|
-
/**
|
|
4175
|
-
cursors?:
|
|
4162
|
+
/** Cursor strings that point to the next page, previous page, or both. */
|
|
4163
|
+
cursors?: Cursors;
|
|
4164
|
+
/**
|
|
4165
|
+
* Whether there are more pages to retrieve following the current page.
|
|
4166
|
+
*
|
|
4167
|
+
* + `true`: Another page of results can be retrieved.
|
|
4168
|
+
* + `false`: This is the last page.
|
|
4169
|
+
*/
|
|
4170
|
+
hasNext?: boolean | null;
|
|
4176
4171
|
}
|
|
4177
|
-
interface
|
|
4172
|
+
interface Cursors {
|
|
4178
4173
|
/** Cursor string pointing to the next page in the list of results. */
|
|
4179
4174
|
next?: string | null;
|
|
4180
4175
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -4438,25 +4433,6 @@ interface SearchCategoriesResponse {
|
|
|
4438
4433
|
/** Aggregation data. */
|
|
4439
4434
|
aggregationData?: AggregationData;
|
|
4440
4435
|
}
|
|
4441
|
-
interface CursorPagingMetadata {
|
|
4442
|
-
/** Number of items returned in the response. */
|
|
4443
|
-
count?: number | null;
|
|
4444
|
-
/** Cursor strings that point to the next page, previous page, or both. */
|
|
4445
|
-
cursors?: Cursors;
|
|
4446
|
-
/**
|
|
4447
|
-
* Whether there are more pages to retrieve following the current page.
|
|
4448
|
-
*
|
|
4449
|
-
* + `true`: Another page of results can be retrieved.
|
|
4450
|
-
* + `false`: This is the last page.
|
|
4451
|
-
*/
|
|
4452
|
-
hasNext?: boolean | null;
|
|
4453
|
-
}
|
|
4454
|
-
interface Cursors {
|
|
4455
|
-
/** Cursor string pointing to the next page in the list of results. */
|
|
4456
|
-
next?: string | null;
|
|
4457
|
-
/** Cursor pointing to the previous page in the list of results. */
|
|
4458
|
-
prev?: string | null;
|
|
4459
|
-
}
|
|
4460
4436
|
interface AggregationData {
|
|
4461
4437
|
/** key = aggregation name (as derived from search request) */
|
|
4462
4438
|
results?: AggregationResults[];
|
|
@@ -4773,7 +4749,7 @@ interface BulkAddItemsToCategoryResponse {
|
|
|
4773
4749
|
bulkActionMetadata?: BulkActionMetadata;
|
|
4774
4750
|
}
|
|
4775
4751
|
interface BulkItemsToCategoryResult {
|
|
4776
|
-
/** Bulk action metadata for
|
|
4752
|
+
/** Bulk action metadata for item reference. */
|
|
4777
4753
|
itemMetadata?: ItemReferenceMetadata;
|
|
4778
4754
|
}
|
|
4779
4755
|
interface ItemReferenceMetadata {
|