@uniformdev/canvas 19.27.0 → 19.29.0

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +43 -24
  2. package/package.json +4 -4
package/dist/index.d.ts CHANGED
@@ -148,10 +148,10 @@ interface components$4 {
148
148
  /** @description Friendly name of the content type */
149
149
  name: string;
150
150
  /**
151
- * @description The public ID of the field whose value should be used to create a display title for entries of this content type in the UI.
152
- * The field type must support being used as a title field for this to work.
151
+ * @description The public ID of the field whose value should be used to create a display name for entries of this content type in the UI.
152
+ * The field type must support being used as an entry name for this to work.
153
153
  */
154
- titleField?: string | null;
154
+ entryName?: string | null;
155
155
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
156
156
  fields?: components$4["schemas"]["ComponentDefinitionParameter"][];
157
157
  /** @description Created date string for this content type (ignored for writes) */
@@ -767,10 +767,10 @@ interface external$9 {
767
767
  /** @description Friendly name of the content type */
768
768
  name: string;
769
769
  /**
770
- * @description The public ID of the field whose value should be used to create a display title for entries of this content type in the UI.
771
- * The field type must support being used as a title field for this to work.
770
+ * @description The public ID of the field whose value should be used to create a display name for entries of this content type in the UI.
771
+ * The field type must support being used as an entry name for this to work.
772
772
  */
773
- titleField?: string | null;
773
+ entryName?: string | null;
774
774
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
775
775
  fields?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
776
776
  /** @description Created date string for this content type (ignored for writes) */
@@ -1397,10 +1397,10 @@ interface external$8 {
1397
1397
  /** @description Friendly name of the content type */
1398
1398
  name: string;
1399
1399
  /**
1400
- * @description The public ID of the field whose value should be used to create a display title for entries of this content type in the UI.
1401
- * The field type must support being used as a title field for this to work.
1400
+ * @description The public ID of the field whose value should be used to create a display name for entries of this content type in the UI.
1401
+ * The field type must support being used as an entry name for this to work.
1402
1402
  */
1403
- titleField?: string | null;
1403
+ entryName?: string | null;
1404
1404
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
1405
1405
  fields?: external$8["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
1406
1406
  /** @description Created date string for this content type (ignored for writes) */
@@ -1958,10 +1958,10 @@ interface external$7 {
1958
1958
  /** @description Friendly name of the content type */
1959
1959
  name: string;
1960
1960
  /**
1961
- * @description The public ID of the field whose value should be used to create a display title for entries of this content type in the UI.
1962
- * The field type must support being used as a title field for this to work.
1961
+ * @description The public ID of the field whose value should be used to create a display name for entries of this content type in the UI.
1962
+ * The field type must support being used as an entry name for this to work.
1963
1963
  */
1964
- titleField?: string | null;
1964
+ entryName?: string | null;
1965
1965
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
1966
1966
  fields?: external$7["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
1967
1967
  /** @description Created date string for this content type (ignored for writes) */
@@ -2554,10 +2554,10 @@ interface external$6 {
2554
2554
  /** @description Friendly name of the content type */
2555
2555
  name: string;
2556
2556
  /**
2557
- * @description The public ID of the field whose value should be used to create a display title for entries of this content type in the UI.
2558
- * The field type must support being used as a title field for this to work.
2557
+ * @description The public ID of the field whose value should be used to create a display name for entries of this content type in the UI.
2558
+ * The field type must support being used as an entry name for this to work.
2559
2559
  */
2560
- titleField?: string | null;
2560
+ entryName?: string | null;
2561
2561
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
2562
2562
  fields?: external$6["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
2563
2563
  /** @description Created date string for this content type (ignored for writes) */
@@ -3536,10 +3536,10 @@ interface external$5 {
3536
3536
  /** @description Friendly name of the content type */
3537
3537
  name: string;
3538
3538
  /**
3539
- * @description The public ID of the field whose value should be used to create a display title for entries of this content type in the UI.
3540
- * The field type must support being used as a title field for this to work.
3539
+ * @description The public ID of the field whose value should be used to create a display name for entries of this content type in the UI.
3540
+ * The field type must support being used as an entry name for this to work.
3541
3541
  */
3542
- titleField?: string | null;
3542
+ entryName?: string | null;
3543
3543
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
3544
3544
  fields?: external$5["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
3545
3545
  /** @description Created date string for this content type (ignored for writes) */
@@ -4042,6 +4042,11 @@ interface components$1 {
4042
4042
  cacheHit: boolean;
4043
4043
  /** @description Indicates if the request results in a valid composition */
4044
4044
  hasValidComposition: boolean;
4045
+ /**
4046
+ * @description Cache from which the composition was resolved
4047
+ * @enum {string}
4048
+ */
4049
+ sourceCache?: "edge-memory-cache" | "edge-cdn-cache" | "long-term-cache" | "api-cache";
4045
4050
  /** @description Edge cache location used */
4046
4051
  cacheLocation?: string;
4047
4052
  /** @description Uniform-specifc request identifiers */
@@ -4343,10 +4348,10 @@ interface external$3 {
4343
4348
  /** @description Friendly name of the content type */
4344
4349
  name: string;
4345
4350
  /**
4346
- * @description The public ID of the field whose value should be used to create a display title for entries of this content type in the UI.
4347
- * The field type must support being used as a title field for this to work.
4351
+ * @description The public ID of the field whose value should be used to create a display name for entries of this content type in the UI.
4352
+ * The field type must support being used as an entry name for this to work.
4348
4353
  */
4349
- titleField?: string | null;
4354
+ entryName?: string | null;
4350
4355
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
4351
4356
  fields?: external$3["../../../lambda/functions/uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
4352
4357
  /** @description Created date string for this content type (ignored for writes) */
@@ -5342,6 +5347,8 @@ interface external$3 {
5342
5347
  * If false, the `_id` will not be present in the API response.
5343
5348
  */
5344
5349
  withComponentIDs?: external$3["../../../lambda/functions/v1-route.swagger.yml"]["components"]["parameters"]["withComponentIDs"];
5350
+ /** @deprecated Includes content source map metadata on supported parameters */
5351
+ withContentSourceMap?: external$3["../../../lambda/functions/v1-route.swagger.yml"]["components"]["parameters"]["withContentSourceMap"];
5345
5352
  };
5346
5353
  };
5347
5354
  responses: {
@@ -5436,6 +5443,11 @@ interface external$3 {
5436
5443
  * If false, the `_id` will not be present in the API response.
5437
5444
  */
5438
5445
  withComponentIDs: boolean;
5446
+ /**
5447
+ * @deprecated
5448
+ * @description Includes content source map metadata on supported parameters
5449
+ */
5450
+ withContentSourceMap: boolean;
5439
5451
  };
5440
5452
  };
5441
5453
  operations: {};
@@ -5483,6 +5495,8 @@ interface paths$2 {
5483
5495
  * If false, the `_id` will not be present in the API response.
5484
5496
  */
5485
5497
  withComponentIDs?: components["parameters"]["withComponentIDs"];
5498
+ /** @deprecated Includes content source map metadata on supported parameters */
5499
+ withContentSourceMap?: components["parameters"]["withContentSourceMap"];
5486
5500
  };
5487
5501
  };
5488
5502
  responses: {
@@ -5577,6 +5591,11 @@ interface components {
5577
5591
  * If false, the `_id` will not be present in the API response.
5578
5592
  */
5579
5593
  withComponentIDs: boolean;
5594
+ /**
5595
+ * @deprecated
5596
+ * @description Includes content source map metadata on supported parameters
5597
+ */
5598
+ withContentSourceMap: boolean;
5580
5599
  };
5581
5600
  }
5582
5601
  interface external$2 {
@@ -5766,10 +5785,10 @@ interface external$2 {
5766
5785
  /** @description Friendly name of the content type */
5767
5786
  name: string;
5768
5787
  /**
5769
- * @description The public ID of the field whose value should be used to create a display title for entries of this content type in the UI.
5770
- * The field type must support being used as a title field for this to work.
5788
+ * @description The public ID of the field whose value should be used to create a display name for entries of this content type in the UI.
5789
+ * The field type must support being used as an entry name for this to work.
5771
5790
  */
5772
- titleField?: string | null;
5791
+ entryName?: string | null;
5773
5792
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
5774
5793
  fields?: external$2["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
5775
5794
  /** @description Created date string for this content type (ignored for writes) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas",
3
- "version": "19.27.0",
3
+ "version": "19.29.0",
4
4
  "description": "Common functionality and types for Uniform Canvas",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -32,13 +32,13 @@
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/retry": "0.12.1",
35
- "lexical": "^0.11.0",
35
+ "lexical": "^0.11.1",
36
36
  "p-retry": "5.1.2",
37
37
  "p-throttle": "5.0.0",
38
38
  "pusher-js": "8.0.1"
39
39
  },
40
40
  "dependencies": {
41
- "@uniformdev/context": "19.27.0",
41
+ "@uniformdev/context": "19.29.0",
42
42
  "immer": "9.0.21"
43
43
  },
44
44
  "files": [
@@ -47,5 +47,5 @@
47
47
  "publishConfig": {
48
48
  "access": "public"
49
49
  },
50
- "gitHead": "8041631f93aca51a236597c1aea606c6dc8732e8"
50
+ "gitHead": "f8e9d5f6283fb3d72ba095c0e307907dc591ce4a"
51
51
  }