@confighub/api 0.11.1 → 0.11.2
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 +10 -7
- package/dist/index.d.ts +10 -7
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -783,7 +783,7 @@ interface paths {
|
|
|
783
783
|
put?: never;
|
|
784
784
|
/**
|
|
785
785
|
* Bulk create (copy) multiple links
|
|
786
|
-
* @description Copy existing links with retargeted From and/or To units. Select source links via where/filter, then retarget using reverse, from_downstream_where (optionally with to_downstream_where), or where_space/filter_space parameters.
|
|
786
|
+
* @description Copy existing links with retargeted From and/or To units. Select source links via where/filter, then retarget using reverse, from_downstream_where (optionally with to_downstream_where), or where_space/filter_space parameters. With from_refs, create the NeedsProvides links the configuration of the Kubernetes/YAML units where_unit and filter_unit select calls for instead; with from_backing_units, create links from the ConfigHub/YAML units they select.
|
|
787
787
|
*/
|
|
788
788
|
post: operations["BulkCreateLinks"];
|
|
789
789
|
/**
|
|
@@ -5698,6 +5698,7 @@ interface components {
|
|
|
5698
5698
|
ViewColumns?: components["schemas"]["ViewColumn"][];
|
|
5699
5699
|
};
|
|
5700
5700
|
ExtendedComponent: {
|
|
5701
|
+
AllowedChangeWorkflows?: components["schemas"]["ChangeWorkflow"][];
|
|
5701
5702
|
Component?: components["schemas"]["Component"];
|
|
5702
5703
|
Error?: components["schemas"]["ResponseError"];
|
|
5703
5704
|
Organization?: components["schemas"]["Organization"];
|
|
@@ -9758,7 +9759,7 @@ interface operations {
|
|
|
9758
9759
|
* The attribute names are case-sensitive, PascalCase, and
|
|
9759
9760
|
* expected in a comma-separated list format as in the JSON encoding.
|
|
9760
9761
|
*
|
|
9761
|
-
* Supported attributes for Component are OrganizationID, Permissions.
|
|
9762
|
+
* Supported attributes for Component are AllowedChangeWorkflowIDs, OrganizationID, Permissions.
|
|
9762
9763
|
*
|
|
9763
9764
|
* The whole string must be query-encoded.
|
|
9764
9765
|
*/
|
|
@@ -9960,7 +9961,7 @@ interface operations {
|
|
|
9960
9961
|
* The attribute names are case-sensitive, PascalCase, and
|
|
9961
9962
|
* expected in a comma-separated list format as in the JSON encoding.
|
|
9962
9963
|
*
|
|
9963
|
-
* Supported attributes for Component are OrganizationID, Permissions.
|
|
9964
|
+
* Supported attributes for Component are AllowedChangeWorkflowIDs, OrganizationID, Permissions.
|
|
9964
9965
|
*
|
|
9965
9966
|
* The whole string must be query-encoded.
|
|
9966
9967
|
*/
|
|
@@ -17894,7 +17895,7 @@ interface operations {
|
|
|
17894
17895
|
* The attribute names are case-sensitive, PascalCase, and
|
|
17895
17896
|
* expected in a comma-separated list format as in the JSON encoding.
|
|
17896
17897
|
*
|
|
17897
|
-
* Supported attributes for Component are OrganizationID, Permissions.
|
|
17898
|
+
* Supported attributes for Component are AllowedChangeWorkflowIDs, OrganizationID, Permissions.
|
|
17898
17899
|
*
|
|
17899
17900
|
* The whole string must be query-encoded.
|
|
17900
17901
|
*/
|
|
@@ -18140,7 +18141,7 @@ interface operations {
|
|
|
18140
18141
|
* The attribute names are case-sensitive, PascalCase, and
|
|
18141
18142
|
* expected in a comma-separated list format as in the JSON encoding.
|
|
18142
18143
|
*
|
|
18143
|
-
* Supported attributes for Component are OrganizationID, Permissions.
|
|
18144
|
+
* Supported attributes for Component are AllowedChangeWorkflowIDs, OrganizationID, Permissions.
|
|
18144
18145
|
*
|
|
18145
18146
|
* The whole string must be query-encoded.
|
|
18146
18147
|
*/
|
|
@@ -22651,6 +22652,8 @@ interface operations {
|
|
|
22651
22652
|
* ConfigHub/YAML Units, which hold the configuration of entities, are hidden with the HiddenReason `BackingUnit`.
|
|
22652
22653
|
*/
|
|
22653
22654
|
include_hidden?: string;
|
|
22655
|
+
/** @description Create the NeedsProvides links between the Kubernetes/YAML units where_unit and filter_unit select that their configuration calls for, as upload infers them: from the references a resource makes to another, the Namespace a resource is in, the CRD that defines its type, and the label selectors that select a workload's pods. Links are inferred among the units of one space, and among those of spaces with the same ReleaseTargetID. A resource that names no namespace, or names the placeholder, is in its space's Namespace label, and in a namespace of the space's own if it has none. Each link is created in its from unit's space, with AutoUpdate, and the request body is applied to it, which can set its labels, annotations, delete gates and AutoUpdate but not its UpdateType. No link is created between two units that have a NeedsProvides link between them already, in either direction, and none that would close a cycle among the links created. Units of other toolchains are passed over. Takes none of the parameters that select links to copy or where the copies go. */
|
|
22656
|
+
from_refs?: boolean;
|
|
22654
22657
|
/** @description Give each Link written a backing Unit if it has none: a ConfigHub/YAML Unit holding the Link's configuration, which is then kept in step with it. */
|
|
22655
22658
|
with_backing_units?: boolean;
|
|
22656
22659
|
/** @description Create Links from the ConfigHub/YAML Units where_unit and filter_unit select, each in its Unit's Space, and each with its Unit as its backing Unit. The request body is applied after the Unit's document. Units of other toolchains or describing other entity types are passed over; outstanding ValidationErrors on a Unit are an error. Takes none of the parameters that select entities to clone, name the clones or choose their Spaces. */
|
|
@@ -22692,12 +22695,12 @@ interface operations {
|
|
|
22692
22695
|
*
|
|
22693
22696
|
* Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, MutationSources, NeededPaths, OrganizationID, Permissions, ProvidedPaths, Slug, SpaceID, TargetID, ToolchainType, UnitID, Unreleasable, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationPassed, ValidationResults, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
|
|
22694
22697
|
*
|
|
22695
|
-
* The Units to create entities from, with from_backing_units.
|
|
22698
|
+
* The Units to create entities from, with from_backing_units, or to create links between, with from_refs.
|
|
22696
22699
|
*
|
|
22697
22700
|
* The whole string must be query-encoded.
|
|
22698
22701
|
*/
|
|
22699
22702
|
where_unit?: string;
|
|
22700
|
-
/** @description A Filter, by ID, over the Units to create entities from, with from_backing_units. */
|
|
22703
|
+
/** @description A Filter, by ID, over the Units to create entities from, with from_backing_units, or to create links between, with from_refs. */
|
|
22701
22704
|
filter_unit?: string;
|
|
22702
22705
|
/** @description With from_backing_units, patch a Link a selected Unit already backs with what the Unit holds that it has not taken yet, as a bulk patch with from_backing_units does, rather than report that the Unit backs it. The request body is applied after it. Without it, such a Unit is an error, or with allow_exists the Link is returned as it is. */
|
|
22703
22706
|
patch_existing?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -783,7 +783,7 @@ interface paths {
|
|
|
783
783
|
put?: never;
|
|
784
784
|
/**
|
|
785
785
|
* Bulk create (copy) multiple links
|
|
786
|
-
* @description Copy existing links with retargeted From and/or To units. Select source links via where/filter, then retarget using reverse, from_downstream_where (optionally with to_downstream_where), or where_space/filter_space parameters.
|
|
786
|
+
* @description Copy existing links with retargeted From and/or To units. Select source links via where/filter, then retarget using reverse, from_downstream_where (optionally with to_downstream_where), or where_space/filter_space parameters. With from_refs, create the NeedsProvides links the configuration of the Kubernetes/YAML units where_unit and filter_unit select calls for instead; with from_backing_units, create links from the ConfigHub/YAML units they select.
|
|
787
787
|
*/
|
|
788
788
|
post: operations["BulkCreateLinks"];
|
|
789
789
|
/**
|
|
@@ -5698,6 +5698,7 @@ interface components {
|
|
|
5698
5698
|
ViewColumns?: components["schemas"]["ViewColumn"][];
|
|
5699
5699
|
};
|
|
5700
5700
|
ExtendedComponent: {
|
|
5701
|
+
AllowedChangeWorkflows?: components["schemas"]["ChangeWorkflow"][];
|
|
5701
5702
|
Component?: components["schemas"]["Component"];
|
|
5702
5703
|
Error?: components["schemas"]["ResponseError"];
|
|
5703
5704
|
Organization?: components["schemas"]["Organization"];
|
|
@@ -9758,7 +9759,7 @@ interface operations {
|
|
|
9758
9759
|
* The attribute names are case-sensitive, PascalCase, and
|
|
9759
9760
|
* expected in a comma-separated list format as in the JSON encoding.
|
|
9760
9761
|
*
|
|
9761
|
-
* Supported attributes for Component are OrganizationID, Permissions.
|
|
9762
|
+
* Supported attributes for Component are AllowedChangeWorkflowIDs, OrganizationID, Permissions.
|
|
9762
9763
|
*
|
|
9763
9764
|
* The whole string must be query-encoded.
|
|
9764
9765
|
*/
|
|
@@ -9960,7 +9961,7 @@ interface operations {
|
|
|
9960
9961
|
* The attribute names are case-sensitive, PascalCase, and
|
|
9961
9962
|
* expected in a comma-separated list format as in the JSON encoding.
|
|
9962
9963
|
*
|
|
9963
|
-
* Supported attributes for Component are OrganizationID, Permissions.
|
|
9964
|
+
* Supported attributes for Component are AllowedChangeWorkflowIDs, OrganizationID, Permissions.
|
|
9964
9965
|
*
|
|
9965
9966
|
* The whole string must be query-encoded.
|
|
9966
9967
|
*/
|
|
@@ -17894,7 +17895,7 @@ interface operations {
|
|
|
17894
17895
|
* The attribute names are case-sensitive, PascalCase, and
|
|
17895
17896
|
* expected in a comma-separated list format as in the JSON encoding.
|
|
17896
17897
|
*
|
|
17897
|
-
* Supported attributes for Component are OrganizationID, Permissions.
|
|
17898
|
+
* Supported attributes for Component are AllowedChangeWorkflowIDs, OrganizationID, Permissions.
|
|
17898
17899
|
*
|
|
17899
17900
|
* The whole string must be query-encoded.
|
|
17900
17901
|
*/
|
|
@@ -18140,7 +18141,7 @@ interface operations {
|
|
|
18140
18141
|
* The attribute names are case-sensitive, PascalCase, and
|
|
18141
18142
|
* expected in a comma-separated list format as in the JSON encoding.
|
|
18142
18143
|
*
|
|
18143
|
-
* Supported attributes for Component are OrganizationID, Permissions.
|
|
18144
|
+
* Supported attributes for Component are AllowedChangeWorkflowIDs, OrganizationID, Permissions.
|
|
18144
18145
|
*
|
|
18145
18146
|
* The whole string must be query-encoded.
|
|
18146
18147
|
*/
|
|
@@ -22651,6 +22652,8 @@ interface operations {
|
|
|
22651
22652
|
* ConfigHub/YAML Units, which hold the configuration of entities, are hidden with the HiddenReason `BackingUnit`.
|
|
22652
22653
|
*/
|
|
22653
22654
|
include_hidden?: string;
|
|
22655
|
+
/** @description Create the NeedsProvides links between the Kubernetes/YAML units where_unit and filter_unit select that their configuration calls for, as upload infers them: from the references a resource makes to another, the Namespace a resource is in, the CRD that defines its type, and the label selectors that select a workload's pods. Links are inferred among the units of one space, and among those of spaces with the same ReleaseTargetID. A resource that names no namespace, or names the placeholder, is in its space's Namespace label, and in a namespace of the space's own if it has none. Each link is created in its from unit's space, with AutoUpdate, and the request body is applied to it, which can set its labels, annotations, delete gates and AutoUpdate but not its UpdateType. No link is created between two units that have a NeedsProvides link between them already, in either direction, and none that would close a cycle among the links created. Units of other toolchains are passed over. Takes none of the parameters that select links to copy or where the copies go. */
|
|
22656
|
+
from_refs?: boolean;
|
|
22654
22657
|
/** @description Give each Link written a backing Unit if it has none: a ConfigHub/YAML Unit holding the Link's configuration, which is then kept in step with it. */
|
|
22655
22658
|
with_backing_units?: boolean;
|
|
22656
22659
|
/** @description Create Links from the ConfigHub/YAML Units where_unit and filter_unit select, each in its Unit's Space, and each with its Unit as its backing Unit. The request body is applied after the Unit's document. Units of other toolchains or describing other entity types are passed over; outstanding ValidationErrors on a Unit are an error. Takes none of the parameters that select entities to clone, name the clones or choose their Spaces. */
|
|
@@ -22692,12 +22695,12 @@ interface operations {
|
|
|
22692
22695
|
*
|
|
22693
22696
|
* Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, MutationSources, NeededPaths, OrganizationID, Permissions, ProvidedPaths, Slug, SpaceID, TargetID, ToolchainType, UnitID, Unreleasable, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationPassed, ValidationResults, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
|
|
22694
22697
|
*
|
|
22695
|
-
* The Units to create entities from, with from_backing_units.
|
|
22698
|
+
* The Units to create entities from, with from_backing_units, or to create links between, with from_refs.
|
|
22696
22699
|
*
|
|
22697
22700
|
* The whole string must be query-encoded.
|
|
22698
22701
|
*/
|
|
22699
22702
|
where_unit?: string;
|
|
22700
|
-
/** @description A Filter, by ID, over the Units to create entities from, with from_backing_units. */
|
|
22703
|
+
/** @description A Filter, by ID, over the Units to create entities from, with from_backing_units, or to create links between, with from_refs. */
|
|
22701
22704
|
filter_unit?: string;
|
|
22702
22705
|
/** @description With from_backing_units, patch a Link a selected Unit already backs with what the Unit holds that it has not taken yet, as a bulk patch with from_backing_units does, rather than report that the Unit backs it. The request body is applied after it. Without it, such a Unit is an error, or with allow_exists the Link is returned as it is. */
|
|
22703
22706
|
patch_existing?: boolean;
|