@confighub/rtk-query 0.10.6 → 0.10.8
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.cjs.map +1 -1
- package/dist/index.d.cts +33 -11
- package/dist/index.d.ts +33 -11
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -13262,7 +13262,7 @@ type GetUnitBlameApiArg = {
|
|
|
13262
13262
|
resource?: string;
|
|
13263
13263
|
/** Only the fields with at least one of these flags, comma-separated. Conflict,Absent,Finding,ValidationError,ValidationWarning selects the fields that need attention.
|
|
13264
13264
|
|
|
13265
|
-
Supported values: Protected, Guarded, Conflict, Absent, Finding, ValidationError, ValidationWarning, Upgraded, SetByLink, SetByTrigger, ChangeOrder, Unreleased, Needed, Provided. */
|
|
13265
|
+
Supported values: Protected, Guarded, Conflict, Absent, Deleted, Finding, ValidationError, ValidationWarning, Upgraded, SetByLink, SetByTrigger, ChangeOrder, Unreleased, Needed, Provided. */
|
|
13266
13266
|
flags?: string;
|
|
13267
13267
|
/** Follow each merge and Link resolve into the unit it took the value from, to where the value was set. Default true; false reports each unit's own record, which names the upstream unit without reading it. */
|
|
13268
13268
|
upstream?: boolean;
|
|
@@ -17453,7 +17453,7 @@ type SearchUnitBlameApiArg = {
|
|
|
17453
17453
|
resource?: string;
|
|
17454
17454
|
/** Only the fields with at least one of these flags, comma-separated. Conflict,Absent,Finding,ValidationError,ValidationWarning selects the fields that need attention.
|
|
17455
17455
|
|
|
17456
|
-
Supported values: Protected, Guarded, Conflict, Absent, Finding, ValidationError, ValidationWarning, Upgraded, SetByLink, SetByTrigger, ChangeOrder, Unreleased, Needed, Provided. */
|
|
17456
|
+
Supported values: Protected, Guarded, Conflict, Absent, Deleted, Finding, ValidationError, ValidationWarning, Upgraded, SetByLink, SetByTrigger, ChangeOrder, Unreleased, Needed, Provided. */
|
|
17457
17457
|
flags?: string;
|
|
17458
17458
|
/** Follow each merge and Link resolve into the unit it took the value from, to where the value was set. Default true; false reports each unit's own record, which names the upstream unit without reading it. */
|
|
17459
17459
|
upstream?: boolean;
|
|
@@ -21324,6 +21324,8 @@ type MutationConflict = {
|
|
|
21324
21324
|
Guard?: WithheldGuard;
|
|
21325
21325
|
/** For GuardWithheld: the guard change that did not propagate */
|
|
21326
21326
|
GuardChange?: GuardDelta;
|
|
21327
|
+
/** For Guarded and GuardWithheld: every guard the operation's clearance did not cover, those it forbade with DoesNotExist first and then in key order. Guard is the first of them. */
|
|
21328
|
+
Guards?: WithheldGuard[];
|
|
21327
21329
|
/** Path of the mutation; empty for resource-level conflicts */
|
|
21328
21330
|
Path?: string;
|
|
21329
21331
|
/** Why the mutation was dropped */
|
|
@@ -23936,9 +23938,11 @@ type BlameField = {
|
|
|
23936
23938
|
Chain?: BlameOrigin[];
|
|
23937
23939
|
/** The unit's outstanding conflicts about the field: upstream changes to it a merge or resolve dropped. */
|
|
23938
23940
|
Conflicts?: MutationConflict[];
|
|
23941
|
+
/** True for a field, or a resource, that the unit does not have because a change deleted it: the unit's record still names the deletion. It has no value; its chain is the change that deleted it, and Protected says whether a merge from upstream leaves it deleted. */
|
|
23942
|
+
Deleted?: boolean;
|
|
23939
23943
|
/** The unit's Link findings about the field: what a Link's resolve could not do here. */
|
|
23940
23944
|
Findings?: LinkFinding[];
|
|
23941
|
-
/** What there is to know about the field, one code each: Protected, Guarded, Conflict, Absent, Finding, ValidationError, ValidationWarning, Upgraded, SetByLink, SetByTrigger, ChangeOrder, Unreleased, Needed and Provided. */
|
|
23945
|
+
/** What there is to know about the field, one code each: Protected, Guarded, Conflict, Absent, Deleted, Finding, ValidationError, ValidationWarning, Upgraded, SetByLink, SetByTrigger, ChangeOrder, Unreleased, Needed and Provided. */
|
|
23942
23946
|
Flags?: string[];
|
|
23943
23947
|
/** The guards on the field: its own, its ancestors' and its resource's, which an operation writing here has to be cleared for. */
|
|
23944
23948
|
Guards?: {
|
|
@@ -23946,9 +23950,9 @@ type BlameField = {
|
|
|
23946
23950
|
};
|
|
23947
23951
|
/** The unit's needed paths that are the field: a value it is to take from an upstream unit through a NeedsProvides Link. */
|
|
23948
23952
|
Needed?: BlameNeededPath[];
|
|
23949
|
-
/** The field's path, in the syntax functions and Links take. */
|
|
23953
|
+
/** The field's path, in the syntax functions and Links take. Empty on the row about the resource as a whole, which comes first among the resource's fields and carries what is recorded about the resource rather than one of its fields: the change that added or deleted it, whether it is protected as a whole, its guards, and its conflicts, findings and failed checks that name no path. */
|
|
23950
23954
|
Path?: string;
|
|
23951
|
-
/** True for a local override, which a merge from upstream leaves alone. */
|
|
23955
|
+
/** True for a local override, which a merge from upstream leaves alone. On the row about a resource as a whole, true when the resource is protected as a whole. */
|
|
23952
23956
|
Protected?: boolean;
|
|
23953
23957
|
/** The unit's provided paths that are the field: a value it offers downstream units through NeedsProvides Links. */
|
|
23954
23958
|
Provided?: AttributeInfo[];
|
|
@@ -23958,7 +23962,7 @@ type BlameField = {
|
|
|
23958
23962
|
ResourceName?: string;
|
|
23959
23963
|
/** The name of the resource without its scope, such as its namespace, which is how a resource a variant renamed is matched. */
|
|
23960
23964
|
ResourceNameWithoutScope?: string;
|
|
23961
|
-
/** True when the field is protected because its resource is protected as a whole. */
|
|
23965
|
+
/** True when the field is protected because its resource is protected as a whole, and on the row about that resource. */
|
|
23962
23966
|
ResourceProtected?: boolean;
|
|
23963
23967
|
/** The type of the resource the field is in. */
|
|
23964
23968
|
ResourceType?: string;
|
|
@@ -23995,6 +23999,10 @@ type UnitConflictsResponse = {
|
|
|
23995
23999
|
/** Number of conflicts dropped without changing the configuration data */
|
|
23996
24000
|
Dismissed?: number;
|
|
23997
24001
|
Error?: ResponseError;
|
|
24002
|
+
/** Number of permanent dismissals recorded, each a reason (or a reason and a guard) at one path of one resource */
|
|
24003
|
+
Recorded?: number;
|
|
24004
|
+
/** Number of permanent dismissals removed by Undismiss */
|
|
24005
|
+
Removed?: number;
|
|
23998
24006
|
/** The Unit as the request left it, or would have left it for a dry run */
|
|
23999
24007
|
Unit?: Unit;
|
|
24000
24008
|
};
|
|
@@ -24008,25 +24016,35 @@ type UnitConflictsResponseRead = {
|
|
|
24008
24016
|
/** Number of conflicts dropped without changing the configuration data */
|
|
24009
24017
|
Dismissed?: number;
|
|
24010
24018
|
Error?: ResponseError;
|
|
24019
|
+
/** Number of permanent dismissals recorded, each a reason (or a reason and a guard) at one path of one resource */
|
|
24020
|
+
Recorded?: number;
|
|
24021
|
+
/** Number of permanent dismissals removed by Undismiss */
|
|
24022
|
+
Removed?: number;
|
|
24011
24023
|
/** The Unit as the request left it, or would have left it for a dry run */
|
|
24012
24024
|
Unit?: UnitRead;
|
|
24013
24025
|
};
|
|
24014
24026
|
type UnitConflictSelector = {
|
|
24015
|
-
/** Match conflicts
|
|
24027
|
+
/** Match Guarded and GuardWithheld conflicts every one of whose guards is named here, as key or key=value; empty matches any conflict, guarded or not */
|
|
24028
|
+
Guards?: string[];
|
|
24029
|
+
/** Match conflicts at this path; empty matches any path, including resource-level conflicts. An element of a list may be named by position (spec.data.0.secretKey), by merge key (containers.?name=main.image), or as the conflict records it, and * matches any one list element or map key (spec.data.*.secretKey). */
|
|
24016
24030
|
Path?: string;
|
|
24017
|
-
/** Match conflicts dropped for this reason
|
|
24031
|
+
/** Match conflicts dropped for this reason, as their Reason names it; empty matches any reason */
|
|
24018
24032
|
Reason?: string;
|
|
24019
|
-
/** Match conflicts on this resource; empty matches any resource */
|
|
24033
|
+
/** Match conflicts on this resource, by its whole name (namespace/name, or /name for a cluster-scoped Kubernetes resource) or a name it had before a rename; empty matches any resource */
|
|
24020
24034
|
ResourceName?: string;
|
|
24035
|
+
/** Match conflicts on every resource with this name without its namespace, now or before a rename; empty matches any. With Permanent or Undismiss it has to match only one resource. */
|
|
24036
|
+
ResourceNameWithoutScope?: string;
|
|
24021
24037
|
/** Match conflicts on resources of this type, in any API version; empty matches any type. With ResourceName, it picks out one of several resources of that name. */
|
|
24022
24038
|
ResourceType?: string;
|
|
24023
24039
|
};
|
|
24024
24040
|
type UnitConflictsRequest = {
|
|
24025
|
-
/** Apply re-applies the withheld change; Dismiss drops the conflict without changing the configuration data */
|
|
24041
|
+
/** Apply re-applies the withheld change; Dismiss drops the conflict without changing the configuration data; Undismiss removes dismissals recorded with Permanent */
|
|
24026
24042
|
Action?: string;
|
|
24027
24043
|
/** Report what the request would do without writing anything. The response carries the Unit as it would be. */
|
|
24028
24044
|
DryRun?: boolean;
|
|
24029
|
-
/**
|
|
24045
|
+
/** With Dismiss, also dismiss the conflicts each selector matches whenever a later merge reports them. Each selector names one resource, by ResourceName or ResourceNameWithoutScope, and a Reason, and Guards for a guard-caused reason; an empty Path covers every path of the resource. */
|
|
24046
|
+
Permanent?: boolean;
|
|
24047
|
+
/** Which outstanding conflicts to act on. Empty acts on all of them. Permanent and Undismiss need at least one, each naming a ResourceName or ResourceNameWithoutScope, and for Permanent a Reason. */
|
|
24030
24048
|
Select?: UnitConflictSelector[];
|
|
24031
24049
|
};
|
|
24032
24050
|
type UnitDiff = {
|
|
@@ -24061,6 +24079,8 @@ type ResourceGuards = {
|
|
|
24061
24079
|
};
|
|
24062
24080
|
};
|
|
24063
24081
|
type UnitGuardRequest = {
|
|
24082
|
+
/** Recorded on the Revision the edit creates. Defaults to "Set path guards". */
|
|
24083
|
+
ChangeDescription?: string;
|
|
24064
24084
|
/** The classes of reason this edit is cleared for; required to edit a path that already carries guards */
|
|
24065
24085
|
Clearance?: Clearance;
|
|
24066
24086
|
/** Per-resource guard edits to apply to the Unit's PathAnnotations */
|
|
@@ -24180,6 +24200,8 @@ type ResourceProtection = {
|
|
|
24180
24200
|
Resource?: ResourceInfo;
|
|
24181
24201
|
};
|
|
24182
24202
|
type UnitProtectionRequest = {
|
|
24203
|
+
/** Recorded on the Revision the edit creates. Defaults to "Set path protection". */
|
|
24204
|
+
ChangeDescription?: string;
|
|
24183
24205
|
/** Per-resource Protected edits to apply to the Unit's MutationSources */
|
|
24184
24206
|
ResourceProtection?: ResourceProtection[] | null;
|
|
24185
24207
|
/** Clear every Protected value on the Unit's MutationSources before applying ResourceProtection */
|
package/dist/index.d.ts
CHANGED
|
@@ -13262,7 +13262,7 @@ type GetUnitBlameApiArg = {
|
|
|
13262
13262
|
resource?: string;
|
|
13263
13263
|
/** Only the fields with at least one of these flags, comma-separated. Conflict,Absent,Finding,ValidationError,ValidationWarning selects the fields that need attention.
|
|
13264
13264
|
|
|
13265
|
-
Supported values: Protected, Guarded, Conflict, Absent, Finding, ValidationError, ValidationWarning, Upgraded, SetByLink, SetByTrigger, ChangeOrder, Unreleased, Needed, Provided. */
|
|
13265
|
+
Supported values: Protected, Guarded, Conflict, Absent, Deleted, Finding, ValidationError, ValidationWarning, Upgraded, SetByLink, SetByTrigger, ChangeOrder, Unreleased, Needed, Provided. */
|
|
13266
13266
|
flags?: string;
|
|
13267
13267
|
/** Follow each merge and Link resolve into the unit it took the value from, to where the value was set. Default true; false reports each unit's own record, which names the upstream unit without reading it. */
|
|
13268
13268
|
upstream?: boolean;
|
|
@@ -17453,7 +17453,7 @@ type SearchUnitBlameApiArg = {
|
|
|
17453
17453
|
resource?: string;
|
|
17454
17454
|
/** Only the fields with at least one of these flags, comma-separated. Conflict,Absent,Finding,ValidationError,ValidationWarning selects the fields that need attention.
|
|
17455
17455
|
|
|
17456
|
-
Supported values: Protected, Guarded, Conflict, Absent, Finding, ValidationError, ValidationWarning, Upgraded, SetByLink, SetByTrigger, ChangeOrder, Unreleased, Needed, Provided. */
|
|
17456
|
+
Supported values: Protected, Guarded, Conflict, Absent, Deleted, Finding, ValidationError, ValidationWarning, Upgraded, SetByLink, SetByTrigger, ChangeOrder, Unreleased, Needed, Provided. */
|
|
17457
17457
|
flags?: string;
|
|
17458
17458
|
/** Follow each merge and Link resolve into the unit it took the value from, to where the value was set. Default true; false reports each unit's own record, which names the upstream unit without reading it. */
|
|
17459
17459
|
upstream?: boolean;
|
|
@@ -21324,6 +21324,8 @@ type MutationConflict = {
|
|
|
21324
21324
|
Guard?: WithheldGuard;
|
|
21325
21325
|
/** For GuardWithheld: the guard change that did not propagate */
|
|
21326
21326
|
GuardChange?: GuardDelta;
|
|
21327
|
+
/** For Guarded and GuardWithheld: every guard the operation's clearance did not cover, those it forbade with DoesNotExist first and then in key order. Guard is the first of them. */
|
|
21328
|
+
Guards?: WithheldGuard[];
|
|
21327
21329
|
/** Path of the mutation; empty for resource-level conflicts */
|
|
21328
21330
|
Path?: string;
|
|
21329
21331
|
/** Why the mutation was dropped */
|
|
@@ -23936,9 +23938,11 @@ type BlameField = {
|
|
|
23936
23938
|
Chain?: BlameOrigin[];
|
|
23937
23939
|
/** The unit's outstanding conflicts about the field: upstream changes to it a merge or resolve dropped. */
|
|
23938
23940
|
Conflicts?: MutationConflict[];
|
|
23941
|
+
/** True for a field, or a resource, that the unit does not have because a change deleted it: the unit's record still names the deletion. It has no value; its chain is the change that deleted it, and Protected says whether a merge from upstream leaves it deleted. */
|
|
23942
|
+
Deleted?: boolean;
|
|
23939
23943
|
/** The unit's Link findings about the field: what a Link's resolve could not do here. */
|
|
23940
23944
|
Findings?: LinkFinding[];
|
|
23941
|
-
/** What there is to know about the field, one code each: Protected, Guarded, Conflict, Absent, Finding, ValidationError, ValidationWarning, Upgraded, SetByLink, SetByTrigger, ChangeOrder, Unreleased, Needed and Provided. */
|
|
23945
|
+
/** What there is to know about the field, one code each: Protected, Guarded, Conflict, Absent, Deleted, Finding, ValidationError, ValidationWarning, Upgraded, SetByLink, SetByTrigger, ChangeOrder, Unreleased, Needed and Provided. */
|
|
23942
23946
|
Flags?: string[];
|
|
23943
23947
|
/** The guards on the field: its own, its ancestors' and its resource's, which an operation writing here has to be cleared for. */
|
|
23944
23948
|
Guards?: {
|
|
@@ -23946,9 +23950,9 @@ type BlameField = {
|
|
|
23946
23950
|
};
|
|
23947
23951
|
/** The unit's needed paths that are the field: a value it is to take from an upstream unit through a NeedsProvides Link. */
|
|
23948
23952
|
Needed?: BlameNeededPath[];
|
|
23949
|
-
/** The field's path, in the syntax functions and Links take. */
|
|
23953
|
+
/** The field's path, in the syntax functions and Links take. Empty on the row about the resource as a whole, which comes first among the resource's fields and carries what is recorded about the resource rather than one of its fields: the change that added or deleted it, whether it is protected as a whole, its guards, and its conflicts, findings and failed checks that name no path. */
|
|
23950
23954
|
Path?: string;
|
|
23951
|
-
/** True for a local override, which a merge from upstream leaves alone. */
|
|
23955
|
+
/** True for a local override, which a merge from upstream leaves alone. On the row about a resource as a whole, true when the resource is protected as a whole. */
|
|
23952
23956
|
Protected?: boolean;
|
|
23953
23957
|
/** The unit's provided paths that are the field: a value it offers downstream units through NeedsProvides Links. */
|
|
23954
23958
|
Provided?: AttributeInfo[];
|
|
@@ -23958,7 +23962,7 @@ type BlameField = {
|
|
|
23958
23962
|
ResourceName?: string;
|
|
23959
23963
|
/** The name of the resource without its scope, such as its namespace, which is how a resource a variant renamed is matched. */
|
|
23960
23964
|
ResourceNameWithoutScope?: string;
|
|
23961
|
-
/** True when the field is protected because its resource is protected as a whole. */
|
|
23965
|
+
/** True when the field is protected because its resource is protected as a whole, and on the row about that resource. */
|
|
23962
23966
|
ResourceProtected?: boolean;
|
|
23963
23967
|
/** The type of the resource the field is in. */
|
|
23964
23968
|
ResourceType?: string;
|
|
@@ -23995,6 +23999,10 @@ type UnitConflictsResponse = {
|
|
|
23995
23999
|
/** Number of conflicts dropped without changing the configuration data */
|
|
23996
24000
|
Dismissed?: number;
|
|
23997
24001
|
Error?: ResponseError;
|
|
24002
|
+
/** Number of permanent dismissals recorded, each a reason (or a reason and a guard) at one path of one resource */
|
|
24003
|
+
Recorded?: number;
|
|
24004
|
+
/** Number of permanent dismissals removed by Undismiss */
|
|
24005
|
+
Removed?: number;
|
|
23998
24006
|
/** The Unit as the request left it, or would have left it for a dry run */
|
|
23999
24007
|
Unit?: Unit;
|
|
24000
24008
|
};
|
|
@@ -24008,25 +24016,35 @@ type UnitConflictsResponseRead = {
|
|
|
24008
24016
|
/** Number of conflicts dropped without changing the configuration data */
|
|
24009
24017
|
Dismissed?: number;
|
|
24010
24018
|
Error?: ResponseError;
|
|
24019
|
+
/** Number of permanent dismissals recorded, each a reason (or a reason and a guard) at one path of one resource */
|
|
24020
|
+
Recorded?: number;
|
|
24021
|
+
/** Number of permanent dismissals removed by Undismiss */
|
|
24022
|
+
Removed?: number;
|
|
24011
24023
|
/** The Unit as the request left it, or would have left it for a dry run */
|
|
24012
24024
|
Unit?: UnitRead;
|
|
24013
24025
|
};
|
|
24014
24026
|
type UnitConflictSelector = {
|
|
24015
|
-
/** Match conflicts
|
|
24027
|
+
/** Match Guarded and GuardWithheld conflicts every one of whose guards is named here, as key or key=value; empty matches any conflict, guarded or not */
|
|
24028
|
+
Guards?: string[];
|
|
24029
|
+
/** Match conflicts at this path; empty matches any path, including resource-level conflicts. An element of a list may be named by position (spec.data.0.secretKey), by merge key (containers.?name=main.image), or as the conflict records it, and * matches any one list element or map key (spec.data.*.secretKey). */
|
|
24016
24030
|
Path?: string;
|
|
24017
|
-
/** Match conflicts dropped for this reason
|
|
24031
|
+
/** Match conflicts dropped for this reason, as their Reason names it; empty matches any reason */
|
|
24018
24032
|
Reason?: string;
|
|
24019
|
-
/** Match conflicts on this resource; empty matches any resource */
|
|
24033
|
+
/** Match conflicts on this resource, by its whole name (namespace/name, or /name for a cluster-scoped Kubernetes resource) or a name it had before a rename; empty matches any resource */
|
|
24020
24034
|
ResourceName?: string;
|
|
24035
|
+
/** Match conflicts on every resource with this name without its namespace, now or before a rename; empty matches any. With Permanent or Undismiss it has to match only one resource. */
|
|
24036
|
+
ResourceNameWithoutScope?: string;
|
|
24021
24037
|
/** Match conflicts on resources of this type, in any API version; empty matches any type. With ResourceName, it picks out one of several resources of that name. */
|
|
24022
24038
|
ResourceType?: string;
|
|
24023
24039
|
};
|
|
24024
24040
|
type UnitConflictsRequest = {
|
|
24025
|
-
/** Apply re-applies the withheld change; Dismiss drops the conflict without changing the configuration data */
|
|
24041
|
+
/** Apply re-applies the withheld change; Dismiss drops the conflict without changing the configuration data; Undismiss removes dismissals recorded with Permanent */
|
|
24026
24042
|
Action?: string;
|
|
24027
24043
|
/** Report what the request would do without writing anything. The response carries the Unit as it would be. */
|
|
24028
24044
|
DryRun?: boolean;
|
|
24029
|
-
/**
|
|
24045
|
+
/** With Dismiss, also dismiss the conflicts each selector matches whenever a later merge reports them. Each selector names one resource, by ResourceName or ResourceNameWithoutScope, and a Reason, and Guards for a guard-caused reason; an empty Path covers every path of the resource. */
|
|
24046
|
+
Permanent?: boolean;
|
|
24047
|
+
/** Which outstanding conflicts to act on. Empty acts on all of them. Permanent and Undismiss need at least one, each naming a ResourceName or ResourceNameWithoutScope, and for Permanent a Reason. */
|
|
24030
24048
|
Select?: UnitConflictSelector[];
|
|
24031
24049
|
};
|
|
24032
24050
|
type UnitDiff = {
|
|
@@ -24061,6 +24079,8 @@ type ResourceGuards = {
|
|
|
24061
24079
|
};
|
|
24062
24080
|
};
|
|
24063
24081
|
type UnitGuardRequest = {
|
|
24082
|
+
/** Recorded on the Revision the edit creates. Defaults to "Set path guards". */
|
|
24083
|
+
ChangeDescription?: string;
|
|
24064
24084
|
/** The classes of reason this edit is cleared for; required to edit a path that already carries guards */
|
|
24065
24085
|
Clearance?: Clearance;
|
|
24066
24086
|
/** Per-resource guard edits to apply to the Unit's PathAnnotations */
|
|
@@ -24180,6 +24200,8 @@ type ResourceProtection = {
|
|
|
24180
24200
|
Resource?: ResourceInfo;
|
|
24181
24201
|
};
|
|
24182
24202
|
type UnitProtectionRequest = {
|
|
24203
|
+
/** Recorded on the Revision the edit creates. Defaults to "Set path protection". */
|
|
24204
|
+
ChangeDescription?: string;
|
|
24183
24205
|
/** Per-resource Protected edits to apply to the Unit's MutationSources */
|
|
24184
24206
|
ResourceProtection?: ResourceProtection[] | null;
|
|
24185
24207
|
/** Clear every Protected value on the Unit's MutationSources before applying ResourceProtection */
|