@confighub/rtk-query 0.4.16 → 0.4.18
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 +25 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3271 -2900
- package/dist/index.d.ts +3271 -2900
- package/dist/index.js +25 -4
- 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",
|
|
@@ -300,7 +301,8 @@ var injectedRtkApi = confighubApi.enhanceEndpoints({
|
|
|
300
301
|
where: queryArg.where,
|
|
301
302
|
filter: queryArg.filter,
|
|
302
303
|
contains: queryArg.contains,
|
|
303
|
-
include: queryArg.include
|
|
304
|
+
include: queryArg.include,
|
|
305
|
+
refresh_spaces: queryArg.refreshSpaces
|
|
304
306
|
}
|
|
305
307
|
}),
|
|
306
308
|
invalidatesTags: ["ChangeOrder"]
|
|
@@ -779,6 +781,18 @@ var injectedRtkApi = confighubApi.enhanceEndpoints({
|
|
|
779
781
|
}),
|
|
780
782
|
providesTags: ["OrganizationMember"]
|
|
781
783
|
}),
|
|
784
|
+
promote: build.mutation({
|
|
785
|
+
query: (queryArg) => ({
|
|
786
|
+
url: `/promote`,
|
|
787
|
+
method: "POST",
|
|
788
|
+
body: queryArg.promoteRequest,
|
|
789
|
+
params: {
|
|
790
|
+
dry_run: queryArg.dryRun,
|
|
791
|
+
include: queryArg.include
|
|
792
|
+
}
|
|
793
|
+
}),
|
|
794
|
+
invalidatesTags: ["Promote"]
|
|
795
|
+
}),
|
|
782
796
|
listAllReleases: build.query({
|
|
783
797
|
query: (queryArg) => ({
|
|
784
798
|
url: `/release`,
|
|
@@ -1107,7 +1121,10 @@ var injectedRtkApi = confighubApi.enhanceEndpoints({
|
|
|
1107
1121
|
query: (queryArg) => ({
|
|
1108
1122
|
url: `/space/${queryArg.spaceId}/change_order/${queryArg.changeOrderId}`,
|
|
1109
1123
|
method: "PATCH",
|
|
1110
|
-
body: queryArg.body
|
|
1124
|
+
body: queryArg.body,
|
|
1125
|
+
params: {
|
|
1126
|
+
refresh_spaces: queryArg.refreshSpaces
|
|
1127
|
+
}
|
|
1111
1128
|
}),
|
|
1112
1129
|
invalidatesTags: ["ChangeOrder"]
|
|
1113
1130
|
}),
|
|
@@ -1115,7 +1132,10 @@ var injectedRtkApi = confighubApi.enhanceEndpoints({
|
|
|
1115
1132
|
query: (queryArg) => ({
|
|
1116
1133
|
url: `/space/${queryArg.spaceId}/change_order/${queryArg.changeOrderId}`,
|
|
1117
1134
|
method: "PUT",
|
|
1118
|
-
body: queryArg.changeOrder
|
|
1135
|
+
body: queryArg.changeOrder,
|
|
1136
|
+
params: {
|
|
1137
|
+
refresh_spaces: queryArg.refreshSpaces
|
|
1138
|
+
}
|
|
1119
1139
|
}),
|
|
1120
1140
|
invalidatesTags: ["ChangeOrder"]
|
|
1121
1141
|
}),
|
|
@@ -2639,6 +2659,7 @@ var {
|
|
|
2639
2659
|
useDeleteOrganizationMemberMutation,
|
|
2640
2660
|
useGetOrganizationMemberQuery,
|
|
2641
2661
|
useLazyGetOrganizationMemberQuery,
|
|
2662
|
+
usePromoteMutation,
|
|
2642
2663
|
useListAllReleasesQuery,
|
|
2643
2664
|
useLazyListAllReleasesQuery,
|
|
2644
2665
|
useListAllResourcesQuery,
|
|
@@ -3127,6 +3148,7 @@ exports.usePatchTargetMutation = usePatchTargetMutation;
|
|
|
3127
3148
|
exports.usePatchTriggerMutation = usePatchTriggerMutation;
|
|
3128
3149
|
exports.usePatchUnitMutation = usePatchUnitMutation;
|
|
3129
3150
|
exports.usePatchViewMutation = usePatchViewMutation;
|
|
3151
|
+
exports.usePromoteMutation = usePromoteMutation;
|
|
3130
3152
|
exports.usePublishReleaseMutation = usePublishReleaseMutation;
|
|
3131
3153
|
exports.useResolveUnitConflictsMutation = useResolveUnitConflictsMutation;
|
|
3132
3154
|
exports.useSearchListLinksQuery = useSearchListLinksQuery;
|