@uniformdev/canvas 19.166.1 → 19.167.2-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
@@ -13390,6 +13390,13 @@ interface paths$7 {
13390
13390
  * This is a list query parameter and cannot be used with any primary query parameters
13391
13391
  */
13392
13392
  pattern?: components$5["parameters"]["pattern"];
13393
+ /**
13394
+ * This specifies which type of patterns to return. This query parameter has no effect when `pattern` is false.
13395
+ * * `all` - Returns all pattern instances
13396
+ * * `component` - Returns only component patterns
13397
+ * * `composition` - Returns only composition patterns
13398
+ */
13399
+ patternType?: components$5["parameters"]["patternType"];
13393
13400
  /** The project the composition(s) belong to */
13394
13401
  projectId: components$5["parameters"]["projectId"];
13395
13402
  /**
@@ -13820,6 +13827,13 @@ interface components$5 {
13820
13827
  * This is a list query parameter and cannot be used with any primary query parameters
13821
13828
  */
13822
13829
  pattern: boolean;
13830
+ /**
13831
+ * @description This specifies which type of patterns to return. This query parameter has no effect when `pattern` is false.
13832
+ * * `all` - Returns all pattern instances
13833
+ * * `component` - Returns only component patterns
13834
+ * * `composition` - Returns only composition patterns
13835
+ */
13836
+ patternType: "all" | "component" | "composition";
13823
13837
  /**
13824
13838
  * @description Sets the sorting of the results. If unspecified, results are sorted by name ascending.
13825
13839
  * Allowed values are: updated_at_DESC, updated_at_ASC, created_at_DESC, created_at_ASC,
@@ -17402,6 +17416,13 @@ interface external$6 {
17402
17416
  * This is a list query parameter and cannot be used with any primary query parameters
17403
17417
  */
17404
17418
  pattern?: external$6["../../../lambda/functions/v1-canvas.swagger.yml"]["components"]["parameters"]["pattern"];
17419
+ /**
17420
+ * This specifies which type of patterns to return. This query parameter has no effect when `pattern` is false.
17421
+ * * `all` - Returns all pattern instances
17422
+ * * `component` - Returns only component patterns
17423
+ * * `composition` - Returns only composition patterns
17424
+ */
17425
+ patternType?: external$6["../../../lambda/functions/v1-canvas.swagger.yml"]["components"]["parameters"]["patternType"];
17405
17426
  /** The project the composition(s) belong to */
17406
17427
  projectId: external$6["../../../lambda/functions/v1-canvas.swagger.yml"]["components"]["parameters"]["projectId"];
17407
17428
  /**
@@ -17832,6 +17853,13 @@ interface external$6 {
17832
17853
  * This is a list query parameter and cannot be used with any primary query parameters
17833
17854
  */
17834
17855
  pattern: boolean;
17856
+ /**
17857
+ * @description This specifies which type of patterns to return. This query parameter has no effect when `pattern` is false.
17858
+ * * `all` - Returns all pattern instances
17859
+ * * `component` - Returns only component patterns
17860
+ * * `composition` - Returns only composition patterns
17861
+ */
17862
+ patternType: "all" | "component" | "composition";
17835
17863
  /**
17836
17864
  * @description Sets the sorting of the results. If unspecified, results are sorted by name ascending.
17837
17865
  * Allowed values are: updated_at_DESC, updated_at_ASC, created_at_DESC, created_at_ASC,
@@ -20281,6 +20309,13 @@ interface external$5 {
20281
20309
  * This is a list query parameter and cannot be used with any primary query parameters
20282
20310
  */
20283
20311
  pattern?: external$5["v1-canvas.swagger.yml"]["components"]["parameters"]["pattern"];
20312
+ /**
20313
+ * This specifies which type of patterns to return. This query parameter has no effect when `pattern` is false.
20314
+ * * `all` - Returns all pattern instances
20315
+ * * `component` - Returns only component patterns
20316
+ * * `composition` - Returns only composition patterns
20317
+ */
20318
+ patternType?: external$5["v1-canvas.swagger.yml"]["components"]["parameters"]["patternType"];
20284
20319
  /** The project the composition(s) belong to */
20285
20320
  projectId: external$5["v1-canvas.swagger.yml"]["components"]["parameters"]["projectId"];
20286
20321
  /**
@@ -20711,6 +20746,13 @@ interface external$5 {
20711
20746
  * This is a list query parameter and cannot be used with any primary query parameters
20712
20747
  */
20713
20748
  pattern: boolean;
20749
+ /**
20750
+ * @description This specifies which type of patterns to return. This query parameter has no effect when `pattern` is false.
20751
+ * * `all` - Returns all pattern instances
20752
+ * * `component` - Returns only component patterns
20753
+ * * `composition` - Returns only composition patterns
20754
+ */
20755
+ patternType: "all" | "component" | "composition";
20714
20756
  /**
20715
20757
  * @description Sets the sorting of the results. If unspecified, results are sorted by name ascending.
20716
20758
  * Allowed values are: updated_at_DESC, updated_at_ASC, created_at_DESC, created_at_ASC,
@@ -21494,6 +21536,10 @@ type DataResolutionParameters = {
21494
21536
  * Because this adds a lot of data to the response, we do not recommend using this unless diagnosing performance issues.
21495
21537
  */
21496
21538
  diagnostics?: boolean;
21539
+ /**
21540
+ * Controls how many levels deep content references should be resolved.
21541
+ */
21542
+ resolutionDepth?: number;
21497
21543
  };
21498
21544
  /** Types of issue that can occur when fetching composition data */
21499
21545
  type DataResolutionIssue = PatternIssue | DataResourceIssue | DataElementBindingIssue | DynamicInputIssue | DataResolutionConfigIssue;
package/dist/index.d.ts CHANGED
@@ -13390,6 +13390,13 @@ interface paths$7 {
13390
13390
  * This is a list query parameter and cannot be used with any primary query parameters
13391
13391
  */
13392
13392
  pattern?: components$5["parameters"]["pattern"];
13393
+ /**
13394
+ * This specifies which type of patterns to return. This query parameter has no effect when `pattern` is false.
13395
+ * * `all` - Returns all pattern instances
13396
+ * * `component` - Returns only component patterns
13397
+ * * `composition` - Returns only composition patterns
13398
+ */
13399
+ patternType?: components$5["parameters"]["patternType"];
13393
13400
  /** The project the composition(s) belong to */
13394
13401
  projectId: components$5["parameters"]["projectId"];
13395
13402
  /**
@@ -13820,6 +13827,13 @@ interface components$5 {
13820
13827
  * This is a list query parameter and cannot be used with any primary query parameters
13821
13828
  */
13822
13829
  pattern: boolean;
13830
+ /**
13831
+ * @description This specifies which type of patterns to return. This query parameter has no effect when `pattern` is false.
13832
+ * * `all` - Returns all pattern instances
13833
+ * * `component` - Returns only component patterns
13834
+ * * `composition` - Returns only composition patterns
13835
+ */
13836
+ patternType: "all" | "component" | "composition";
13823
13837
  /**
13824
13838
  * @description Sets the sorting of the results. If unspecified, results are sorted by name ascending.
13825
13839
  * Allowed values are: updated_at_DESC, updated_at_ASC, created_at_DESC, created_at_ASC,
@@ -17402,6 +17416,13 @@ interface external$6 {
17402
17416
  * This is a list query parameter and cannot be used with any primary query parameters
17403
17417
  */
17404
17418
  pattern?: external$6["../../../lambda/functions/v1-canvas.swagger.yml"]["components"]["parameters"]["pattern"];
17419
+ /**
17420
+ * This specifies which type of patterns to return. This query parameter has no effect when `pattern` is false.
17421
+ * * `all` - Returns all pattern instances
17422
+ * * `component` - Returns only component patterns
17423
+ * * `composition` - Returns only composition patterns
17424
+ */
17425
+ patternType?: external$6["../../../lambda/functions/v1-canvas.swagger.yml"]["components"]["parameters"]["patternType"];
17405
17426
  /** The project the composition(s) belong to */
17406
17427
  projectId: external$6["../../../lambda/functions/v1-canvas.swagger.yml"]["components"]["parameters"]["projectId"];
17407
17428
  /**
@@ -17832,6 +17853,13 @@ interface external$6 {
17832
17853
  * This is a list query parameter and cannot be used with any primary query parameters
17833
17854
  */
17834
17855
  pattern: boolean;
17856
+ /**
17857
+ * @description This specifies which type of patterns to return. This query parameter has no effect when `pattern` is false.
17858
+ * * `all` - Returns all pattern instances
17859
+ * * `component` - Returns only component patterns
17860
+ * * `composition` - Returns only composition patterns
17861
+ */
17862
+ patternType: "all" | "component" | "composition";
17835
17863
  /**
17836
17864
  * @description Sets the sorting of the results. If unspecified, results are sorted by name ascending.
17837
17865
  * Allowed values are: updated_at_DESC, updated_at_ASC, created_at_DESC, created_at_ASC,
@@ -20281,6 +20309,13 @@ interface external$5 {
20281
20309
  * This is a list query parameter and cannot be used with any primary query parameters
20282
20310
  */
20283
20311
  pattern?: external$5["v1-canvas.swagger.yml"]["components"]["parameters"]["pattern"];
20312
+ /**
20313
+ * This specifies which type of patterns to return. This query parameter has no effect when `pattern` is false.
20314
+ * * `all` - Returns all pattern instances
20315
+ * * `component` - Returns only component patterns
20316
+ * * `composition` - Returns only composition patterns
20317
+ */
20318
+ patternType?: external$5["v1-canvas.swagger.yml"]["components"]["parameters"]["patternType"];
20284
20319
  /** The project the composition(s) belong to */
20285
20320
  projectId: external$5["v1-canvas.swagger.yml"]["components"]["parameters"]["projectId"];
20286
20321
  /**
@@ -20711,6 +20746,13 @@ interface external$5 {
20711
20746
  * This is a list query parameter and cannot be used with any primary query parameters
20712
20747
  */
20713
20748
  pattern: boolean;
20749
+ /**
20750
+ * @description This specifies which type of patterns to return. This query parameter has no effect when `pattern` is false.
20751
+ * * `all` - Returns all pattern instances
20752
+ * * `component` - Returns only component patterns
20753
+ * * `composition` - Returns only composition patterns
20754
+ */
20755
+ patternType: "all" | "component" | "composition";
20714
20756
  /**
20715
20757
  * @description Sets the sorting of the results. If unspecified, results are sorted by name ascending.
20716
20758
  * Allowed values are: updated_at_DESC, updated_at_ASC, created_at_DESC, created_at_ASC,
@@ -21494,6 +21536,10 @@ type DataResolutionParameters = {
21494
21536
  * Because this adds a lot of data to the response, we do not recommend using this unless diagnosing performance issues.
21495
21537
  */
21496
21538
  diagnostics?: boolean;
21539
+ /**
21540
+ * Controls how many levels deep content references should be resolved.
21541
+ */
21542
+ resolutionDepth?: number;
21497
21543
  };
21498
21544
  /** Types of issue that can occur when fetching composition data */
21499
21545
  type DataResolutionIssue = PatternIssue | DataResourceIssue | DataElementBindingIssue | DynamicInputIssue | DataResolutionConfigIssue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas",
3
- "version": "19.166.1",
3
+ "version": "19.167.2-alpha.3+d42f32a982",
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,8 +38,8 @@
38
38
  "pusher-js": "8.2.0"
39
39
  },
40
40
  "dependencies": {
41
- "@uniformdev/assets": "19.166.1",
42
- "@uniformdev/context": "19.166.1",
41
+ "@uniformdev/assets": "19.167.2-alpha.3+d42f32a982",
42
+ "@uniformdev/context": "19.167.2-alpha.3+d42f32a982",
43
43
  "immer": "10.0.4"
44
44
  },
45
45
  "files": [
@@ -48,5 +48,5 @@
48
48
  "publishConfig": {
49
49
  "access": "public"
50
50
  },
51
- "gitHead": "d6a92d76bb91fa41a51cf27a69d81e0cc985f80f"
51
+ "gitHead": "d42f32a98294c96f55a29c10c7c461c5327f56f3"
52
52
  }