@wix/categories 1.0.39 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/categories",
3
- "version": "1.0.39",
3
+ "version": "1.0.40",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -18,7 +18,7 @@
18
18
  "type-bundles"
19
19
  ],
20
20
  "dependencies": {
21
- "@wix/categories_categories": "1.0.16"
21
+ "@wix/categories_categories": "1.0.17"
22
22
  },
23
23
  "devDependencies": {
24
24
  "glob": "^10.4.1",
@@ -42,5 +42,5 @@
42
42
  "fqdn": ""
43
43
  }
44
44
  },
45
- "falconPackageHash": "60bc5552102065372744495bac2f692cf219e8a392ef6d8683b29bc6"
45
+ "falconPackageHash": "810140751bc7aaf6cc1a7460a66fcea16fe64a0657b069c3168b2ee6"
46
46
  }
@@ -35,7 +35,10 @@ interface Category {
35
35
  * @readonly
36
36
  */
37
37
  itemCounter?: number;
38
- /** Category description. */
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 {
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;
66
70
  /**
@@ -1467,7 +1471,9 @@ interface CreateCategoryRequest {
1467
1471
  }
1468
1472
  declare enum SingleEntityOpsRequestedFields {
1469
1473
  UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
1470
- BREADCRUMBS = "BREADCRUMBS"
1474
+ BREADCRUMBS = "BREADCRUMBS",
1475
+ DESCRIPTION = "DESCRIPTION",
1476
+ RICH_CONTENT_DESCRIPTION = "RICH_CONTENT_DESCRIPTION"
1471
1477
  }
1472
1478
  interface CreateCategoryResponse {
1473
1479
  /** The created Category. */
@@ -3199,7 +3205,10 @@ interface UpdateCategory {
3199
3205
  * @readonly
3200
3206
  */
3201
3207
  itemCounter?: number;
3202
- /** Category description. */
3208
+ /**
3209
+ * Category description.
3210
+ * > **Note:** This field is returned only when you pass `fields: "DESCRIPTION"` in the request.
3211
+ */
3203
3212
  description?: string | null;
3204
3213
  /**
3205
3214
  * Whether the category is visible to site visitors in dynamic pages (If not passed, the default is `false`).
@@ -3225,6 +3234,7 @@ interface UpdateCategory {
3225
3234
  /**
3226
3235
  * Category description which supports rich content. It is independent from `description` field and can be used instead of it or in addition to it.
3227
3236
  * 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/.
3237
+ * > **Note:** This field is returned only when you pass `fields: "RICH_CONTENT_DESCRIPTION"` in the request.
3228
3238
  */
3229
3239
  richContentDescription?: RichContent;
3230
3240
  /**
@@ -35,7 +35,10 @@ interface Category {
35
35
  * @readonly
36
36
  */
37
37
  itemCounter?: number;
38
- /** Category description. */
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 {
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;
66
70
  /**
@@ -1467,7 +1471,9 @@ interface CreateCategoryRequest {
1467
1471
  }
1468
1472
  declare enum SingleEntityOpsRequestedFields {
1469
1473
  UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
1470
- BREADCRUMBS = "BREADCRUMBS"
1474
+ BREADCRUMBS = "BREADCRUMBS",
1475
+ DESCRIPTION = "DESCRIPTION",
1476
+ RICH_CONTENT_DESCRIPTION = "RICH_CONTENT_DESCRIPTION"
1471
1477
  }
1472
1478
  interface CreateCategoryResponse {
1473
1479
  /** The created Category. */
@@ -3199,7 +3205,10 @@ interface UpdateCategory {
3199
3205
  * @readonly
3200
3206
  */
3201
3207
  itemCounter?: number;
3202
- /** Category description. */
3208
+ /**
3209
+ * Category description.
3210
+ * > **Note:** This field is returned only when you pass `fields: "DESCRIPTION"` in the request.
3211
+ */
3203
3212
  description?: string | null;
3204
3213
  /**
3205
3214
  * Whether the category is visible to site visitors in dynamic pages (If not passed, the default is `false`).
@@ -3225,6 +3234,7 @@ interface UpdateCategory {
3225
3234
  /**
3226
3235
  * Category description which supports rich content. It is independent from `description` field and can be used instead of it or in addition to it.
3227
3236
  * 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/.
3237
+ * > **Note:** This field is returned only when you pass `fields: "RICH_CONTENT_DESCRIPTION"` in the request.
3228
3238
  */
3229
3239
  richContentDescription?: RichContent;
3230
3240
  /**
@@ -35,7 +35,10 @@ interface Category$1 {
35
35
  * @readonly
36
36
  */
37
37
  itemCounter?: number;
38
- /** Category description. */
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
  /**
@@ -1364,7 +1368,9 @@ interface CreateCategoryRequest$1 {
1364
1368
  }
1365
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. */
@@ -2602,7 +2608,10 @@ interface Category {
2602
2608
  * @readonly
2603
2609
  */
2604
2610
  itemCounter?: number;
2605
- /** Category description. */
2611
+ /**
2612
+ * Category description.
2613
+ * > **Note:** This field is returned only when you pass `fields: "DESCRIPTION"` in the request.
2614
+ */
2606
2615
  description?: string | null;
2607
2616
  /**
2608
2617
  * Whether the category is visible to site visitors in dynamic pages (If not passed, the default is `false`).
@@ -2628,6 +2637,7 @@ interface Category {
2628
2637
  /**
2629
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.
2630
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.
2631
2641
  */
2632
2642
  richContentDescription?: RichContent;
2633
2643
  /**
@@ -3908,7 +3918,9 @@ interface CreateCategoryRequest {
3908
3918
  }
3909
3919
  declare enum SingleEntityOpsRequestedFields {
3910
3920
  UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
3911
- BREADCRUMBS = "BREADCRUMBS"
3921
+ BREADCRUMBS = "BREADCRUMBS",
3922
+ DESCRIPTION = "DESCRIPTION",
3923
+ RICH_CONTENT_DESCRIPTION = "RICH_CONTENT_DESCRIPTION"
3912
3924
  }
3913
3925
  interface CreateCategoryResponse {
3914
3926
  /** The created Category. */