@confighub/rtk-query 0.5.4 → 0.6.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/README.md +2 -2
- package/dist/index.cjs +0 -28
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +325 -754
- package/dist/index.d.ts +325 -754
- package/dist/index.js +1 -27
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -101,5 +101,5 @@ field. There is one content hash, `DataHash`; `ContentHash` and `RevisionHash` a
|
|
|
101
101
|
per instance — the one ergonomic difference from `@confighub/api`.
|
|
102
102
|
- A 401 calls your `onUnauthorized` (if provided); it does not redirect.
|
|
103
103
|
- Peer deps: `@reduxjs/toolkit`, `react`, `react-redux`.
|
|
104
|
-
- Endpoints and types are
|
|
105
|
-
`@rtk-query/codegen-openapi`.
|
|
104
|
+
- Endpoints and types are generated from the spec of the ConfigHub server whose version
|
|
105
|
+
the package carries, by `@rtk-query/codegen-openapi`.
|
package/dist/index.cjs
CHANGED
|
@@ -2096,16 +2096,6 @@ var injectedRtkApi = confighubApi.enhanceEndpoints({
|
|
|
2096
2096
|
}),
|
|
2097
2097
|
invalidatesTags: ["Unit"]
|
|
2098
2098
|
}),
|
|
2099
|
-
approveUnit: build.mutation({
|
|
2100
|
-
query: (queryArg) => ({
|
|
2101
|
-
url: `/space/${queryArg.spaceId}/unit/${queryArg.unitId}/approve`,
|
|
2102
|
-
method: "POST",
|
|
2103
|
-
params: {
|
|
2104
|
-
revision: queryArg.revision
|
|
2105
|
-
}
|
|
2106
|
-
}),
|
|
2107
|
-
invalidatesTags: ["Unit"]
|
|
2108
|
-
}),
|
|
2109
2099
|
resolveUnitConflicts: build.mutation({
|
|
2110
2100
|
query: (queryArg) => ({
|
|
2111
2101
|
url: `/space/${queryArg.spaceId}/unit/${queryArg.unitId}/conflicts`,
|
|
@@ -2647,20 +2637,6 @@ var injectedRtkApi = confighubApi.enhanceEndpoints({
|
|
|
2647
2637
|
}),
|
|
2648
2638
|
invalidatesTags: ["Unit"]
|
|
2649
2639
|
}),
|
|
2650
|
-
bulkApproveUnits: build.mutation({
|
|
2651
|
-
query: (queryArg) => ({
|
|
2652
|
-
url: `/unit/approve`,
|
|
2653
|
-
method: "POST",
|
|
2654
|
-
params: {
|
|
2655
|
-
where: queryArg.where,
|
|
2656
|
-
filter: queryArg.filter,
|
|
2657
|
-
contains: queryArg.contains,
|
|
2658
|
-
include: queryArg.include,
|
|
2659
|
-
revision: queryArg.revision
|
|
2660
|
-
}
|
|
2661
|
-
}),
|
|
2662
|
-
invalidatesTags: ["Unit"]
|
|
2663
|
-
}),
|
|
2664
2640
|
bulkCancelUnits: build.mutation({
|
|
2665
2641
|
query: (queryArg) => ({
|
|
2666
2642
|
url: `/unit/cancel`,
|
|
@@ -3128,7 +3104,6 @@ var {
|
|
|
3128
3104
|
useLazyGetUnitQuery,
|
|
3129
3105
|
usePatchUnitMutation,
|
|
3130
3106
|
useUpdateUnitMutation,
|
|
3131
|
-
useApproveUnitMutation,
|
|
3132
3107
|
useResolveUnitConflictsMutation,
|
|
3133
3108
|
useDownloadUnitDataQuery,
|
|
3134
3109
|
useLazyDownloadUnitDataQuery,
|
|
@@ -3190,7 +3165,6 @@ var {
|
|
|
3190
3165
|
useLazyListAllUnitsQuery,
|
|
3191
3166
|
useBulkPatchUnitsMutation,
|
|
3192
3167
|
useBulkCreateUnitsMutation,
|
|
3193
|
-
useBulkApproveUnitsMutation,
|
|
3194
3168
|
useBulkCancelUnitsMutation,
|
|
3195
3169
|
useBulkMoveUnitsMutation,
|
|
3196
3170
|
useBulkTagUnitsMutation,
|
|
@@ -3223,9 +3197,7 @@ exports.addTagTypes = addTagTypes;
|
|
|
3223
3197
|
exports.confighubApi = injectedRtkApi;
|
|
3224
3198
|
exports.configureConfigHub = configureConfigHub;
|
|
3225
3199
|
exports.useApiInfoQuery = useApiInfoQuery;
|
|
3226
|
-
exports.useApproveUnitMutation = useApproveUnitMutation;
|
|
3227
3200
|
exports.useAttestMutation = useAttestMutation;
|
|
3228
|
-
exports.useBulkApproveUnitsMutation = useBulkApproveUnitsMutation;
|
|
3229
3201
|
exports.useBulkCancelUnitsMutation = useBulkCancelUnitsMutation;
|
|
3230
3202
|
exports.useBulkCreateAttributesMutation = useBulkCreateAttributesMutation;
|
|
3231
3203
|
exports.useBulkCreateChangeOrdersMutation = useBulkCreateChangeOrdersMutation;
|