@confighub/api 0.8.38 → 0.8.39

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
@@ -2888,7 +2888,7 @@ interface paths {
2888
2888
  put?: never;
2889
2889
  /**
2890
2890
  * Set path protection on a unit
2891
- * @description Set Protected values on the unit's MutationSources, marking paths as local overrides a merge must not overwrite when subtraction is disabled. A merge's WhereMutation protects further paths on top of these. Creates a new revision only if the protection actually changes. Requires Edit permission.
2891
+ * @description Set Protected values on the unit's MutationSources, marking paths as local overrides a merge must not overwrite when subtraction is disabled. A merge's WhereMutation protects further paths on top of these. UnprotectAll clears every Protected value before ResourceProtection is applied. Creates a new revision only if the protection actually changes. Requires Edit permission.
2892
2892
  */
2893
2893
  post: operations["SetUnitProtection"];
2894
2894
  delete?: never;
@@ -9267,6 +9267,8 @@ interface components {
9267
9267
  UnitProtectionRequest: {
9268
9268
  /** @description Per-resource Protected edits to apply to the Unit's MutationSources */
9269
9269
  ResourceProtection?: components["schemas"]["ResourceProtection"][] | null;
9270
+ /** @description Clear every Protected value on the Unit's MutationSources before applying ResourceProtection */
9271
+ UnprotectAll?: boolean;
9270
9272
  };
9271
9273
  UnitProtectionResponse: {
9272
9274
  Error?: components["schemas"]["ResponseError"];
package/dist/index.d.ts CHANGED
@@ -2888,7 +2888,7 @@ interface paths {
2888
2888
  put?: never;
2889
2889
  /**
2890
2890
  * Set path protection on a unit
2891
- * @description Set Protected values on the unit's MutationSources, marking paths as local overrides a merge must not overwrite when subtraction is disabled. A merge's WhereMutation protects further paths on top of these. Creates a new revision only if the protection actually changes. Requires Edit permission.
2891
+ * @description Set Protected values on the unit's MutationSources, marking paths as local overrides a merge must not overwrite when subtraction is disabled. A merge's WhereMutation protects further paths on top of these. UnprotectAll clears every Protected value before ResourceProtection is applied. Creates a new revision only if the protection actually changes. Requires Edit permission.
2892
2892
  */
2893
2893
  post: operations["SetUnitProtection"];
2894
2894
  delete?: never;
@@ -9267,6 +9267,8 @@ interface components {
9267
9267
  UnitProtectionRequest: {
9268
9268
  /** @description Per-resource Protected edits to apply to the Unit's MutationSources */
9269
9269
  ResourceProtection?: components["schemas"]["ResourceProtection"][] | null;
9270
+ /** @description Clear every Protected value on the Unit's MutationSources before applying ResourceProtection */
9271
+ UnprotectAll?: boolean;
9270
9272
  };
9271
9273
  UnitProtectionResponse: {
9272
9274
  Error?: components["schemas"]["ResponseError"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@confighub/api",
3
- "version": "0.8.38",
3
+ "version": "0.8.39",
4
4
  "description": "Typed, framework-agnostic client for the ConfigHub API",
5
5
  "license": "MIT",
6
6
  "repository": {