@wix/categories 1.0.38 → 1.0.40
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 +4 -4
- package/type-bundles/context.bundle.d.ts +49 -286
- package/type-bundles/index.bundle.d.ts +49 -286
- package/type-bundles/meta.bundle.d.ts +34 -14
|
@@ -35,7 +35,10 @@ interface Category$1 {
|
|
|
35
35
|
* @readonly
|
|
36
36
|
*/
|
|
37
37
|
itemCounter?: number;
|
|
38
|
-
/**
|
|
38
|
+
/**
|
|
39
|
+
* Category description.
|
|
40
|
+
* > **Note:** This field is returned only when you pass `fields: "DESCRIPTION"` in the request.
|
|
41
|
+
*/
|
|
39
42
|
description?: string | null;
|
|
40
43
|
/**
|
|
41
44
|
* Whether the category is visible to site visitors in dynamic pages (If not passed, the default is `false`).
|
|
@@ -61,6 +64,7 @@ interface Category$1 {
|
|
|
61
64
|
/**
|
|
62
65
|
* Category description which supports rich content. It is independent from `description` field and can be used instead of it or in addition to it.
|
|
63
66
|
* In order to use this field you have to integrate with "Ricos" on frontend side. To learn how to do it visit https://ricos.js.org/.
|
|
67
|
+
* > **Note:** This field is returned only when you pass `fields: "RICH_CONTENT_DESCRIPTION"` in the request.
|
|
64
68
|
*/
|
|
65
69
|
richContentDescription?: RichContent$1;
|
|
66
70
|
/**
|
|
@@ -1360,11 +1364,13 @@ interface CreateCategoryRequest$1 {
|
|
|
1360
1364
|
/** A reference to the tree that contains this category. */
|
|
1361
1365
|
treeReference: TreeReference$1;
|
|
1362
1366
|
/** Fields to return in the response. When not provided, these fields are not returned. */
|
|
1363
|
-
fields?:
|
|
1367
|
+
fields?: SingleEntityOpsRequestedFields$1[];
|
|
1364
1368
|
}
|
|
1365
|
-
declare enum
|
|
1369
|
+
declare enum SingleEntityOpsRequestedFields$1 {
|
|
1366
1370
|
UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
|
|
1367
|
-
BREADCRUMBS = "BREADCRUMBS"
|
|
1371
|
+
BREADCRUMBS = "BREADCRUMBS",
|
|
1372
|
+
DESCRIPTION = "DESCRIPTION",
|
|
1373
|
+
RICH_CONTENT_DESCRIPTION = "RICH_CONTENT_DESCRIPTION"
|
|
1368
1374
|
}
|
|
1369
1375
|
interface CreateCategoryResponse$1 {
|
|
1370
1376
|
/** The created Category. */
|
|
@@ -1376,7 +1382,7 @@ interface GetCategoryRequest$1 {
|
|
|
1376
1382
|
/** A reference to the tree that contains this category. */
|
|
1377
1383
|
treeReference: TreeReference$1;
|
|
1378
1384
|
/** Fields to return in the response. When not provided, these fields are not returned. */
|
|
1379
|
-
fields?:
|
|
1385
|
+
fields?: SingleEntityOpsRequestedFields$1[];
|
|
1380
1386
|
}
|
|
1381
1387
|
interface GetCategoryResponse$1 {
|
|
1382
1388
|
/** The retrieved Category. */
|
|
@@ -1388,7 +1394,7 @@ interface UpdateCategoryRequest$1 {
|
|
|
1388
1394
|
/** A reference to the tree that contains this category. */
|
|
1389
1395
|
treeReference: TreeReference$1;
|
|
1390
1396
|
/** Fields to return in the response. When not provided, these fields are not returned. */
|
|
1391
|
-
fields?:
|
|
1397
|
+
fields?: SingleEntityOpsRequestedFields$1[];
|
|
1392
1398
|
}
|
|
1393
1399
|
interface UpdateCategoryResponse$1 {
|
|
1394
1400
|
/** The updated Category. */
|
|
@@ -1423,6 +1429,10 @@ interface CursorPaging$1 {
|
|
|
1423
1429
|
*/
|
|
1424
1430
|
cursor?: string | null;
|
|
1425
1431
|
}
|
|
1432
|
+
declare enum RequestedFields$1 {
|
|
1433
|
+
UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
|
|
1434
|
+
BREADCRUMBS = "BREADCRUMBS"
|
|
1435
|
+
}
|
|
1426
1436
|
interface SearchCategoriesRequest$1 {
|
|
1427
1437
|
/** WQL query expression. */
|
|
1428
1438
|
search?: CursorSearch$1;
|
|
@@ -1967,7 +1977,7 @@ interface UpdateCategoryVisibilityRequest$1 {
|
|
|
1967
1977
|
/** Latest revision of the category. */
|
|
1968
1978
|
revision: string | null;
|
|
1969
1979
|
/** Fields to return in the response. When not provided, these fields are not returned. */
|
|
1970
|
-
fields?:
|
|
1980
|
+
fields?: SingleEntityOpsRequestedFields$1[];
|
|
1971
1981
|
}
|
|
1972
1982
|
interface UpdateCategoryVisibilityResponse$1 {
|
|
1973
1983
|
/** The updated Category. */
|
|
@@ -2598,7 +2608,10 @@ interface Category {
|
|
|
2598
2608
|
* @readonly
|
|
2599
2609
|
*/
|
|
2600
2610
|
itemCounter?: number;
|
|
2601
|
-
/**
|
|
2611
|
+
/**
|
|
2612
|
+
* Category description.
|
|
2613
|
+
* > **Note:** This field is returned only when you pass `fields: "DESCRIPTION"` in the request.
|
|
2614
|
+
*/
|
|
2602
2615
|
description?: string | null;
|
|
2603
2616
|
/**
|
|
2604
2617
|
* Whether the category is visible to site visitors in dynamic pages (If not passed, the default is `false`).
|
|
@@ -2624,6 +2637,7 @@ interface Category {
|
|
|
2624
2637
|
/**
|
|
2625
2638
|
* Category description which supports rich content. It is independent from `description` field and can be used instead of it or in addition to it.
|
|
2626
2639
|
* In order to use this field you have to integrate with "Ricos" on frontend side. To learn how to do it visit https://ricos.js.org/.
|
|
2640
|
+
* > **Note:** This field is returned only when you pass `fields: "RICH_CONTENT_DESCRIPTION"` in the request.
|
|
2627
2641
|
*/
|
|
2628
2642
|
richContentDescription?: RichContent;
|
|
2629
2643
|
/**
|
|
@@ -3900,11 +3914,13 @@ interface CreateCategoryRequest {
|
|
|
3900
3914
|
/** A reference to the tree that contains this category. */
|
|
3901
3915
|
treeReference: TreeReference;
|
|
3902
3916
|
/** Fields to return in the response. When not provided, these fields are not returned. */
|
|
3903
|
-
fields?:
|
|
3917
|
+
fields?: SingleEntityOpsRequestedFields[];
|
|
3904
3918
|
}
|
|
3905
|
-
declare enum
|
|
3919
|
+
declare enum SingleEntityOpsRequestedFields {
|
|
3906
3920
|
UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
|
|
3907
|
-
BREADCRUMBS = "BREADCRUMBS"
|
|
3921
|
+
BREADCRUMBS = "BREADCRUMBS",
|
|
3922
|
+
DESCRIPTION = "DESCRIPTION",
|
|
3923
|
+
RICH_CONTENT_DESCRIPTION = "RICH_CONTENT_DESCRIPTION"
|
|
3908
3924
|
}
|
|
3909
3925
|
interface CreateCategoryResponse {
|
|
3910
3926
|
/** The created Category. */
|
|
@@ -3916,7 +3932,7 @@ interface GetCategoryRequest {
|
|
|
3916
3932
|
/** A reference to the tree that contains this category. */
|
|
3917
3933
|
treeReference: TreeReference;
|
|
3918
3934
|
/** Fields to return in the response. When not provided, these fields are not returned. */
|
|
3919
|
-
fields?:
|
|
3935
|
+
fields?: SingleEntityOpsRequestedFields[];
|
|
3920
3936
|
}
|
|
3921
3937
|
interface GetCategoryResponse {
|
|
3922
3938
|
/** The retrieved Category. */
|
|
@@ -3928,7 +3944,7 @@ interface UpdateCategoryRequest {
|
|
|
3928
3944
|
/** A reference to the tree that contains this category. */
|
|
3929
3945
|
treeReference: TreeReference;
|
|
3930
3946
|
/** Fields to return in the response. When not provided, these fields are not returned. */
|
|
3931
|
-
fields?:
|
|
3947
|
+
fields?: SingleEntityOpsRequestedFields[];
|
|
3932
3948
|
}
|
|
3933
3949
|
interface UpdateCategoryResponse {
|
|
3934
3950
|
/** The updated Category. */
|
|
@@ -3963,6 +3979,10 @@ interface CursorPaging {
|
|
|
3963
3979
|
*/
|
|
3964
3980
|
cursor?: string | null;
|
|
3965
3981
|
}
|
|
3982
|
+
declare enum RequestedFields {
|
|
3983
|
+
UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
|
|
3984
|
+
BREADCRUMBS = "BREADCRUMBS"
|
|
3985
|
+
}
|
|
3966
3986
|
interface SearchCategoriesRequest {
|
|
3967
3987
|
/** WQL query expression. */
|
|
3968
3988
|
search?: CursorSearch;
|
|
@@ -4507,7 +4527,7 @@ interface UpdateCategoryVisibilityRequest {
|
|
|
4507
4527
|
/** Latest revision of the category. */
|
|
4508
4528
|
revision: string | null;
|
|
4509
4529
|
/** Fields to return in the response. When not provided, these fields are not returned. */
|
|
4510
|
-
fields?:
|
|
4530
|
+
fields?: SingleEntityOpsRequestedFields[];
|
|
4511
4531
|
}
|
|
4512
4532
|
interface UpdateCategoryVisibilityResponse {
|
|
4513
4533
|
/** The updated Category. */
|