@confighub/api 0.8.13 → 0.8.14

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.cts CHANGED
@@ -2456,7 +2456,7 @@ interface paths {
2456
2456
  get: operations["DownloadUnitData"];
2457
2457
  /**
2458
2458
  * Upload config data
2459
- * @description Replace the config data of a unit. The request body is the configuration itself. This is the only way configuration reaches a Unit other than a clone, which copies it server-side: Data is not part of the Unit entity, so no metadata write can carry one or destroy one. Send If-Match with the DataHash a read served to make the write conditional on nobody having written first. Requires Edit permission.
2459
+ * @description Replace the config data of a unit. The request body is the configuration itself. This is the only way configuration reaches a Unit other than a clone, which copies it server-side: Data is not part of the Unit entity, so no metadata write can carry one or destroy one. Send If-Match with the DataHash a read served to make the write conditional on the configuration still being that one. Requires Edit permission.
2460
2460
  */
2461
2461
  put: operations["UploadUnitData"];
2462
2462
  post?: never;
@@ -39294,7 +39294,10 @@ interface operations {
39294
39294
  /** @description User-defined category for the Mutation. Must be alphanumeric, at most 64 characters. The prefix 'ConfigHub' is reserved. */
39295
39295
  subgroup?: string;
39296
39296
  };
39297
- header?: never;
39297
+ header?: {
39298
+ /** @description The DataHash of the configuration this write replaces, as the ETag a read of the Unit's data served it (quoted) or bare. The write is refused with 409 Conflict when the Unit's configuration is not that one, so an edit made from one Unit's configuration, or before somebody else's write, cannot land over another. Omitted, the write is unconditional. */
39299
+ "If-Match"?: string;
39300
+ };
39298
39301
  path: {
39299
39302
  /** @description Unique identifier for a space_id */
39300
39303
  space_id: string;
package/dist/index.d.ts CHANGED
@@ -2456,7 +2456,7 @@ interface paths {
2456
2456
  get: operations["DownloadUnitData"];
2457
2457
  /**
2458
2458
  * Upload config data
2459
- * @description Replace the config data of a unit. The request body is the configuration itself. This is the only way configuration reaches a Unit other than a clone, which copies it server-side: Data is not part of the Unit entity, so no metadata write can carry one or destroy one. Send If-Match with the DataHash a read served to make the write conditional on nobody having written first. Requires Edit permission.
2459
+ * @description Replace the config data of a unit. The request body is the configuration itself. This is the only way configuration reaches a Unit other than a clone, which copies it server-side: Data is not part of the Unit entity, so no metadata write can carry one or destroy one. Send If-Match with the DataHash a read served to make the write conditional on the configuration still being that one. Requires Edit permission.
2460
2460
  */
2461
2461
  put: operations["UploadUnitData"];
2462
2462
  post?: never;
@@ -39294,7 +39294,10 @@ interface operations {
39294
39294
  /** @description User-defined category for the Mutation. Must be alphanumeric, at most 64 characters. The prefix 'ConfigHub' is reserved. */
39295
39295
  subgroup?: string;
39296
39296
  };
39297
- header?: never;
39297
+ header?: {
39298
+ /** @description The DataHash of the configuration this write replaces, as the ETag a read of the Unit's data served it (quoted) or bare. The write is refused with 409 Conflict when the Unit's configuration is not that one, so an edit made from one Unit's configuration, or before somebody else's write, cannot land over another. Omitted, the write is unconditional. */
39299
+ "If-Match"?: string;
39300
+ };
39298
39301
  path: {
39299
39302
  /** @description Unique identifier for a space_id */
39300
39303
  space_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@confighub/api",
3
- "version": "0.8.13",
3
+ "version": "0.8.14",
4
4
  "description": "Typed, framework-agnostic client for the ConfigHub API",
5
5
  "license": "MIT",
6
6
  "repository": {