@uniformdev/canvas 20.3.1 → 20.4.1-alpha.3

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/dist/index.d.mts CHANGED
@@ -2052,6 +2052,12 @@ interface components$k {
2052
2052
  entries: components$k["schemas"]["EntryApiResponse"][];
2053
2053
  /** @description Total number of entries that match the query. Only present when `withTotalCount` option is true */
2054
2054
  totalCount?: number;
2055
+ /** @description Per-field counts for distinct values */
2056
+ facets?: {
2057
+ [key: string]: {
2058
+ [key: string]: number;
2059
+ };
2060
+ };
2055
2061
  };
2056
2062
  /** @description Defines a connection to a dynamic token on a data resource
2057
2063
  * */
@@ -2438,7 +2444,7 @@ interface components$k {
2438
2444
  orderBy: string[];
2439
2445
  /**
2440
2446
  * @deprecated
2441
- * @description Returns counts for distinct values of the specified field.
2447
+ * @description Returns counts for distinct values of the specified field or fields (provided as comma-separated IDs).
2442
2448
  */
2443
2449
  facetBy: string;
2444
2450
  /**
@@ -2894,7 +2900,7 @@ interface paths$g {
2894
2900
  orderBy?: components$i["parameters"]["orderBy"];
2895
2901
  /**
2896
2902
  * @deprecated
2897
- * @description Returns counts for distinct values of the specified field.
2903
+ * @description Returns counts for distinct values of the specified field or fields (provided as comma-separated IDs).
2898
2904
  */
2899
2905
  facetBy?: components$i["parameters"]["facetBy"];
2900
2906
  /** @description Matches entries based on whether they are pattern entries or regular entries.
@@ -3698,6 +3704,12 @@ interface components$i {
3698
3704
  entries: components$i["schemas"]["EntryApiResponse"][];
3699
3705
  /** @description Total number of entries that match the query. Only present when `withTotalCount` option is true */
3700
3706
  totalCount?: number;
3707
+ /** @description Per-field counts for distinct values */
3708
+ facets?: {
3709
+ [key: string]: {
3710
+ [key: string]: number;
3711
+ };
3712
+ };
3701
3713
  };
3702
3714
  Error: {
3703
3715
  /** @description Error message(s) that occurred while processing the request */
@@ -3836,7 +3848,7 @@ interface components$i {
3836
3848
  orderBy: string[];
3837
3849
  /**
3838
3850
  * @deprecated
3839
- * @description Returns counts for distinct values of the specified field.
3851
+ * @description Returns counts for distinct values of the specified field or fields (provided as comma-separated IDs).
3840
3852
  */
3841
3853
  facetBy: string;
3842
3854
  /** @description Matches entries based on whether they are pattern entries or regular entries.
@@ -6019,7 +6031,7 @@ interface paths$9 {
6019
6031
  orderBy?: components$a["parameters"]["orderBy"];
6020
6032
  /**
6021
6033
  * @deprecated
6022
- * @description Returns counts for distinct values of the specified field.
6034
+ * @description Returns counts for distinct values of the specified field or fields (provided as comma-separated IDs).
6023
6035
  */
6024
6036
  facetBy?: components$a["parameters"]["facetBy"];
6025
6037
  /** @description Matches compositions based on whether they are a pattern composition or a regular composition.
@@ -6483,6 +6495,12 @@ interface components$a {
6483
6495
  compositions: components$a["schemas"]["CompositionApiResponse"][];
6484
6496
  /** @description Total number of compositions that match the query. Present only when `withTotalCount` option is true */
6485
6497
  totalCount?: number;
6498
+ /** @description Per-field counts for distinct values */
6499
+ facets?: {
6500
+ [key: string]: {
6501
+ [key: string]: number;
6502
+ };
6503
+ };
6486
6504
  };
6487
6505
  /** @description Defines a connection to a dynamic token on a data resource
6488
6506
  * */
@@ -7121,7 +7139,7 @@ interface components$a {
7121
7139
  orderBy: string[];
7122
7140
  /**
7123
7141
  * @deprecated
7124
- * @description Returns counts for distinct values of the specified field.
7142
+ * @description Returns counts for distinct values of the specified field or fields (provided as comma-separated IDs).
7125
7143
  */
7126
7144
  facetBy: string;
7127
7145
  /**
@@ -8049,6 +8067,12 @@ interface components$8 {
8049
8067
  compositions: components$8["schemas"]["CompositionApiResponse"][];
8050
8068
  /** @description Total number of compositions that match the query. Present only when `withTotalCount` option is true */
8051
8069
  totalCount?: number;
8070
+ /** @description Per-field counts for distinct values */
8071
+ facets?: {
8072
+ [key: string]: {
8073
+ [key: string]: number;
8074
+ };
8075
+ };
8052
8076
  };
8053
8077
  Error: {
8054
8078
  /** @description Error message(s) that occurred while processing the request */
@@ -8262,6 +8286,12 @@ interface components$8 {
8262
8286
  entries: components$8["schemas"]["EntryApiResponse"][];
8263
8287
  /** @description Total number of entries that match the query. Only present when `withTotalCount` option is true */
8264
8288
  totalCount?: number;
8289
+ /** @description Per-field counts for distinct values */
8290
+ facets?: {
8291
+ [key: string]: {
8292
+ [key: string]: number;
8293
+ };
8294
+ };
8265
8295
  };
8266
8296
  };
8267
8297
  responses: {
package/dist/index.d.ts CHANGED
@@ -2052,6 +2052,12 @@ interface components$k {
2052
2052
  entries: components$k["schemas"]["EntryApiResponse"][];
2053
2053
  /** @description Total number of entries that match the query. Only present when `withTotalCount` option is true */
2054
2054
  totalCount?: number;
2055
+ /** @description Per-field counts for distinct values */
2056
+ facets?: {
2057
+ [key: string]: {
2058
+ [key: string]: number;
2059
+ };
2060
+ };
2055
2061
  };
2056
2062
  /** @description Defines a connection to a dynamic token on a data resource
2057
2063
  * */
@@ -2438,7 +2444,7 @@ interface components$k {
2438
2444
  orderBy: string[];
2439
2445
  /**
2440
2446
  * @deprecated
2441
- * @description Returns counts for distinct values of the specified field.
2447
+ * @description Returns counts for distinct values of the specified field or fields (provided as comma-separated IDs).
2442
2448
  */
2443
2449
  facetBy: string;
2444
2450
  /**
@@ -2894,7 +2900,7 @@ interface paths$g {
2894
2900
  orderBy?: components$i["parameters"]["orderBy"];
2895
2901
  /**
2896
2902
  * @deprecated
2897
- * @description Returns counts for distinct values of the specified field.
2903
+ * @description Returns counts for distinct values of the specified field or fields (provided as comma-separated IDs).
2898
2904
  */
2899
2905
  facetBy?: components$i["parameters"]["facetBy"];
2900
2906
  /** @description Matches entries based on whether they are pattern entries or regular entries.
@@ -3698,6 +3704,12 @@ interface components$i {
3698
3704
  entries: components$i["schemas"]["EntryApiResponse"][];
3699
3705
  /** @description Total number of entries that match the query. Only present when `withTotalCount` option is true */
3700
3706
  totalCount?: number;
3707
+ /** @description Per-field counts for distinct values */
3708
+ facets?: {
3709
+ [key: string]: {
3710
+ [key: string]: number;
3711
+ };
3712
+ };
3701
3713
  };
3702
3714
  Error: {
3703
3715
  /** @description Error message(s) that occurred while processing the request */
@@ -3836,7 +3848,7 @@ interface components$i {
3836
3848
  orderBy: string[];
3837
3849
  /**
3838
3850
  * @deprecated
3839
- * @description Returns counts for distinct values of the specified field.
3851
+ * @description Returns counts for distinct values of the specified field or fields (provided as comma-separated IDs).
3840
3852
  */
3841
3853
  facetBy: string;
3842
3854
  /** @description Matches entries based on whether they are pattern entries or regular entries.
@@ -6019,7 +6031,7 @@ interface paths$9 {
6019
6031
  orderBy?: components$a["parameters"]["orderBy"];
6020
6032
  /**
6021
6033
  * @deprecated
6022
- * @description Returns counts for distinct values of the specified field.
6034
+ * @description Returns counts for distinct values of the specified field or fields (provided as comma-separated IDs).
6023
6035
  */
6024
6036
  facetBy?: components$a["parameters"]["facetBy"];
6025
6037
  /** @description Matches compositions based on whether they are a pattern composition or a regular composition.
@@ -6483,6 +6495,12 @@ interface components$a {
6483
6495
  compositions: components$a["schemas"]["CompositionApiResponse"][];
6484
6496
  /** @description Total number of compositions that match the query. Present only when `withTotalCount` option is true */
6485
6497
  totalCount?: number;
6498
+ /** @description Per-field counts for distinct values */
6499
+ facets?: {
6500
+ [key: string]: {
6501
+ [key: string]: number;
6502
+ };
6503
+ };
6486
6504
  };
6487
6505
  /** @description Defines a connection to a dynamic token on a data resource
6488
6506
  * */
@@ -7121,7 +7139,7 @@ interface components$a {
7121
7139
  orderBy: string[];
7122
7140
  /**
7123
7141
  * @deprecated
7124
- * @description Returns counts for distinct values of the specified field.
7142
+ * @description Returns counts for distinct values of the specified field or fields (provided as comma-separated IDs).
7125
7143
  */
7126
7144
  facetBy: string;
7127
7145
  /**
@@ -8049,6 +8067,12 @@ interface components$8 {
8049
8067
  compositions: components$8["schemas"]["CompositionApiResponse"][];
8050
8068
  /** @description Total number of compositions that match the query. Present only when `withTotalCount` option is true */
8051
8069
  totalCount?: number;
8070
+ /** @description Per-field counts for distinct values */
8071
+ facets?: {
8072
+ [key: string]: {
8073
+ [key: string]: number;
8074
+ };
8075
+ };
8052
8076
  };
8053
8077
  Error: {
8054
8078
  /** @description Error message(s) that occurred while processing the request */
@@ -8262,6 +8286,12 @@ interface components$8 {
8262
8286
  entries: components$8["schemas"]["EntryApiResponse"][];
8263
8287
  /** @description Total number of entries that match the query. Only present when `withTotalCount` option is true */
8264
8288
  totalCount?: number;
8289
+ /** @description Per-field counts for distinct values */
8290
+ facets?: {
8291
+ [key: string]: {
8292
+ [key: string]: number;
8293
+ };
8294
+ };
8265
8295
  };
8266
8296
  };
8267
8297
  responses: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas",
3
- "version": "20.3.1",
3
+ "version": "20.4.1-alpha.3+bc2e6fc5f7",
4
4
  "description": "Common functionality and types for Uniform Canvas",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -38,9 +38,9 @@
38
38
  "p-throttle": "5.0.0"
39
39
  },
40
40
  "dependencies": {
41
- "@uniformdev/assets": "20.3.1",
42
- "@uniformdev/context": "20.3.1",
43
- "@uniformdev/richtext": "20.3.1",
41
+ "@uniformdev/assets": "20.4.1-alpha.3+bc2e6fc5f7",
42
+ "@uniformdev/context": "20.4.1-alpha.3+bc2e6fc5f7",
43
+ "@uniformdev/richtext": "20.4.1-alpha.3+bc2e6fc5f7",
44
44
  "immer": "10.1.1"
45
45
  },
46
46
  "files": [
@@ -49,5 +49,5 @@
49
49
  "publishConfig": {
50
50
  "access": "public"
51
51
  },
52
- "gitHead": "4f5ad4dc937cd01f9f288d1d292bd4c7c226240b"
52
+ "gitHead": "bc2e6fc5f7d2920e46605385db043782f023bbbb"
53
53
  }