@confighub/rtk-query 0.4.10 → 0.4.12
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 +14 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3198 -2883
- package/dist/index.d.ts +3198 -2883
- package/dist/index.js +14 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -86,6 +86,7 @@ var addTagTypes = [
|
|
|
86
86
|
"UnitAction",
|
|
87
87
|
"UnitEvent",
|
|
88
88
|
"View",
|
|
89
|
+
"Upload",
|
|
89
90
|
"User"
|
|
90
91
|
];
|
|
91
92
|
var injectedRtkApi = confighubApi.enhanceEndpoints({
|
|
@@ -2454,6 +2455,17 @@ var injectedRtkApi = confighubApi.enhanceEndpoints({
|
|
|
2454
2455
|
}),
|
|
2455
2456
|
providesTags: ["Unit"]
|
|
2456
2457
|
}),
|
|
2458
|
+
upload: build.mutation({
|
|
2459
|
+
query: (queryArg) => ({
|
|
2460
|
+
url: `/upload`,
|
|
2461
|
+
method: "POST",
|
|
2462
|
+
body: queryArg.uploadRequest,
|
|
2463
|
+
params: {
|
|
2464
|
+
dry_run: queryArg.dryRun
|
|
2465
|
+
}
|
|
2466
|
+
}),
|
|
2467
|
+
invalidatesTags: ["Upload"]
|
|
2468
|
+
}),
|
|
2457
2469
|
listUsers: build.query({
|
|
2458
2470
|
query: (queryArg) => ({
|
|
2459
2471
|
url: `/user`,
|
|
@@ -2831,6 +2843,7 @@ var {
|
|
|
2831
2843
|
useLazyListAllUnitEventsQuery,
|
|
2832
2844
|
useSearchUnitMutationSourcesQuery,
|
|
2833
2845
|
useLazySearchUnitMutationSourcesQuery,
|
|
2846
|
+
useUploadMutation,
|
|
2834
2847
|
useListUsersQuery,
|
|
2835
2848
|
useLazyListUsersQuery,
|
|
2836
2849
|
useGetUserQuery,
|
|
@@ -3138,6 +3151,7 @@ exports.useUpdateTargetMutation = useUpdateTargetMutation;
|
|
|
3138
3151
|
exports.useUpdateTriggerMutation = useUpdateTriggerMutation;
|
|
3139
3152
|
exports.useUpdateUnitMutation = useUpdateUnitMutation;
|
|
3140
3153
|
exports.useUpdateViewMutation = useUpdateViewMutation;
|
|
3154
|
+
exports.useUploadMutation = useUploadMutation;
|
|
3141
3155
|
exports.useUploadUnitDataMutation = useUploadUnitDataMutation;
|
|
3142
3156
|
exports.useUserCreateActionResultMutation = useUserCreateActionResultMutation;
|
|
3143
3157
|
exports.useWithdrawReleaseMutation = useWithdrawReleaseMutation;
|