@confighub/rtk-query 0.8.8 → 0.8.9

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
@@ -6579,7 +6579,7 @@ type PromoteApiResponse = /** status 200 OK */ PromoteResult | /** status 207 Mu
6579
6579
  type PromoteApiArg = {
6580
6580
  /** Deprecated: use DryRun in the request body. Plan the promotion, evaluate its gates, and return the same response without writing anything. Either one asks for a dry run. */
6581
6581
  dryRun?: boolean;
6582
- /** 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, as entries of its MutationSources, and Diff for the same change path by path with the values on both sides. On a dry run either one runs the merges a plan otherwise skips, so they are returned only when named. */
6582
+ /** 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, as entries of its MutationSources, and Diff for the same change path by path with the values on both sides, and ConfigData for the configuration each Unit write produced, or on a dry run would produce. On a dry run any of them runs the merges a plan otherwise skips, so they are returned only when named. */
6583
6583
  include?: string;
6584
6584
  promoteRequest: PromoteRequest;
6585
6585
  };
@@ -15999,7 +15999,7 @@ type SearchUnitMutationSourcesApiArg = {
15999
15999
  };
16000
16000
  type UploadApiResponse = /** status 200 OK */ UploadResult | /** status 207 Multi-Status: some Unit or Link writes failed, each carrying its own error */ UploadResult;
16001
16001
  type UploadApiArg = {
16002
- /** Plan the upload and return the same response without writing anything. */
16002
+ /** Deprecated: use DryRun in the request body. Plan the upload and return the same response without writing anything. Either one asks for a dry run. */
16003
16003
  dryRun?: boolean;
16004
16004
  /** 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, as entries of its MutationSources, and Diff for the same change path by path with the values on both sides. They cost something to return, and on a dry run either one runs the merges a plan otherwise skips, so they are returned only when named. */
16005
16005
  include?: string;
@@ -19807,6 +19807,8 @@ type PromoteLinkResult = {
19807
19807
  type PromoteUnitResult = {
19808
19808
  /** Upgrade, Resolve, Mark, Empty, Revive, Clone, Invoke, Unchanged, or Skip. */
19809
19809
  Action?: string;
19810
+ /** The configuration the write produced, or on a dry run would produce. Returned when include names ConfigData, for a Unit the promotion writes. */
19811
+ ConfigData?: string;
19810
19812
  /** Paths withheld because they were overridden locally or guarded. */
19811
19813
  Conflicts?: MutationConflictList;
19812
19814
  /** The same change path by path, with the values on both sides. Returned when include names Diff. */
@@ -21755,8 +21757,12 @@ type UploadRequest = {
21755
21757
  ChangeSetDescription?: string;
21756
21758
  /** An existing ChangeSet to record the writes in. Default: one new ChangeSet per Space. */
21757
21759
  ChangeSetID?: string;
21760
+ /** The guarded reasons the Unit writes are cleared for. A path whose guards this does not cover is not written, and the withheld change is reported in the Unit's Conflicts. */
21761
+ Clearance?: Clearance;
21758
21762
  /** Placement of each component. Exactly one is supported. */
21759
21763
  Components?: UploadComponentRequest[];
21764
+ /** Plan the upload and return the same response without writing anything. */
21765
+ DryRun?: boolean;
21760
21766
  /** The bundle's files. Paths must be relative and may not contain "..". Exactly one of Files and Source.Pull is given. */
21761
21767
  Files?: UploadRequestFile[];
21762
21768
  /** The bundle is part of what its source owns: Units the source owns that it leaves out are left alone rather than emptied. */
@@ -21768,6 +21774,10 @@ type UploadRequest = {
21768
21774
  };
21769
21775
  /** Slug pattern for created Spaces, over the Space's Component and labels. Default {{.Component.Slug}}-{{.Labels.Variant}}. */
21770
21776
  SpacePattern?: string;
21777
+ /** A category recorded on the Mutations of each Unit write. Alphanumeric, at most 64 characters, and not starting with ConfigHub. */
21778
+ Subgroup?: string;
21779
+ /** A Tag to put on the Revision each Unit the upload writes is left at, created Units included. Units the upload leaves Unchanged are not tagged. Requires Use permission on the Tag; a ChangeSet's or ChangeOrder's own Tag is refused. An upload with a Unit to write that the Tag already marks fails, and nothing is written. */
21780
+ TagID?: string;
21771
21781
  };
21772
21782
  type ExtendedUser = {
21773
21783
  Error?: ResponseError;
package/dist/index.d.ts CHANGED
@@ -6579,7 +6579,7 @@ type PromoteApiResponse = /** status 200 OK */ PromoteResult | /** status 207 Mu
6579
6579
  type PromoteApiArg = {
6580
6580
  /** Deprecated: use DryRun in the request body. Plan the promotion, evaluate its gates, and return the same response without writing anything. Either one asks for a dry run. */
6581
6581
  dryRun?: boolean;
6582
- /** 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, as entries of its MutationSources, and Diff for the same change path by path with the values on both sides. On a dry run either one runs the merges a plan otherwise skips, so they are returned only when named. */
6582
+ /** 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, as entries of its MutationSources, and Diff for the same change path by path with the values on both sides, and ConfigData for the configuration each Unit write produced, or on a dry run would produce. On a dry run any of them runs the merges a plan otherwise skips, so they are returned only when named. */
6583
6583
  include?: string;
6584
6584
  promoteRequest: PromoteRequest;
6585
6585
  };
@@ -15999,7 +15999,7 @@ type SearchUnitMutationSourcesApiArg = {
15999
15999
  };
16000
16000
  type UploadApiResponse = /** status 200 OK */ UploadResult | /** status 207 Multi-Status: some Unit or Link writes failed, each carrying its own error */ UploadResult;
16001
16001
  type UploadApiArg = {
16002
- /** Plan the upload and return the same response without writing anything. */
16002
+ /** Deprecated: use DryRun in the request body. Plan the upload and return the same response without writing anything. Either one asks for a dry run. */
16003
16003
  dryRun?: boolean;
16004
16004
  /** 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, as entries of its MutationSources, and Diff for the same change path by path with the values on both sides. They cost something to return, and on a dry run either one runs the merges a plan otherwise skips, so they are returned only when named. */
16005
16005
  include?: string;
@@ -19807,6 +19807,8 @@ type PromoteLinkResult = {
19807
19807
  type PromoteUnitResult = {
19808
19808
  /** Upgrade, Resolve, Mark, Empty, Revive, Clone, Invoke, Unchanged, or Skip. */
19809
19809
  Action?: string;
19810
+ /** The configuration the write produced, or on a dry run would produce. Returned when include names ConfigData, for a Unit the promotion writes. */
19811
+ ConfigData?: string;
19810
19812
  /** Paths withheld because they were overridden locally or guarded. */
19811
19813
  Conflicts?: MutationConflictList;
19812
19814
  /** The same change path by path, with the values on both sides. Returned when include names Diff. */
@@ -21755,8 +21757,12 @@ type UploadRequest = {
21755
21757
  ChangeSetDescription?: string;
21756
21758
  /** An existing ChangeSet to record the writes in. Default: one new ChangeSet per Space. */
21757
21759
  ChangeSetID?: string;
21760
+ /** The guarded reasons the Unit writes are cleared for. A path whose guards this does not cover is not written, and the withheld change is reported in the Unit's Conflicts. */
21761
+ Clearance?: Clearance;
21758
21762
  /** Placement of each component. Exactly one is supported. */
21759
21763
  Components?: UploadComponentRequest[];
21764
+ /** Plan the upload and return the same response without writing anything. */
21765
+ DryRun?: boolean;
21760
21766
  /** The bundle's files. Paths must be relative and may not contain "..". Exactly one of Files and Source.Pull is given. */
21761
21767
  Files?: UploadRequestFile[];
21762
21768
  /** The bundle is part of what its source owns: Units the source owns that it leaves out are left alone rather than emptied. */
@@ -21768,6 +21774,10 @@ type UploadRequest = {
21768
21774
  };
21769
21775
  /** Slug pattern for created Spaces, over the Space's Component and labels. Default {{.Component.Slug}}-{{.Labels.Variant}}. */
21770
21776
  SpacePattern?: string;
21777
+ /** A category recorded on the Mutations of each Unit write. Alphanumeric, at most 64 characters, and not starting with ConfigHub. */
21778
+ Subgroup?: string;
21779
+ /** A Tag to put on the Revision each Unit the upload writes is left at, created Units included. Units the upload leaves Unchanged are not tagged. Requires Use permission on the Tag; a ChangeSet's or ChangeOrder's own Tag is refused. An upload with a Unit to write that the Tag already marks fails, and nothing is written. */
21780
+ TagID?: string;
21771
21781
  };
21772
21782
  type ExtendedUser = {
21773
21783
  Error?: ResponseError;