@confighub/rtk-query 0.10.7 → 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 +25 -5
- package/dist/index.d.ts +25 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -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 */
|
|
@@ -23997,6 +23999,10 @@ type UnitConflictsResponse = {
|
|
|
23997
23999
|
/** Number of conflicts dropped without changing the configuration data */
|
|
23998
24000
|
Dismissed?: number;
|
|
23999
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;
|
|
24000
24006
|
/** The Unit as the request left it, or would have left it for a dry run */
|
|
24001
24007
|
Unit?: Unit;
|
|
24002
24008
|
};
|
|
@@ -24010,25 +24016,35 @@ type UnitConflictsResponseRead = {
|
|
|
24010
24016
|
/** Number of conflicts dropped without changing the configuration data */
|
|
24011
24017
|
Dismissed?: number;
|
|
24012
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;
|
|
24013
24023
|
/** The Unit as the request left it, or would have left it for a dry run */
|
|
24014
24024
|
Unit?: UnitRead;
|
|
24015
24025
|
};
|
|
24016
24026
|
type UnitConflictSelector = {
|
|
24017
|
-
/** 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). */
|
|
24018
24030
|
Path?: string;
|
|
24019
|
-
/** Match conflicts dropped for this reason
|
|
24031
|
+
/** Match conflicts dropped for this reason, as their Reason names it; empty matches any reason */
|
|
24020
24032
|
Reason?: string;
|
|
24021
|
-
/** 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 */
|
|
24022
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;
|
|
24023
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. */
|
|
24024
24038
|
ResourceType?: string;
|
|
24025
24039
|
};
|
|
24026
24040
|
type UnitConflictsRequest = {
|
|
24027
|
-
/** 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 */
|
|
24028
24042
|
Action?: string;
|
|
24029
24043
|
/** Report what the request would do without writing anything. The response carries the Unit as it would be. */
|
|
24030
24044
|
DryRun?: boolean;
|
|
24031
|
-
/**
|
|
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. */
|
|
24032
24048
|
Select?: UnitConflictSelector[];
|
|
24033
24049
|
};
|
|
24034
24050
|
type UnitDiff = {
|
|
@@ -24063,6 +24079,8 @@ type ResourceGuards = {
|
|
|
24063
24079
|
};
|
|
24064
24080
|
};
|
|
24065
24081
|
type UnitGuardRequest = {
|
|
24082
|
+
/** Recorded on the Revision the edit creates. Defaults to "Set path guards". */
|
|
24083
|
+
ChangeDescription?: string;
|
|
24066
24084
|
/** The classes of reason this edit is cleared for; required to edit a path that already carries guards */
|
|
24067
24085
|
Clearance?: Clearance;
|
|
24068
24086
|
/** Per-resource guard edits to apply to the Unit's PathAnnotations */
|
|
@@ -24182,6 +24200,8 @@ type ResourceProtection = {
|
|
|
24182
24200
|
Resource?: ResourceInfo;
|
|
24183
24201
|
};
|
|
24184
24202
|
type UnitProtectionRequest = {
|
|
24203
|
+
/** Recorded on the Revision the edit creates. Defaults to "Set path protection". */
|
|
24204
|
+
ChangeDescription?: string;
|
|
24185
24205
|
/** Per-resource Protected edits to apply to the Unit's MutationSources */
|
|
24186
24206
|
ResourceProtection?: ResourceProtection[] | null;
|
|
24187
24207
|
/** Clear every Protected value on the Unit's MutationSources before applying ResourceProtection */
|
package/dist/index.d.ts
CHANGED
|
@@ -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 */
|
|
@@ -23997,6 +23999,10 @@ type UnitConflictsResponse = {
|
|
|
23997
23999
|
/** Number of conflicts dropped without changing the configuration data */
|
|
23998
24000
|
Dismissed?: number;
|
|
23999
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;
|
|
24000
24006
|
/** The Unit as the request left it, or would have left it for a dry run */
|
|
24001
24007
|
Unit?: Unit;
|
|
24002
24008
|
};
|
|
@@ -24010,25 +24016,35 @@ type UnitConflictsResponseRead = {
|
|
|
24010
24016
|
/** Number of conflicts dropped without changing the configuration data */
|
|
24011
24017
|
Dismissed?: number;
|
|
24012
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;
|
|
24013
24023
|
/** The Unit as the request left it, or would have left it for a dry run */
|
|
24014
24024
|
Unit?: UnitRead;
|
|
24015
24025
|
};
|
|
24016
24026
|
type UnitConflictSelector = {
|
|
24017
|
-
/** 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). */
|
|
24018
24030
|
Path?: string;
|
|
24019
|
-
/** Match conflicts dropped for this reason
|
|
24031
|
+
/** Match conflicts dropped for this reason, as their Reason names it; empty matches any reason */
|
|
24020
24032
|
Reason?: string;
|
|
24021
|
-
/** 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 */
|
|
24022
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;
|
|
24023
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. */
|
|
24024
24038
|
ResourceType?: string;
|
|
24025
24039
|
};
|
|
24026
24040
|
type UnitConflictsRequest = {
|
|
24027
|
-
/** 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 */
|
|
24028
24042
|
Action?: string;
|
|
24029
24043
|
/** Report what the request would do without writing anything. The response carries the Unit as it would be. */
|
|
24030
24044
|
DryRun?: boolean;
|
|
24031
|
-
/**
|
|
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. */
|
|
24032
24048
|
Select?: UnitConflictSelector[];
|
|
24033
24049
|
};
|
|
24034
24050
|
type UnitDiff = {
|
|
@@ -24063,6 +24079,8 @@ type ResourceGuards = {
|
|
|
24063
24079
|
};
|
|
24064
24080
|
};
|
|
24065
24081
|
type UnitGuardRequest = {
|
|
24082
|
+
/** Recorded on the Revision the edit creates. Defaults to "Set path guards". */
|
|
24083
|
+
ChangeDescription?: string;
|
|
24066
24084
|
/** The classes of reason this edit is cleared for; required to edit a path that already carries guards */
|
|
24067
24085
|
Clearance?: Clearance;
|
|
24068
24086
|
/** Per-resource guard edits to apply to the Unit's PathAnnotations */
|
|
@@ -24182,6 +24200,8 @@ type ResourceProtection = {
|
|
|
24182
24200
|
Resource?: ResourceInfo;
|
|
24183
24201
|
};
|
|
24184
24202
|
type UnitProtectionRequest = {
|
|
24203
|
+
/** Recorded on the Revision the edit creates. Defaults to "Set path protection". */
|
|
24204
|
+
ChangeDescription?: string;
|
|
24185
24205
|
/** Per-resource Protected edits to apply to the Unit's MutationSources */
|
|
24186
24206
|
ResourceProtection?: ResourceProtection[] | null;
|
|
24187
24207
|
/** Clear every Protected value on the Unit's MutationSources before applying ResourceProtection */
|