@confighub/rtk-query 0.4.17 → 0.5.0

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 CHANGED
@@ -301,7 +301,8 @@ var injectedRtkApi = confighubApi.enhanceEndpoints({
301
301
  where: queryArg.where,
302
302
  filter: queryArg.filter,
303
303
  contains: queryArg.contains,
304
- include: queryArg.include
304
+ include: queryArg.include,
305
+ refresh_spaces: queryArg.refreshSpaces
305
306
  }
306
307
  }),
307
308
  invalidatesTags: ["ChangeOrder"]
@@ -1120,7 +1121,10 @@ var injectedRtkApi = confighubApi.enhanceEndpoints({
1120
1121
  query: (queryArg) => ({
1121
1122
  url: `/space/${queryArg.spaceId}/change_order/${queryArg.changeOrderId}`,
1122
1123
  method: "PATCH",
1123
- body: queryArg.body
1124
+ body: queryArg.body,
1125
+ params: {
1126
+ refresh_spaces: queryArg.refreshSpaces
1127
+ }
1124
1128
  }),
1125
1129
  invalidatesTags: ["ChangeOrder"]
1126
1130
  }),
@@ -1128,7 +1132,10 @@ var injectedRtkApi = confighubApi.enhanceEndpoints({
1128
1132
  query: (queryArg) => ({
1129
1133
  url: `/space/${queryArg.spaceId}/change_order/${queryArg.changeOrderId}`,
1130
1134
  method: "PUT",
1131
- body: queryArg.changeOrder
1135
+ body: queryArg.changeOrder,
1136
+ params: {
1137
+ refresh_spaces: queryArg.refreshSpaces
1138
+ }
1132
1139
  }),
1133
1140
  invalidatesTags: ["ChangeOrder"]
1134
1141
  }),