@uniformdev/assets 19.119.0 → 19.121.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/LICENSE.txt CHANGED
@@ -1,2 +1,2 @@
1
- © 2023 Uniform Systems, Inc. All Rights Reserved.
1
+ © 2024 Uniform Systems, Inc. All Rights Reserved.
2
2
  See details of Uniform Systems, Inc. Master Subscription Agreement here: https://uniform.dev/eula
package/dist/index.d.mts CHANGED
@@ -37,6 +37,15 @@ interface paths {
37
37
  * Has no effect when not fetching a list. This does impact performance when enabled.
38
38
  */
39
39
  withTotalCount?: components["parameters"]["withTotalCount"];
40
+ /**
41
+ * The ID of a release to fetch the content for.
42
+ *
43
+ * - When unspecified, all release content is excluded from the result(s).
44
+ * - When specified, all content is returned as it would appear in the release if it was released now. This includes both content copied to the release and changed, as well as content that is not part of the release.
45
+ *
46
+ * Content copied to a release can be differentiated from base content by the `releaseId` property on the content. If the content is not copied to the release, this property will be undefined.
47
+ */
48
+ releaseId?: components["parameters"]["releaseId"];
40
49
  };
41
50
  };
42
51
  responses: {
@@ -81,6 +90,11 @@ interface paths {
81
90
  * @description The project ID to upsert the asset to
82
91
  */
83
92
  projectId: string;
93
+ /**
94
+ * Format: uuid
95
+ * @description The release ID to upsert the asset to. If unspecified the asset belongs to the base.
96
+ */
97
+ releaseId?: string;
84
98
  asset?: components["schemas"]["AssetInput"];
85
99
  assets?: components["schemas"]["AssetInput"][];
86
100
  };
@@ -111,6 +125,12 @@ interface paths {
111
125
  * @description The ID of the project the asset to delete belongs to
112
126
  */
113
127
  projectId: string;
128
+ /**
129
+ * Format: uuid
130
+ * @description The ID of the release the asset to delete belongs to. If unspecified the asset belongs to the base.
131
+ * Note: deleting an asset from a release will not delete the asset from the base.
132
+ */
133
+ releaseId?: string;
114
134
  };
115
135
  };
116
136
  };
@@ -235,6 +255,11 @@ interface components {
235
255
  * @description Modified date string for this definition
236
256
  */
237
257
  modified: string;
258
+ /**
259
+ * Format: uuid
260
+ * @description The release this asset belongs to. If not set, the asset belongs to the base.
261
+ */
262
+ releaseId?: string;
238
263
  asset: components["schemas"]["Asset"];
239
264
  };
240
265
  AssetListResponse: {
@@ -272,6 +297,15 @@ interface components {
272
297
  * Has no effect when not fetching a list. This does impact performance when enabled.
273
298
  */
274
299
  withTotalCount: boolean;
300
+ /**
301
+ * @description The ID of a release to fetch the content for.
302
+ *
303
+ * - When unspecified, all release content is excluded from the result(s).
304
+ * - When specified, all content is returned as it would appear in the release if it was released now. This includes both content copied to the release and changed, as well as content that is not part of the release.
305
+ *
306
+ * Content copied to a release can be differentiated from base content by the `releaseId` property on the content. If the content is not copied to the release, this property will be undefined.
307
+ */
308
+ releaseId: string;
275
309
  };
276
310
  }
277
311
  interface external {
@@ -689,6 +723,9 @@ interface external {
689
723
  parameters?: {
690
724
  [key: string]: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
691
725
  };
726
+ slots?: {
727
+ [key: string]: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentInstance"][];
728
+ };
692
729
  variant?: string;
693
730
  };
694
731
  /**
@@ -705,6 +742,12 @@ interface external {
705
742
  };
706
743
  /** @description Allows overriding a display variant is allowed, if it is defined on the component the pattern is derived from. Default = false. */
707
744
  variants?: boolean;
745
+ /**
746
+ * @description If true, parameters that are not overridable will be hidden by default on pattern instances' editors.
747
+ * If false, all parameters will be shown on pattern instances' editors, but locked parameters will be read-only.
748
+ * If not set, the default is false.
749
+ */
750
+ hideLockedParameters?: boolean;
708
751
  };
709
752
  /**
710
753
  * @description Whether a parameter is overridable
package/dist/index.d.ts CHANGED
@@ -37,6 +37,15 @@ interface paths {
37
37
  * Has no effect when not fetching a list. This does impact performance when enabled.
38
38
  */
39
39
  withTotalCount?: components["parameters"]["withTotalCount"];
40
+ /**
41
+ * The ID of a release to fetch the content for.
42
+ *
43
+ * - When unspecified, all release content is excluded from the result(s).
44
+ * - When specified, all content is returned as it would appear in the release if it was released now. This includes both content copied to the release and changed, as well as content that is not part of the release.
45
+ *
46
+ * Content copied to a release can be differentiated from base content by the `releaseId` property on the content. If the content is not copied to the release, this property will be undefined.
47
+ */
48
+ releaseId?: components["parameters"]["releaseId"];
40
49
  };
41
50
  };
42
51
  responses: {
@@ -81,6 +90,11 @@ interface paths {
81
90
  * @description The project ID to upsert the asset to
82
91
  */
83
92
  projectId: string;
93
+ /**
94
+ * Format: uuid
95
+ * @description The release ID to upsert the asset to. If unspecified the asset belongs to the base.
96
+ */
97
+ releaseId?: string;
84
98
  asset?: components["schemas"]["AssetInput"];
85
99
  assets?: components["schemas"]["AssetInput"][];
86
100
  };
@@ -111,6 +125,12 @@ interface paths {
111
125
  * @description The ID of the project the asset to delete belongs to
112
126
  */
113
127
  projectId: string;
128
+ /**
129
+ * Format: uuid
130
+ * @description The ID of the release the asset to delete belongs to. If unspecified the asset belongs to the base.
131
+ * Note: deleting an asset from a release will not delete the asset from the base.
132
+ */
133
+ releaseId?: string;
114
134
  };
115
135
  };
116
136
  };
@@ -235,6 +255,11 @@ interface components {
235
255
  * @description Modified date string for this definition
236
256
  */
237
257
  modified: string;
258
+ /**
259
+ * Format: uuid
260
+ * @description The release this asset belongs to. If not set, the asset belongs to the base.
261
+ */
262
+ releaseId?: string;
238
263
  asset: components["schemas"]["Asset"];
239
264
  };
240
265
  AssetListResponse: {
@@ -272,6 +297,15 @@ interface components {
272
297
  * Has no effect when not fetching a list. This does impact performance when enabled.
273
298
  */
274
299
  withTotalCount: boolean;
300
+ /**
301
+ * @description The ID of a release to fetch the content for.
302
+ *
303
+ * - When unspecified, all release content is excluded from the result(s).
304
+ * - When specified, all content is returned as it would appear in the release if it was released now. This includes both content copied to the release and changed, as well as content that is not part of the release.
305
+ *
306
+ * Content copied to a release can be differentiated from base content by the `releaseId` property on the content. If the content is not copied to the release, this property will be undefined.
307
+ */
308
+ releaseId: string;
275
309
  };
276
310
  }
277
311
  interface external {
@@ -689,6 +723,9 @@ interface external {
689
723
  parameters?: {
690
724
  [key: string]: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
691
725
  };
726
+ slots?: {
727
+ [key: string]: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentInstance"][];
728
+ };
692
729
  variant?: string;
693
730
  };
694
731
  /**
@@ -705,6 +742,12 @@ interface external {
705
742
  };
706
743
  /** @description Allows overriding a display variant is allowed, if it is defined on the component the pattern is derived from. Default = false. */
707
744
  variants?: boolean;
745
+ /**
746
+ * @description If true, parameters that are not overridable will be hidden by default on pattern instances' editors.
747
+ * If false, all parameters will be shown on pattern instances' editors, but locked parameters will be read-only.
748
+ * If not set, the default is false.
749
+ */
750
+ hideLockedParameters?: boolean;
708
751
  };
709
752
  /**
710
753
  * @description Whether a parameter is overridable
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/assets",
3
- "version": "19.119.0",
3
+ "version": "19.121.1-alpha.3+7d8c709610",
4
4
  "description": "Uniform Assets",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -36,7 +36,7 @@
36
36
  "access": "public"
37
37
  },
38
38
  "dependencies": {
39
- "@uniformdev/context": "19.119.0"
39
+ "@uniformdev/context": "19.121.1-alpha.3+7d8c709610"
40
40
  },
41
- "gitHead": "103e99a2813a021e3a9bc6e3c4fd27474c74c09e"
41
+ "gitHead": "7d8c70961033e6ec47b7f8874b5e49b224367cf5"
42
42
  }