@confighub/rtk-query 0.4.16 → 0.4.17
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 +15 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3166 -2890
- package/dist/index.d.ts +3166 -2890
- package/dist/index.js +15 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -74,6 +74,7 @@ var addTagTypes = [
|
|
|
74
74
|
"OAuthClient",
|
|
75
75
|
"Organization",
|
|
76
76
|
"OrganizationMember",
|
|
77
|
+
"Promote",
|
|
77
78
|
"Release",
|
|
78
79
|
"Resource",
|
|
79
80
|
"Revision",
|
|
@@ -779,6 +780,18 @@ var injectedRtkApi = confighubApi.enhanceEndpoints({
|
|
|
779
780
|
}),
|
|
780
781
|
providesTags: ["OrganizationMember"]
|
|
781
782
|
}),
|
|
783
|
+
promote: build.mutation({
|
|
784
|
+
query: (queryArg) => ({
|
|
785
|
+
url: `/promote`,
|
|
786
|
+
method: "POST",
|
|
787
|
+
body: queryArg.promoteRequest,
|
|
788
|
+
params: {
|
|
789
|
+
dry_run: queryArg.dryRun,
|
|
790
|
+
include: queryArg.include
|
|
791
|
+
}
|
|
792
|
+
}),
|
|
793
|
+
invalidatesTags: ["Promote"]
|
|
794
|
+
}),
|
|
782
795
|
listAllReleases: build.query({
|
|
783
796
|
query: (queryArg) => ({
|
|
784
797
|
url: `/release`,
|
|
@@ -2639,6 +2652,7 @@ var {
|
|
|
2639
2652
|
useDeleteOrganizationMemberMutation,
|
|
2640
2653
|
useGetOrganizationMemberQuery,
|
|
2641
2654
|
useLazyGetOrganizationMemberQuery,
|
|
2655
|
+
usePromoteMutation,
|
|
2642
2656
|
useListAllReleasesQuery,
|
|
2643
2657
|
useLazyListAllReleasesQuery,
|
|
2644
2658
|
useListAllResourcesQuery,
|
|
@@ -3127,6 +3141,7 @@ exports.usePatchTargetMutation = usePatchTargetMutation;
|
|
|
3127
3141
|
exports.usePatchTriggerMutation = usePatchTriggerMutation;
|
|
3128
3142
|
exports.usePatchUnitMutation = usePatchUnitMutation;
|
|
3129
3143
|
exports.usePatchViewMutation = usePatchViewMutation;
|
|
3144
|
+
exports.usePromoteMutation = usePromoteMutation;
|
|
3130
3145
|
exports.usePublishReleaseMutation = usePublishReleaseMutation;
|
|
3131
3146
|
exports.useResolveUnitConflictsMutation = useResolveUnitConflictsMutation;
|
|
3132
3147
|
exports.useSearchListLinksQuery = useSearchListLinksQuery;
|