@confighub/api 0.4.11 → 0.4.13

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
@@ -5934,6 +5934,8 @@ interface components {
5934
5934
  UploadComponentRequest: {
5935
5935
  /** @description Synthesize the release Namespace if the bundle lacks it. Off by default. */
5936
5936
  CreateNamespace?: boolean;
5937
+ /** @description Names of the components this one depends on, recorded in the Space's DependsOn annotation. Requires a Variant Space label. */
5938
+ DependsOn?: string[];
5937
5939
  /** @description The component name. */
5938
5940
  Name?: string;
5939
5941
  /** @description The release namespace. Required when the bundle has namespaced resources that name no namespace. */
@@ -5957,7 +5959,7 @@ interface components {
5957
5959
  };
5958
5960
  /**
5959
5961
  * Format: uuid
5960
- * @description Applies to the component's Spaces. New Units are created on it, except AppConfig and record Units.
5962
+ * @description Applies to the component's Spaces. New Units are created on it, except AppConfig Units.
5961
5963
  * @example 248df4b7-aa70-47b8-a036-33ac447e668d
5962
5964
  */
5963
5965
  TargetID?: string;
@@ -5982,12 +5984,6 @@ interface components {
5982
5984
  BrokenLinks?: components["schemas"]["UploadBrokenEdge"][];
5983
5985
  Name?: string;
5984
5986
  NamespaceCollision?: components["schemas"]["UploadNamespaceCollision"];
5985
- /**
5986
- * Format: uuid
5987
- * @description The record Unit holding what was uploaded and from where. Absent on a dry run.
5988
- * @example 248df4b7-aa70-47b8-a036-33ac447e668d
5989
- */
5990
- RecordUnitID?: string;
5991
5987
  /** @description Secret resources dropped from the bundle, as Kind/namespace/name. Secrets are never uploaded. */
5992
5988
  SkippedSecrets?: string[];
5993
5989
  SourceName?: string;
@@ -6083,10 +6079,10 @@ interface components {
6083
6079
  Action?: string;
6084
6080
  Conflicts?: components["schemas"]["MutationConflictList"];
6085
6081
  Error?: components["schemas"]["ResponseError"];
6086
- Mutations?: components["schemas"]["MutationMap"];
6082
+ Mutations?: components["schemas"]["ResourceMutationList"];
6087
6083
  /** @description The resource identity this Unit is keyed by. */
6088
6084
  Resource?: string;
6089
- /** @description Resource, AppConfig, AppConfigRendered, or Record. */
6085
+ /** @description Resource, AppConfig, or AppConfigRendered. */
6090
6086
  Role?: string;
6091
6087
  Slug?: string;
6092
6088
  /**
@@ -34303,6 +34299,8 @@ interface operations {
34303
34299
  query?: {
34304
34300
  /** @description Plan the upload and return the same response without writing anything. */
34305
34301
  dry_run?: boolean;
34302
+ /** @description Comma-separated parts of the result to return in addition to the actions: Mutations for what each Unit write changed, or on a dry run would change. It costs something to return, and on a dry run it runs the merges a plan otherwise skips, so it is returned only when named. */
34303
+ include?: string;
34306
34304
  };
34307
34305
  header?: never;
34308
34306
  path?: never;
package/dist/index.d.ts CHANGED
@@ -5934,6 +5934,8 @@ interface components {
5934
5934
  UploadComponentRequest: {
5935
5935
  /** @description Synthesize the release Namespace if the bundle lacks it. Off by default. */
5936
5936
  CreateNamespace?: boolean;
5937
+ /** @description Names of the components this one depends on, recorded in the Space's DependsOn annotation. Requires a Variant Space label. */
5938
+ DependsOn?: string[];
5937
5939
  /** @description The component name. */
5938
5940
  Name?: string;
5939
5941
  /** @description The release namespace. Required when the bundle has namespaced resources that name no namespace. */
@@ -5957,7 +5959,7 @@ interface components {
5957
5959
  };
5958
5960
  /**
5959
5961
  * Format: uuid
5960
- * @description Applies to the component's Spaces. New Units are created on it, except AppConfig and record Units.
5962
+ * @description Applies to the component's Spaces. New Units are created on it, except AppConfig Units.
5961
5963
  * @example 248df4b7-aa70-47b8-a036-33ac447e668d
5962
5964
  */
5963
5965
  TargetID?: string;
@@ -5982,12 +5984,6 @@ interface components {
5982
5984
  BrokenLinks?: components["schemas"]["UploadBrokenEdge"][];
5983
5985
  Name?: string;
5984
5986
  NamespaceCollision?: components["schemas"]["UploadNamespaceCollision"];
5985
- /**
5986
- * Format: uuid
5987
- * @description The record Unit holding what was uploaded and from where. Absent on a dry run.
5988
- * @example 248df4b7-aa70-47b8-a036-33ac447e668d
5989
- */
5990
- RecordUnitID?: string;
5991
5987
  /** @description Secret resources dropped from the bundle, as Kind/namespace/name. Secrets are never uploaded. */
5992
5988
  SkippedSecrets?: string[];
5993
5989
  SourceName?: string;
@@ -6083,10 +6079,10 @@ interface components {
6083
6079
  Action?: string;
6084
6080
  Conflicts?: components["schemas"]["MutationConflictList"];
6085
6081
  Error?: components["schemas"]["ResponseError"];
6086
- Mutations?: components["schemas"]["MutationMap"];
6082
+ Mutations?: components["schemas"]["ResourceMutationList"];
6087
6083
  /** @description The resource identity this Unit is keyed by. */
6088
6084
  Resource?: string;
6089
- /** @description Resource, AppConfig, AppConfigRendered, or Record. */
6085
+ /** @description Resource, AppConfig, or AppConfigRendered. */
6090
6086
  Role?: string;
6091
6087
  Slug?: string;
6092
6088
  /**
@@ -34303,6 +34299,8 @@ interface operations {
34303
34299
  query?: {
34304
34300
  /** @description Plan the upload and return the same response without writing anything. */
34305
34301
  dry_run?: boolean;
34302
+ /** @description Comma-separated parts of the result to return in addition to the actions: Mutations for what each Unit write changed, or on a dry run would change. It costs something to return, and on a dry run it runs the merges a plan otherwise skips, so it is returned only when named. */
34303
+ include?: string;
34306
34304
  };
34307
34305
  header?: never;
34308
34306
  path?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@confighub/api",
3
- "version": "0.4.11",
3
+ "version": "0.4.13",
4
4
  "description": "Typed, framework-agnostic client for the ConfigHub API",
5
5
  "license": "MIT",
6
6
  "repository": {