@refinedev/core 4.58.0 → 5.0.1

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.
Files changed (905) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/README.md +3 -3
  3. package/dist/components/authenticated/index.d.cts +2 -25
  4. package/dist/components/authenticated/index.d.cts.map +1 -1
  5. package/dist/components/authenticated/index.d.mts +2 -25
  6. package/dist/components/authenticated/index.d.mts.map +2 -25
  7. package/dist/components/authenticated/index.d.ts +2 -25
  8. package/dist/components/authenticated/index.d.ts.map +1 -1
  9. package/dist/components/autoSaveIndicator/index.d.cts +3 -3
  10. package/dist/components/autoSaveIndicator/index.d.cts.map +1 -1
  11. package/dist/components/autoSaveIndicator/index.d.mts +3 -3
  12. package/dist/components/autoSaveIndicator/index.d.mts.map +3 -3
  13. package/dist/components/autoSaveIndicator/index.d.ts +3 -3
  14. package/dist/components/autoSaveIndicator/index.d.ts.map +1 -1
  15. package/dist/components/canAccess/index.d.cts +10 -3
  16. package/dist/components/canAccess/index.d.cts.map +1 -1
  17. package/dist/components/canAccess/index.d.mts +10 -3
  18. package/dist/components/canAccess/index.d.mts.map +10 -3
  19. package/dist/components/canAccess/index.d.ts +10 -3
  20. package/dist/components/canAccess/index.d.ts.map +1 -1
  21. package/dist/components/containers/refine/index.d.cts.map +1 -1
  22. package/dist/components/containers/refine/index.d.ts.map +1 -1
  23. package/dist/components/gh-banner/index.d.cts.map +1 -1
  24. package/dist/components/gh-banner/index.d.ts.map +1 -1
  25. package/dist/components/index.d.cts +0 -1
  26. package/dist/components/index.d.cts.map +1 -1
  27. package/dist/components/index.d.mts +0 -1
  28. package/dist/components/index.d.mts.map +0 -1
  29. package/dist/components/index.d.ts +0 -1
  30. package/dist/components/index.d.ts.map +1 -1
  31. package/dist/components/link/index.d.cts.map +1 -1
  32. package/dist/components/link/index.d.ts.map +1 -1
  33. package/dist/components/pages/auth/components/forgotPassword/index.d.cts.map +1 -1
  34. package/dist/components/pages/auth/components/forgotPassword/index.d.ts.map +1 -1
  35. package/dist/components/pages/auth/components/login/index.d.cts.map +1 -1
  36. package/dist/components/pages/auth/components/login/index.d.ts.map +1 -1
  37. package/dist/components/pages/auth/components/register/index.d.cts.map +1 -1
  38. package/dist/components/pages/auth/components/register/index.d.ts.map +1 -1
  39. package/dist/components/pages/auth/components/updatePassword/index.d.cts.map +1 -1
  40. package/dist/components/pages/auth/components/updatePassword/index.d.ts.map +1 -1
  41. package/dist/components/pages/error/index.d.cts.map +1 -1
  42. package/dist/components/pages/error/index.d.ts.map +1 -1
  43. package/dist/components/pages/index.d.cts +0 -2
  44. package/dist/components/pages/index.d.cts.map +1 -1
  45. package/dist/components/pages/index.d.mts +0 -2
  46. package/dist/components/pages/index.d.mts.map +0 -2
  47. package/dist/components/pages/index.d.ts +0 -2
  48. package/dist/components/pages/index.d.ts.map +1 -1
  49. package/dist/components/routeChangeHandler/index.d.cts +0 -1
  50. package/dist/components/routeChangeHandler/index.d.cts.map +1 -1
  51. package/dist/components/routeChangeHandler/index.d.mts +0 -1
  52. package/dist/components/routeChangeHandler/index.d.mts.map +0 -1
  53. package/dist/components/routeChangeHandler/index.d.ts +0 -1
  54. package/dist/components/routeChangeHandler/index.d.ts.map +1 -1
  55. package/dist/contexts/accessControl/index.d.cts +0 -2
  56. package/dist/contexts/accessControl/index.d.cts.map +1 -1
  57. package/dist/contexts/accessControl/index.d.mts +0 -2
  58. package/dist/contexts/accessControl/index.d.mts.map +0 -2
  59. package/dist/contexts/accessControl/index.d.ts +0 -2
  60. package/dist/contexts/accessControl/index.d.ts.map +1 -1
  61. package/dist/contexts/accessControl/types.d.cts +9 -24
  62. package/dist/contexts/accessControl/types.d.cts.map +1 -1
  63. package/dist/contexts/accessControl/types.d.mts +9 -24
  64. package/dist/contexts/accessControl/types.d.mts.map +9 -24
  65. package/dist/contexts/accessControl/types.d.ts +9 -24
  66. package/dist/contexts/accessControl/types.d.ts.map +1 -1
  67. package/dist/contexts/auditLog/types.d.cts +1 -2
  68. package/dist/contexts/auditLog/types.d.cts.map +1 -1
  69. package/dist/contexts/auditLog/types.d.mts +1 -2
  70. package/dist/contexts/auditLog/types.d.mts.map +1 -2
  71. package/dist/contexts/auditLog/types.d.ts +1 -2
  72. package/dist/contexts/auditLog/types.d.ts.map +1 -1
  73. package/dist/contexts/auth/index.d.cts +4 -16
  74. package/dist/contexts/auth/index.d.cts.map +1 -1
  75. package/dist/contexts/auth/index.d.mts +4 -16
  76. package/dist/contexts/auth/index.d.mts.map +4 -16
  77. package/dist/contexts/auth/index.d.ts +4 -16
  78. package/dist/contexts/auth/index.d.ts.map +1 -1
  79. package/dist/contexts/auth/types.d.cts +0 -24
  80. package/dist/contexts/auth/types.d.cts.map +1 -1
  81. package/dist/contexts/auth/types.d.mts +0 -24
  82. package/dist/contexts/auth/types.d.mts.map +0 -24
  83. package/dist/contexts/auth/types.d.ts +0 -24
  84. package/dist/contexts/auth/types.d.ts.map +1 -1
  85. package/dist/contexts/data/types.d.cts +2 -71
  86. package/dist/contexts/data/types.d.cts.map +1 -1
  87. package/dist/contexts/data/types.d.mts +2 -71
  88. package/dist/contexts/data/types.d.mts.map +2 -71
  89. package/dist/contexts/data/types.d.ts +2 -71
  90. package/dist/contexts/data/types.d.ts.map +1 -1
  91. package/dist/contexts/i18n/index.d.cts +1 -3
  92. package/dist/contexts/i18n/index.d.cts.map +1 -1
  93. package/dist/contexts/i18n/index.d.mts +1 -3
  94. package/dist/contexts/i18n/index.d.mts.map +1 -3
  95. package/dist/contexts/i18n/index.d.ts +1 -3
  96. package/dist/contexts/i18n/index.d.ts.map +1 -1
  97. package/dist/contexts/live/types.d.cts +4 -24
  98. package/dist/contexts/live/types.d.cts.map +1 -1
  99. package/dist/contexts/live/types.d.mts +4 -24
  100. package/dist/contexts/live/types.d.mts.map +4 -24
  101. package/dist/contexts/live/types.d.ts +4 -24
  102. package/dist/contexts/live/types.d.ts.map +1 -1
  103. package/dist/contexts/metaContext/index.d.cts.map +1 -1
  104. package/dist/contexts/metaContext/index.d.ts.map +1 -1
  105. package/dist/contexts/notification/index.d.cts +0 -2
  106. package/dist/contexts/notification/index.d.cts.map +1 -1
  107. package/dist/contexts/notification/index.d.mts +0 -2
  108. package/dist/contexts/notification/index.d.mts.map +0 -2
  109. package/dist/contexts/notification/index.d.ts +0 -2
  110. package/dist/contexts/notification/index.d.ts.map +1 -1
  111. package/dist/contexts/refine/index.d.cts.map +1 -1
  112. package/dist/contexts/refine/index.d.ts.map +1 -1
  113. package/dist/contexts/refine/types.d.cts +12 -134
  114. package/dist/contexts/refine/types.d.cts.map +1 -1
  115. package/dist/contexts/refine/types.d.mts +12 -134
  116. package/dist/contexts/refine/types.d.mts.map +12 -134
  117. package/dist/contexts/refine/types.d.ts +12 -134
  118. package/dist/contexts/refine/types.d.ts.map +1 -1
  119. package/dist/contexts/resource/index.d.cts.map +1 -1
  120. package/dist/contexts/resource/index.d.ts.map +1 -1
  121. package/dist/contexts/resource/types.d.cts +9 -88
  122. package/dist/contexts/resource/types.d.cts.map +1 -1
  123. package/dist/contexts/resource/types.d.mts +9 -88
  124. package/dist/contexts/resource/types.d.mts.map +9 -88
  125. package/dist/contexts/resource/types.d.ts +9 -88
  126. package/dist/contexts/resource/types.d.ts.map +1 -1
  127. package/dist/contexts/router/types.d.cts +0 -1
  128. package/dist/contexts/router/types.d.cts.map +1 -1
  129. package/dist/contexts/router/types.d.mts +0 -1
  130. package/dist/contexts/router/types.d.mts.map +0 -1
  131. package/dist/contexts/router/types.d.ts +0 -1
  132. package/dist/contexts/router/types.d.ts.map +1 -1
  133. package/dist/contexts/undoableQueue/index.d.cts.map +1 -1
  134. package/dist/contexts/undoableQueue/index.d.ts.map +1 -1
  135. package/dist/contexts/undoableQueue/types.d.cts +0 -1
  136. package/dist/contexts/undoableQueue/types.d.cts.map +1 -1
  137. package/dist/contexts/undoableQueue/types.d.mts +0 -1
  138. package/dist/contexts/undoableQueue/types.d.mts.map +0 -1
  139. package/dist/contexts/undoableQueue/types.d.ts +0 -1
  140. package/dist/contexts/undoableQueue/types.d.ts.map +1 -1
  141. package/dist/definitions/helpers/async-debounce/index.d.cts.map +1 -1
  142. package/dist/definitions/helpers/async-debounce/index.d.ts.map +1 -1
  143. package/dist/definitions/helpers/check-router-prop-misuse/index.d.cts +1 -2
  144. package/dist/definitions/helpers/check-router-prop-misuse/index.d.cts.map +1 -1
  145. package/dist/definitions/helpers/check-router-prop-misuse/index.d.mts +1 -2
  146. package/dist/definitions/helpers/check-router-prop-misuse/index.d.mts.map +1 -2
  147. package/dist/definitions/helpers/check-router-prop-misuse/index.d.ts +1 -2
  148. package/dist/definitions/helpers/check-router-prop-misuse/index.d.ts.map +1 -1
  149. package/dist/definitions/helpers/defer-execution/index.d.cts.map +1 -1
  150. package/dist/definitions/helpers/defer-execution/index.d.ts.map +1 -1
  151. package/dist/definitions/helpers/downloadInBrowser/index.d.cts.map +1 -1
  152. package/dist/definitions/helpers/downloadInBrowser/index.d.ts.map +1 -1
  153. package/dist/definitions/helpers/flatten-object-keys/index.d.cts.map +1 -1
  154. package/dist/definitions/helpers/flatten-object-keys/index.d.ts.map +1 -1
  155. package/dist/definitions/helpers/generateDocumentTitle/index.d.cts +1 -1
  156. package/dist/definitions/helpers/generateDocumentTitle/index.d.cts.map +1 -1
  157. package/dist/definitions/helpers/generateDocumentTitle/index.d.mts +1 -1
  158. package/dist/definitions/helpers/generateDocumentTitle/index.d.mts.map +1 -1
  159. package/dist/definitions/helpers/generateDocumentTitle/index.d.ts +1 -1
  160. package/dist/definitions/helpers/generateDocumentTitle/index.d.ts.map +1 -1
  161. package/dist/definitions/helpers/handleMultiple/index.d.cts.map +1 -1
  162. package/dist/definitions/helpers/handleMultiple/index.d.ts.map +1 -1
  163. package/dist/definitions/helpers/handlePaginationParams/index.d.cts +1 -3
  164. package/dist/definitions/helpers/handlePaginationParams/index.d.cts.map +1 -1
  165. package/dist/definitions/helpers/handlePaginationParams/index.d.mts +1 -3
  166. package/dist/definitions/helpers/handlePaginationParams/index.d.mts.map +1 -3
  167. package/dist/definitions/helpers/handlePaginationParams/index.d.ts +1 -3
  168. package/dist/definitions/helpers/handlePaginationParams/index.d.ts.map +1 -1
  169. package/dist/definitions/helpers/handleRefineOptions/index.d.cts +0 -1
  170. package/dist/definitions/helpers/handleRefineOptions/index.d.cts.map +1 -1
  171. package/dist/definitions/helpers/handleRefineOptions/index.d.mts +0 -1
  172. package/dist/definitions/helpers/handleRefineOptions/index.d.mts.map +0 -1
  173. package/dist/definitions/helpers/handleRefineOptions/index.d.ts +0 -1
  174. package/dist/definitions/helpers/handleRefineOptions/index.d.ts.map +1 -1
  175. package/dist/definitions/helpers/handleUseParams/index.d.cts.map +1 -1
  176. package/dist/definitions/helpers/handleUseParams/index.d.ts.map +1 -1
  177. package/dist/definitions/helpers/hasPermission/index.d.cts.map +1 -1
  178. package/dist/definitions/helpers/hasPermission/index.d.ts.map +1 -1
  179. package/dist/definitions/helpers/humanizeString/index.d.cts.map +1 -1
  180. package/dist/definitions/helpers/humanizeString/index.d.ts.map +1 -1
  181. package/dist/definitions/helpers/importCSVMapper/index.d.cts.map +1 -1
  182. package/dist/definitions/helpers/importCSVMapper/index.d.ts.map +1 -1
  183. package/dist/definitions/helpers/index.d.cts +0 -6
  184. package/dist/definitions/helpers/index.d.cts.map +1 -1
  185. package/dist/definitions/helpers/index.d.mts +0 -6
  186. package/dist/definitions/helpers/index.d.mts.map +0 -6
  187. package/dist/definitions/helpers/index.d.ts +0 -6
  188. package/dist/definitions/helpers/index.d.ts.map +1 -1
  189. package/dist/definitions/helpers/keys/index.d.cts +1 -2
  190. package/dist/definitions/helpers/keys/index.d.cts.map +1 -1
  191. package/dist/definitions/helpers/keys/index.d.mts +1 -2
  192. package/dist/definitions/helpers/keys/index.d.mts.map +1 -2
  193. package/dist/definitions/helpers/keys/index.d.ts +1 -2
  194. package/dist/definitions/helpers/keys/index.d.ts.map +1 -1
  195. package/dist/definitions/helpers/menu/create-resource-key.d.cts +1 -1
  196. package/dist/definitions/helpers/menu/create-resource-key.d.cts.map +1 -1
  197. package/dist/definitions/helpers/menu/create-resource-key.d.mts +1 -1
  198. package/dist/definitions/helpers/menu/create-resource-key.d.mts.map +1 -1
  199. package/dist/definitions/helpers/menu/create-resource-key.d.ts +1 -1
  200. package/dist/definitions/helpers/menu/create-resource-key.d.ts.map +1 -1
  201. package/dist/definitions/helpers/menu/create-tree.d.cts +1 -1
  202. package/dist/definitions/helpers/menu/create-tree.d.cts.map +1 -1
  203. package/dist/definitions/helpers/menu/create-tree.d.mts +1 -1
  204. package/dist/definitions/helpers/menu/create-tree.d.mts.map +1 -1
  205. package/dist/definitions/helpers/menu/create-tree.d.ts +1 -1
  206. package/dist/definitions/helpers/menu/create-tree.d.ts.map +1 -1
  207. package/dist/definitions/helpers/pick-resource/index.d.cts +2 -2
  208. package/dist/definitions/helpers/pick-resource/index.d.cts.map +1 -1
  209. package/dist/definitions/helpers/pick-resource/index.d.mts +2 -2
  210. package/dist/definitions/helpers/pick-resource/index.d.mts.map +2 -2
  211. package/dist/definitions/helpers/pick-resource/index.d.ts +2 -2
  212. package/dist/definitions/helpers/pick-resource/index.d.ts.map +1 -1
  213. package/dist/definitions/helpers/pickDataProvider/index.d.cts.map +1 -1
  214. package/dist/definitions/helpers/pickDataProvider/index.d.ts.map +1 -1
  215. package/dist/definitions/helpers/prepare-query-context/index.d.cts +3 -1
  216. package/dist/definitions/helpers/prepare-query-context/index.d.cts.map +1 -1
  217. package/dist/definitions/helpers/prepare-query-context/index.d.mts +3 -1
  218. package/dist/definitions/helpers/prepare-query-context/index.d.mts.map +3 -1
  219. package/dist/definitions/helpers/prepare-query-context/index.d.ts +3 -1
  220. package/dist/definitions/helpers/prepare-query-context/index.d.ts.map +1 -1
  221. package/dist/definitions/helpers/property-path-to-array/index.d.cts.map +1 -1
  222. package/dist/definitions/helpers/property-path-to-array/index.d.ts.map +1 -1
  223. package/dist/definitions/helpers/redirectPage/index.d.cts.map +1 -1
  224. package/dist/definitions/helpers/redirectPage/index.d.ts.map +1 -1
  225. package/dist/definitions/helpers/router/check-by-segments.d.cts.map +1 -1
  226. package/dist/definitions/helpers/router/check-by-segments.d.ts.map +1 -1
  227. package/dist/definitions/helpers/router/compose-route.d.cts.map +1 -1
  228. package/dist/definitions/helpers/router/compose-route.d.ts.map +1 -1
  229. package/dist/definitions/helpers/router/get-action-routes-from-resource.d.cts +1 -4
  230. package/dist/definitions/helpers/router/get-action-routes-from-resource.d.cts.map +1 -1
  231. package/dist/definitions/helpers/router/get-action-routes-from-resource.d.mts +1 -4
  232. package/dist/definitions/helpers/router/get-action-routes-from-resource.d.mts.map +1 -4
  233. package/dist/definitions/helpers/router/get-action-routes-from-resource.d.ts +1 -4
  234. package/dist/definitions/helpers/router/get-action-routes-from-resource.d.ts.map +1 -1
  235. package/dist/definitions/helpers/router/get-default-action-path.d.cts +0 -1
  236. package/dist/definitions/helpers/router/get-default-action-path.d.cts.map +1 -1
  237. package/dist/definitions/helpers/router/get-default-action-path.d.mts +0 -1
  238. package/dist/definitions/helpers/router/get-default-action-path.d.mts.map +0 -1
  239. package/dist/definitions/helpers/router/get-default-action-path.d.ts +0 -1
  240. package/dist/definitions/helpers/router/get-default-action-path.d.ts.map +1 -1
  241. package/dist/definitions/helpers/router/get-parent-prefix-for-resource.d.cts +1 -2
  242. package/dist/definitions/helpers/router/get-parent-prefix-for-resource.d.cts.map +1 -1
  243. package/dist/definitions/helpers/router/get-parent-prefix-for-resource.d.mts +1 -2
  244. package/dist/definitions/helpers/router/get-parent-prefix-for-resource.d.mts.map +1 -2
  245. package/dist/definitions/helpers/router/get-parent-prefix-for-resource.d.ts +1 -2
  246. package/dist/definitions/helpers/router/get-parent-prefix-for-resource.d.ts.map +1 -1
  247. package/dist/definitions/helpers/router/get-parent-resource.d.cts +1 -1
  248. package/dist/definitions/helpers/router/get-parent-resource.d.cts.map +1 -1
  249. package/dist/definitions/helpers/router/get-parent-resource.d.mts +1 -1
  250. package/dist/definitions/helpers/router/get-parent-resource.d.mts.map +1 -1
  251. package/dist/definitions/helpers/router/get-parent-resource.d.ts +1 -1
  252. package/dist/definitions/helpers/router/get-parent-resource.d.ts.map +1 -1
  253. package/dist/definitions/helpers/router/is-parameter.d.cts.map +1 -1
  254. package/dist/definitions/helpers/router/is-parameter.d.ts.map +1 -1
  255. package/dist/definitions/helpers/router/is-segment-counts-same.d.cts.map +1 -1
  256. package/dist/definitions/helpers/router/is-segment-counts-same.d.ts.map +1 -1
  257. package/dist/definitions/helpers/router/match-resource-from-route.d.cts.map +1 -1
  258. package/dist/definitions/helpers/router/match-resource-from-route.d.ts.map +1 -1
  259. package/dist/definitions/helpers/router/pick-matched-route.d.cts.map +1 -1
  260. package/dist/definitions/helpers/router/pick-matched-route.d.ts.map +1 -1
  261. package/dist/definitions/helpers/router/pick-route-params.d.cts.map +1 -1
  262. package/dist/definitions/helpers/router/pick-route-params.d.ts.map +1 -1
  263. package/dist/definitions/helpers/router/prepare-route-params.d.cts.map +1 -1
  264. package/dist/definitions/helpers/router/prepare-route-params.d.ts.map +1 -1
  265. package/dist/definitions/helpers/router/remove-leading-trailing-slashes.d.cts.map +1 -1
  266. package/dist/definitions/helpers/router/remove-leading-trailing-slashes.d.ts.map +1 -1
  267. package/dist/definitions/helpers/router/split-to-segments.d.cts.map +1 -1
  268. package/dist/definitions/helpers/router/split-to-segments.d.ts.map +1 -1
  269. package/dist/definitions/helpers/safe-translate/index.d.cts.map +1 -1
  270. package/dist/definitions/helpers/safe-translate/index.d.ts.map +1 -1
  271. package/dist/definitions/helpers/sanitize-resource/index.d.cts +1 -1
  272. package/dist/definitions/helpers/sanitize-resource/index.d.cts.map +1 -1
  273. package/dist/definitions/helpers/sanitize-resource/index.d.mts +1 -1
  274. package/dist/definitions/helpers/sanitize-resource/index.d.mts.map +1 -1
  275. package/dist/definitions/helpers/sanitize-resource/index.d.ts +1 -1
  276. package/dist/definitions/helpers/sanitize-resource/index.d.ts.map +1 -1
  277. package/dist/definitions/helpers/sequentialPromises/index.d.cts.map +1 -1
  278. package/dist/definitions/helpers/sequentialPromises/index.d.ts.map +1 -1
  279. package/dist/definitions/helpers/useActiveAuthProvider/index.d.cts +2 -30
  280. package/dist/definitions/helpers/useActiveAuthProvider/index.d.cts.map +1 -1
  281. package/dist/definitions/helpers/useActiveAuthProvider/index.d.mts +2 -30
  282. package/dist/definitions/helpers/useActiveAuthProvider/index.d.mts.map +2 -30
  283. package/dist/definitions/helpers/useActiveAuthProvider/index.d.ts +2 -30
  284. package/dist/definitions/helpers/useActiveAuthProvider/index.d.ts.map +1 -1
  285. package/dist/definitions/helpers/useInfinitePagination/index.d.cts.map +1 -1
  286. package/dist/definitions/helpers/useInfinitePagination/index.d.ts.map +1 -1
  287. package/dist/definitions/helpers/useMediaQuery/index.d.cts.map +1 -1
  288. package/dist/definitions/helpers/useMediaQuery/index.d.ts.map +1 -1
  289. package/dist/definitions/helpers/userFriendlySeconds/index.d.cts.map +1 -1
  290. package/dist/definitions/helpers/userFriendlySeconds/index.d.ts.map +1 -1
  291. package/dist/definitions/table/index.d.cts +4 -3
  292. package/dist/definitions/table/index.d.cts.map +1 -1
  293. package/dist/definitions/table/index.d.mts +4 -3
  294. package/dist/definitions/table/index.d.mts.map +4 -3
  295. package/dist/definitions/table/index.d.ts +4 -3
  296. package/dist/definitions/table/index.d.ts.map +1 -1
  297. package/dist/definitions/types/index.d.cts +3 -1
  298. package/dist/definitions/types/index.d.cts.map +1 -1
  299. package/dist/definitions/types/index.d.mts +3 -1
  300. package/dist/definitions/types/index.d.mts.map +3 -1
  301. package/dist/definitions/types/index.d.ts +3 -1
  302. package/dist/definitions/types/index.d.ts.map +1 -1
  303. package/dist/definitions/upload/file2Base64/index.d.cts.map +1 -1
  304. package/dist/definitions/upload/file2Base64/index.d.ts.map +1 -1
  305. package/dist/hooks/accessControl/useCan/index.d.cts +4 -2
  306. package/dist/hooks/accessControl/useCan/index.d.cts.map +1 -1
  307. package/dist/hooks/accessControl/useCan/index.d.mts +4 -2
  308. package/dist/hooks/accessControl/useCan/index.d.mts.map +4 -2
  309. package/dist/hooks/accessControl/useCan/index.d.ts +4 -2
  310. package/dist/hooks/accessControl/useCan/index.d.ts.map +1 -1
  311. package/dist/hooks/auditLog/useLog/index.d.cts.map +1 -1
  312. package/dist/hooks/auditLog/useLog/index.d.ts.map +1 -1
  313. package/dist/hooks/auditLog/useLogList/index.d.cts +4 -4
  314. package/dist/hooks/auditLog/useLogList/index.d.cts.map +1 -1
  315. package/dist/hooks/auditLog/useLogList/index.d.mts +4 -4
  316. package/dist/hooks/auditLog/useLogList/index.d.mts.map +4 -4
  317. package/dist/hooks/auditLog/useLogList/index.d.ts +4 -4
  318. package/dist/hooks/auditLog/useLogList/index.d.ts.map +1 -1
  319. package/dist/hooks/auth/index.d.cts +2 -2
  320. package/dist/hooks/auth/index.d.cts.map +1 -1
  321. package/dist/hooks/auth/index.d.mts +2 -2
  322. package/dist/hooks/auth/index.d.mts.map +2 -2
  323. package/dist/hooks/auth/index.d.ts +2 -2
  324. package/dist/hooks/auth/index.d.ts.map +1 -1
  325. package/dist/hooks/auth/useForgotPassword/index.d.cts +9 -14
  326. package/dist/hooks/auth/useForgotPassword/index.d.cts.map +1 -1
  327. package/dist/hooks/auth/useForgotPassword/index.d.mts +9 -14
  328. package/dist/hooks/auth/useForgotPassword/index.d.mts.map +9 -14
  329. package/dist/hooks/auth/useForgotPassword/index.d.ts +9 -14
  330. package/dist/hooks/auth/useForgotPassword/index.d.ts.map +1 -1
  331. package/dist/hooks/auth/useGetIdentity/index.d.cts +14 -19
  332. package/dist/hooks/auth/useGetIdentity/index.d.cts.map +1 -1
  333. package/dist/hooks/auth/useGetIdentity/index.d.mts +14 -19
  334. package/dist/hooks/auth/useGetIdentity/index.d.mts.map +14 -19
  335. package/dist/hooks/auth/useGetIdentity/index.d.ts +14 -19
  336. package/dist/hooks/auth/useGetIdentity/index.d.ts.map +1 -1
  337. package/dist/hooks/auth/useIsAuthenticated/index.d.cts +7 -17
  338. package/dist/hooks/auth/useIsAuthenticated/index.d.cts.map +1 -1
  339. package/dist/hooks/auth/useIsAuthenticated/index.d.mts +7 -17
  340. package/dist/hooks/auth/useIsAuthenticated/index.d.mts.map +7 -17
  341. package/dist/hooks/auth/useIsAuthenticated/index.d.ts +7 -17
  342. package/dist/hooks/auth/useIsAuthenticated/index.d.ts.map +1 -1
  343. package/dist/hooks/auth/useIsExistAuthentication/index.d.cts.map +1 -1
  344. package/dist/hooks/auth/useIsExistAuthentication/index.d.ts.map +1 -1
  345. package/dist/hooks/auth/useLogin/index.d.cts +11 -15
  346. package/dist/hooks/auth/useLogin/index.d.cts.map +1 -1
  347. package/dist/hooks/auth/useLogin/index.d.mts +11 -15
  348. package/dist/hooks/auth/useLogin/index.d.mts.map +11 -15
  349. package/dist/hooks/auth/useLogin/index.d.ts +11 -15
  350. package/dist/hooks/auth/useLogin/index.d.ts.map +1 -1
  351. package/dist/hooks/auth/useLogout/index.d.cts +8 -15
  352. package/dist/hooks/auth/useLogout/index.d.cts.map +1 -1
  353. package/dist/hooks/auth/useLogout/index.d.mts +8 -15
  354. package/dist/hooks/auth/useLogout/index.d.mts.map +8 -15
  355. package/dist/hooks/auth/useLogout/index.d.ts +8 -15
  356. package/dist/hooks/auth/useLogout/index.d.ts.map +1 -1
  357. package/dist/hooks/auth/useOnError/index.d.cts +5 -16
  358. package/dist/hooks/auth/useOnError/index.d.cts.map +1 -1
  359. package/dist/hooks/auth/useOnError/index.d.mts +5 -16
  360. package/dist/hooks/auth/useOnError/index.d.mts.map +5 -16
  361. package/dist/hooks/auth/useOnError/index.d.ts +5 -16
  362. package/dist/hooks/auth/useOnError/index.d.ts.map +1 -1
  363. package/dist/hooks/auth/usePermissions/index.d.cts +9 -16
  364. package/dist/hooks/auth/usePermissions/index.d.cts.map +1 -1
  365. package/dist/hooks/auth/usePermissions/index.d.mts +9 -16
  366. package/dist/hooks/auth/usePermissions/index.d.mts.map +9 -16
  367. package/dist/hooks/auth/usePermissions/index.d.ts +9 -16
  368. package/dist/hooks/auth/usePermissions/index.d.ts.map +1 -1
  369. package/dist/hooks/auth/useRegister/index.d.cts +10 -15
  370. package/dist/hooks/auth/useRegister/index.d.cts.map +1 -1
  371. package/dist/hooks/auth/useRegister/index.d.mts +10 -15
  372. package/dist/hooks/auth/useRegister/index.d.mts.map +10 -15
  373. package/dist/hooks/auth/useRegister/index.d.ts +10 -15
  374. package/dist/hooks/auth/useRegister/index.d.ts.map +1 -1
  375. package/dist/hooks/auth/useUpdatePassword/index.d.cts +12 -18
  376. package/dist/hooks/auth/useUpdatePassword/index.d.cts.map +1 -1
  377. package/dist/hooks/auth/useUpdatePassword/index.d.mts +12 -18
  378. package/dist/hooks/auth/useUpdatePassword/index.d.mts.map +12 -18
  379. package/dist/hooks/auth/useUpdatePassword/index.d.ts +12 -18
  380. package/dist/hooks/auth/useUpdatePassword/index.d.ts.map +1 -1
  381. package/dist/hooks/breadcrumb/index.d.cts.map +1 -1
  382. package/dist/hooks/breadcrumb/index.d.ts.map +1 -1
  383. package/dist/hooks/button/button-can-access/index.d.cts.map +1 -1
  384. package/dist/hooks/button/button-can-access/index.d.ts.map +1 -1
  385. package/dist/hooks/button/delete-button/index.d.cts.map +1 -1
  386. package/dist/hooks/button/delete-button/index.d.ts.map +1 -1
  387. package/dist/hooks/button/index.d.cts.map +1 -1
  388. package/dist/hooks/button/index.d.ts.map +1 -1
  389. package/dist/hooks/button/navigation-button/index.d.cts.map +1 -1
  390. package/dist/hooks/button/navigation-button/index.d.ts.map +1 -1
  391. package/dist/hooks/button/refresh-button/index.d.cts.map +1 -1
  392. package/dist/hooks/button/refresh-button/index.d.ts.map +1 -1
  393. package/dist/hooks/data/useApiUrl.d.cts.map +1 -1
  394. package/dist/hooks/data/useApiUrl.d.ts.map +1 -1
  395. package/dist/hooks/data/useCreate.d.cts +1 -4
  396. package/dist/hooks/data/useCreate.d.cts.map +1 -1
  397. package/dist/hooks/data/useCreate.d.mts +1 -4
  398. package/dist/hooks/data/useCreate.d.mts.map +1 -4
  399. package/dist/hooks/data/useCreate.d.ts +1 -4
  400. package/dist/hooks/data/useCreate.d.ts.map +1 -1
  401. package/dist/hooks/data/useCreateMany.d.cts +1 -2
  402. package/dist/hooks/data/useCreateMany.d.cts.map +1 -1
  403. package/dist/hooks/data/useCreateMany.d.mts +1 -2
  404. package/dist/hooks/data/useCreateMany.d.mts.map +1 -2
  405. package/dist/hooks/data/useCreateMany.d.ts +1 -2
  406. package/dist/hooks/data/useCreateMany.d.ts.map +1 -1
  407. package/dist/hooks/data/useCustom.d.cts +13 -10
  408. package/dist/hooks/data/useCustom.d.cts.map +1 -1
  409. package/dist/hooks/data/useCustom.d.mts +13 -10
  410. package/dist/hooks/data/useCustom.d.mts.map +13 -10
  411. package/dist/hooks/data/useCustom.d.ts +13 -10
  412. package/dist/hooks/data/useCustom.d.ts.map +1 -1
  413. package/dist/hooks/data/useCustomMutation.d.cts +8 -5
  414. package/dist/hooks/data/useCustomMutation.d.cts.map +1 -1
  415. package/dist/hooks/data/useCustomMutation.d.mts +8 -5
  416. package/dist/hooks/data/useCustomMutation.d.mts.map +8 -5
  417. package/dist/hooks/data/useCustomMutation.d.ts +8 -5
  418. package/dist/hooks/data/useCustomMutation.d.ts.map +1 -1
  419. package/dist/hooks/data/useDelete.d.cts +5 -4
  420. package/dist/hooks/data/useDelete.d.cts.map +1 -1
  421. package/dist/hooks/data/useDelete.d.mts +5 -4
  422. package/dist/hooks/data/useDelete.d.mts.map +5 -4
  423. package/dist/hooks/data/useDelete.d.ts +5 -4
  424. package/dist/hooks/data/useDelete.d.ts.map +1 -1
  425. package/dist/hooks/data/useDeleteMany.d.cts +5 -4
  426. package/dist/hooks/data/useDeleteMany.d.cts.map +1 -1
  427. package/dist/hooks/data/useDeleteMany.d.mts +5 -4
  428. package/dist/hooks/data/useDeleteMany.d.mts.map +5 -4
  429. package/dist/hooks/data/useDeleteMany.d.ts +5 -4
  430. package/dist/hooks/data/useDeleteMany.d.ts.map +1 -1
  431. package/dist/hooks/data/useInfiniteList.d.cts +22 -21
  432. package/dist/hooks/data/useInfiniteList.d.cts.map +1 -1
  433. package/dist/hooks/data/useInfiniteList.d.mts +22 -21
  434. package/dist/hooks/data/useInfiniteList.d.mts.map +22 -21
  435. package/dist/hooks/data/useInfiniteList.d.ts +22 -21
  436. package/dist/hooks/data/useInfiniteList.d.ts.map +1 -1
  437. package/dist/hooks/data/useList.d.cts +11 -24
  438. package/dist/hooks/data/useList.d.cts.map +1 -1
  439. package/dist/hooks/data/useList.d.mts +11 -24
  440. package/dist/hooks/data/useList.d.mts.map +11 -24
  441. package/dist/hooks/data/useList.d.ts +11 -24
  442. package/dist/hooks/data/useList.d.ts.map +1 -1
  443. package/dist/hooks/data/useMany.d.cts +11 -8
  444. package/dist/hooks/data/useMany.d.cts.map +1 -1
  445. package/dist/hooks/data/useMany.d.mts +11 -8
  446. package/dist/hooks/data/useMany.d.mts.map +11 -8
  447. package/dist/hooks/data/useMany.d.ts +11 -8
  448. package/dist/hooks/data/useMany.d.ts.map +1 -1
  449. package/dist/hooks/data/useOne.d.cts +9 -7
  450. package/dist/hooks/data/useOne.d.cts.map +1 -1
  451. package/dist/hooks/data/useOne.d.mts +9 -7
  452. package/dist/hooks/data/useOne.d.mts.map +9 -7
  453. package/dist/hooks/data/useOne.d.ts +9 -7
  454. package/dist/hooks/data/useOne.d.ts.map +1 -1
  455. package/dist/hooks/data/useUpdate.d.cts +1 -4
  456. package/dist/hooks/data/useUpdate.d.cts.map +1 -1
  457. package/dist/hooks/data/useUpdate.d.mts +1 -4
  458. package/dist/hooks/data/useUpdate.d.mts.map +1 -4
  459. package/dist/hooks/data/useUpdate.d.ts +1 -4
  460. package/dist/hooks/data/useUpdate.d.ts.map +1 -1
  461. package/dist/hooks/data/useUpdateMany.d.cts +1 -4
  462. package/dist/hooks/data/useUpdateMany.d.cts.map +1 -1
  463. package/dist/hooks/data/useUpdateMany.d.mts +1 -4
  464. package/dist/hooks/data/useUpdateMany.d.mts.map +1 -4
  465. package/dist/hooks/data/useUpdateMany.d.ts +1 -4
  466. package/dist/hooks/data/useUpdateMany.d.ts.map +1 -1
  467. package/dist/hooks/deepMemo/index.d.cts.map +1 -1
  468. package/dist/hooks/deepMemo/index.d.ts.map +1 -1
  469. package/dist/hooks/export/index.d.cts +24 -36
  470. package/dist/hooks/export/index.d.cts.map +1 -1
  471. package/dist/hooks/export/index.d.mts +24 -36
  472. package/dist/hooks/export/index.d.mts.map +24 -36
  473. package/dist/hooks/export/index.d.ts +24 -36
  474. package/dist/hooks/export/index.d.ts.map +1 -1
  475. package/dist/hooks/form/index.d.cts +1 -1
  476. package/dist/hooks/form/index.d.cts.map +1 -1
  477. package/dist/hooks/form/index.d.mts +1 -1
  478. package/dist/hooks/form/index.d.mts.map +1 -1
  479. package/dist/hooks/form/index.d.ts +1 -1
  480. package/dist/hooks/form/index.d.ts.map +1 -1
  481. package/dist/hooks/form/types.d.cts +4 -20
  482. package/dist/hooks/form/types.d.cts.map +1 -1
  483. package/dist/hooks/form/types.d.mts +4 -20
  484. package/dist/hooks/form/types.d.mts.map +4 -20
  485. package/dist/hooks/form/types.d.ts +4 -20
  486. package/dist/hooks/form/types.d.ts.map +1 -1
  487. package/dist/hooks/i18n/useGetLocale.d.cts +1 -1
  488. package/dist/hooks/i18n/useGetLocale.d.cts.map +1 -1
  489. package/dist/hooks/i18n/useGetLocale.d.mts +1 -1
  490. package/dist/hooks/i18n/useGetLocale.d.mts.map +1 -1
  491. package/dist/hooks/i18n/useGetLocale.d.ts +1 -1
  492. package/dist/hooks/i18n/useGetLocale.d.ts.map +1 -1
  493. package/dist/hooks/i18n/useTranslation.d.cts +3 -3
  494. package/dist/hooks/i18n/useTranslation.d.mts +3 -3
  495. package/dist/hooks/i18n/useTranslation.d.mts.map +3 -3
  496. package/dist/hooks/i18n/useTranslation.d.ts +3 -3
  497. package/dist/hooks/import/index.d.cts +1 -11
  498. package/dist/hooks/import/index.d.cts.map +1 -1
  499. package/dist/hooks/import/index.d.mts +1 -11
  500. package/dist/hooks/import/index.d.mts.map +1 -11
  501. package/dist/hooks/import/index.d.ts +1 -11
  502. package/dist/hooks/import/index.d.ts.map +1 -1
  503. package/dist/hooks/index.d.cts +0 -3
  504. package/dist/hooks/index.d.cts.map +1 -1
  505. package/dist/hooks/index.d.mts +0 -3
  506. package/dist/hooks/index.d.mts.map +0 -3
  507. package/dist/hooks/index.d.ts +0 -3
  508. package/dist/hooks/index.d.ts.map +1 -1
  509. package/dist/hooks/invalidate/index.d.cts.map +1 -1
  510. package/dist/hooks/invalidate/index.d.ts.map +1 -1
  511. package/dist/hooks/live/useLiveMode/index.d.cts.map +1 -1
  512. package/dist/hooks/live/useLiveMode/index.d.ts.map +1 -1
  513. package/dist/hooks/live/useResourceSubscription/index.d.cts +2 -23
  514. package/dist/hooks/live/useResourceSubscription/index.d.cts.map +1 -1
  515. package/dist/hooks/live/useResourceSubscription/index.d.mts +2 -23
  516. package/dist/hooks/live/useResourceSubscription/index.d.mts.map +2 -23
  517. package/dist/hooks/live/useResourceSubscription/index.d.ts +2 -23
  518. package/dist/hooks/live/useResourceSubscription/index.d.ts.map +1 -1
  519. package/dist/hooks/live/useSubscription/index.d.cts +2 -23
  520. package/dist/hooks/live/useSubscription/index.d.cts.map +1 -1
  521. package/dist/hooks/live/useSubscription/index.d.mts +2 -23
  522. package/dist/hooks/live/useSubscription/index.d.mts.map +2 -23
  523. package/dist/hooks/live/useSubscription/index.d.ts +2 -23
  524. package/dist/hooks/live/useSubscription/index.d.ts.map +1 -1
  525. package/dist/hooks/memoized/index.d.cts.map +1 -1
  526. package/dist/hooks/memoized/index.d.ts.map +1 -1
  527. package/dist/hooks/menu/useMenu.d.cts.map +1 -1
  528. package/dist/hooks/menu/useMenu.d.ts.map +1 -1
  529. package/dist/hooks/modal/useModal/index.d.cts.map +1 -1
  530. package/dist/hooks/modal/useModal/index.d.ts.map +1 -1
  531. package/dist/hooks/navigation/index.d.cts +11 -14
  532. package/dist/hooks/navigation/index.d.cts.map +1 -1
  533. package/dist/hooks/navigation/index.d.mts +11 -14
  534. package/dist/hooks/navigation/index.d.mts.map +11 -14
  535. package/dist/hooks/navigation/index.d.ts +11 -14
  536. package/dist/hooks/navigation/index.d.ts.map +1 -1
  537. package/dist/hooks/notification/useCancelNotification/index.d.cts +0 -1
  538. package/dist/hooks/notification/useCancelNotification/index.d.cts.map +1 -1
  539. package/dist/hooks/notification/useCancelNotification/index.d.mts +0 -1
  540. package/dist/hooks/notification/useCancelNotification/index.d.mts.map +0 -1
  541. package/dist/hooks/notification/useCancelNotification/index.d.ts +0 -1
  542. package/dist/hooks/notification/useCancelNotification/index.d.ts.map +1 -1
  543. package/dist/hooks/redirection/index.d.cts +2 -2
  544. package/dist/hooks/redirection/index.d.cts.map +1 -1
  545. package/dist/hooks/redirection/index.d.mts +2 -2
  546. package/dist/hooks/redirection/index.d.mts.map +2 -2
  547. package/dist/hooks/redirection/index.d.ts +2 -2
  548. package/dist/hooks/redirection/index.d.ts.map +1 -1
  549. package/dist/hooks/refine/index.d.cts +0 -1
  550. package/dist/hooks/refine/index.d.cts.map +1 -1
  551. package/dist/hooks/refine/index.d.mts +0 -1
  552. package/dist/hooks/refine/index.d.mts.map +0 -1
  553. package/dist/hooks/refine/index.d.ts +0 -1
  554. package/dist/hooks/refine/index.d.ts.map +1 -1
  555. package/dist/hooks/refine/useRefineContext.d.cts +2 -11
  556. package/dist/hooks/refine/useRefineContext.d.cts.map +1 -1
  557. package/dist/hooks/refine/useRefineContext.d.mts +2 -11
  558. package/dist/hooks/refine/useRefineContext.d.mts.map +2 -11
  559. package/dist/hooks/refine/useRefineContext.d.ts +2 -11
  560. package/dist/hooks/refine/useRefineContext.d.ts.map +1 -1
  561. package/dist/hooks/router/use-get-to-path/index.d.cts +0 -1
  562. package/dist/hooks/router/use-get-to-path/index.d.cts.map +1 -1
  563. package/dist/hooks/router/use-get-to-path/index.d.mts +0 -1
  564. package/dist/hooks/router/use-get-to-path/index.d.mts.map +0 -1
  565. package/dist/hooks/router/use-get-to-path/index.d.ts +0 -1
  566. package/dist/hooks/router/use-get-to-path/index.d.ts.map +1 -1
  567. package/dist/hooks/router/use-go/index.d.cts.map +1 -1
  568. package/dist/hooks/router/use-go/index.d.ts.map +1 -1
  569. package/dist/hooks/router/use-link/index.d.cts +2 -3
  570. package/dist/hooks/router/use-link/index.d.cts.map +1 -1
  571. package/dist/hooks/router/use-link/index.d.mts +2 -3
  572. package/dist/hooks/router/use-link/index.d.mts.map +2 -3
  573. package/dist/hooks/router/use-link/index.d.ts +2 -3
  574. package/dist/hooks/router/use-link/index.d.ts.map +1 -1
  575. package/dist/hooks/router/use-parsed/index.d.cts.map +1 -1
  576. package/dist/hooks/router/use-parsed/index.d.ts.map +1 -1
  577. package/dist/hooks/router/use-router-misuse-warning/index.d.cts.map +1 -1
  578. package/dist/hooks/router/use-router-misuse-warning/index.d.ts.map +1 -1
  579. package/dist/hooks/router/use-to-path/index.d.cts +1 -2
  580. package/dist/hooks/router/use-to-path/index.d.cts.map +1 -1
  581. package/dist/hooks/router/use-to-path/index.d.mts +1 -2
  582. package/dist/hooks/router/use-to-path/index.d.mts.map +1 -2
  583. package/dist/hooks/router/use-to-path/index.d.ts +1 -2
  584. package/dist/hooks/router/use-to-path/index.d.ts.map +1 -1
  585. package/dist/hooks/show/index.d.cts +2 -2
  586. package/dist/hooks/show/index.d.cts.map +1 -1
  587. package/dist/hooks/show/index.d.mts +2 -2
  588. package/dist/hooks/show/index.d.mts.map +2 -2
  589. package/dist/hooks/show/index.d.ts +2 -2
  590. package/dist/hooks/show/index.d.ts.map +1 -1
  591. package/dist/hooks/show/types.d.cts +3 -16
  592. package/dist/hooks/show/types.d.cts.map +1 -1
  593. package/dist/hooks/show/types.d.mts +3 -16
  594. package/dist/hooks/show/types.d.mts.map +3 -16
  595. package/dist/hooks/show/types.d.ts +3 -16
  596. package/dist/hooks/show/types.d.ts.map +1 -1
  597. package/dist/hooks/use-resource-params/index.d.cts +3 -0
  598. package/dist/hooks/use-resource-params/index.d.cts.map +1 -1
  599. package/dist/hooks/use-resource-params/index.d.mts +3 -0
  600. package/dist/hooks/use-resource-params/index.d.mts.map +3 -0
  601. package/dist/hooks/use-resource-params/index.d.ts +3 -0
  602. package/dist/hooks/use-resource-params/index.d.ts.map +1 -1
  603. package/dist/hooks/use-resource-params/use-action/index.d.cts +1 -3
  604. package/dist/hooks/use-resource-params/use-action/index.d.cts.map +1 -1
  605. package/dist/hooks/use-resource-params/use-action/index.d.mts +1 -3
  606. package/dist/hooks/use-resource-params/use-action/index.d.mts.map +1 -3
  607. package/dist/hooks/use-resource-params/use-action/index.d.ts +1 -3
  608. package/dist/hooks/use-resource-params/use-action/index.d.ts.map +1 -1
  609. package/dist/hooks/use-resource-params/use-id/index.d.cts +1 -3
  610. package/dist/hooks/use-resource-params/use-id/index.d.cts.map +1 -1
  611. package/dist/hooks/use-resource-params/use-id/index.d.mts +1 -3
  612. package/dist/hooks/use-resource-params/use-id/index.d.mts.map +1 -3
  613. package/dist/hooks/use-resource-params/use-id/index.d.ts +1 -3
  614. package/dist/hooks/use-resource-params/use-id/index.d.ts.map +1 -1
  615. package/dist/hooks/use-resource-params/use-resource/index.d.cts +34 -0
  616. package/dist/hooks/use-resource-params/use-resource/index.d.cts.map +1 -0
  617. package/dist/hooks/use-resource-params/use-resource/index.d.mts +34 -0
  618. package/dist/hooks/use-resource-params/use-resource/index.d.mts.map +34 -0
  619. package/dist/hooks/use-resource-params/use-resource/index.d.ts +34 -0
  620. package/dist/hooks/use-resource-params/use-resource/index.d.ts.map +1 -0
  621. package/dist/hooks/useKeys/index.d.cts +0 -1
  622. package/dist/hooks/useKeys/index.d.cts.map +1 -1
  623. package/dist/hooks/useKeys/index.d.mts +0 -1
  624. package/dist/hooks/useKeys/index.d.mts.map +0 -1
  625. package/dist/hooks/useKeys/index.d.ts +0 -1
  626. package/dist/hooks/useKeys/index.d.ts.map +1 -1
  627. package/dist/hooks/useLoadingOvertime/index.d.cts.map +1 -1
  628. package/dist/hooks/useLoadingOvertime/index.d.ts.map +1 -1
  629. package/dist/hooks/useSelect/index.d.cts +6 -33
  630. package/dist/hooks/useSelect/index.d.cts.map +1 -1
  631. package/dist/hooks/useSelect/index.d.mts +6 -33
  632. package/dist/hooks/useSelect/index.d.mts.map +6 -33
  633. package/dist/hooks/useSelect/index.d.ts +6 -33
  634. package/dist/hooks/useSelect/index.d.ts.map +1 -1
  635. package/dist/hooks/useTable/index.d.cts +10 -72
  636. package/dist/hooks/useTable/index.d.cts.map +1 -1
  637. package/dist/hooks/useTable/index.d.mts +10 -72
  638. package/dist/hooks/useTable/index.d.mts.map +10 -72
  639. package/dist/hooks/useTable/index.d.ts +10 -72
  640. package/dist/hooks/useTable/index.d.ts.map +1 -1
  641. package/dist/hooks/useTelemetryData/index.d.cts.map +1 -1
  642. package/dist/hooks/useTelemetryData/index.d.ts.map +1 -1
  643. package/dist/index.cjs +18 -24
  644. package/dist/index.cjs.map +1 -1
  645. package/dist/index.d.cts +7 -8
  646. package/dist/index.d.cts.map +1 -1
  647. package/dist/index.d.mts +7 -8
  648. package/dist/index.d.mts.map +7 -8
  649. package/dist/index.d.ts +7 -8
  650. package/dist/index.d.ts.map +1 -1
  651. package/dist/index.mjs +18 -24
  652. package/dist/index.mjs.map +1 -1
  653. package/package.json +22 -19
  654. package/src/components/authenticated/index.tsx +8 -84
  655. package/src/components/autoSaveIndicator/index.tsx +7 -4
  656. package/src/components/canAccess/index.tsx +14 -3
  657. package/src/components/containers/refine/index.tsx +52 -123
  658. package/src/components/index.ts +0 -1
  659. package/src/components/pages/auth/components/forgotPassword/index.tsx +4 -14
  660. package/src/components/pages/auth/components/login/index.tsx +3 -17
  661. package/src/components/pages/auth/components/register/index.tsx +4 -19
  662. package/src/components/pages/auth/components/updatePassword/index.tsx +3 -5
  663. package/src/components/pages/error/index.tsx +3 -15
  664. package/src/components/pages/index.tsx +0 -2
  665. package/src/components/routeChangeHandler/index.tsx +9 -9
  666. package/src/contexts/accessControl/index.tsx +0 -3
  667. package/src/contexts/accessControl/types.ts +16 -24
  668. package/src/contexts/auditLog/types.ts +1 -2
  669. package/src/contexts/auth/index.tsx +15 -98
  670. package/src/contexts/auth/types.ts +0 -27
  671. package/src/contexts/data/types.ts +1 -73
  672. package/src/contexts/i18n/index.tsx +1 -4
  673. package/src/contexts/live/types.ts +2 -27
  674. package/src/contexts/notification/index.tsx +0 -3
  675. package/src/contexts/refine/index.tsx +0 -31
  676. package/src/contexts/refine/types.ts +13 -136
  677. package/src/contexts/resource/index.tsx +1 -2
  678. package/src/contexts/resource/types.ts +8 -107
  679. package/src/definitions/helpers/check-router-prop-misuse/index.ts +1 -4
  680. package/src/definitions/helpers/generateDocumentTitle/index.ts +7 -6
  681. package/src/definitions/helpers/handlePaginationParams/index.ts +4 -12
  682. package/src/definitions/helpers/handleRefineOptions/index.ts +1 -4
  683. package/src/definitions/helpers/index.ts +0 -6
  684. package/src/definitions/helpers/keys/index.ts +2 -92
  685. package/src/definitions/helpers/menu/create-resource-key.ts +1 -6
  686. package/src/definitions/helpers/menu/create-tree.ts +4 -15
  687. package/src/definitions/helpers/pick-resource/index.ts +1 -20
  688. package/src/definitions/helpers/pickDataProvider/index.ts +1 -2
  689. package/src/definitions/helpers/prepare-query-context/index.ts +8 -4
  690. package/src/definitions/helpers/router/__tests__/get-action-routes-from-resource.ts +7 -79
  691. package/src/definitions/helpers/router/__tests__/get-parent-prefix-for-resource.ts +0 -27
  692. package/src/definitions/helpers/router/__tests__/get-parent-resource.ts +1 -1
  693. package/src/definitions/helpers/router/__tests__/match-resource-from-route.ts +4 -16
  694. package/src/definitions/helpers/router/get-action-routes-from-resource.ts +1 -32
  695. package/src/definitions/helpers/router/get-default-action-path.ts +0 -1
  696. package/src/definitions/helpers/router/get-parent-prefix-for-resource.ts +1 -7
  697. package/src/definitions/helpers/router/get-parent-resource.ts +2 -7
  698. package/src/definitions/helpers/sanitize-resource/index.ts +5 -5
  699. package/src/definitions/helpers/useActiveAuthProvider/index.ts +4 -19
  700. package/src/definitions/helpers/useInfinitePagination/index.ts +2 -2
  701. package/src/definitions/table/__snapshots__/index.spec.ts.snap +4 -4
  702. package/src/definitions/table/index.ts +18 -10
  703. package/src/definitions/types/index.ts +5 -4
  704. package/src/hooks/accessControl/useCan/index.ts +8 -5
  705. package/src/hooks/auditLog/useLog/index.ts +31 -42
  706. package/src/hooks/auditLog/useLogList/index.ts +10 -9
  707. package/src/hooks/auth/index.ts +2 -2
  708. package/src/hooks/auth/useForgotPassword/index.ts +15 -121
  709. package/src/hooks/auth/useGetIdentity/index.ts +17 -74
  710. package/src/hooks/auth/useInvalidateAuthStore/index.ts +4 -4
  711. package/src/hooks/auth/useIsAuthenticated/index.ts +23 -70
  712. package/src/hooks/auth/useIsExistAuthentication/index.ts +3 -4
  713. package/src/hooks/auth/useLogin/index.ts +17 -152
  714. package/src/hooks/auth/useLogout/index.ts +17 -132
  715. package/src/hooks/auth/useOnError/index.ts +12 -82
  716. package/src/hooks/auth/usePermissions/index.ts +11 -88
  717. package/src/hooks/auth/useRegister/index.ts +18 -127
  718. package/src/hooks/auth/useUpdatePassword/index.ts +24 -163
  719. package/src/hooks/breadcrumb/index.ts +7 -23
  720. package/src/hooks/button/delete-button/index.tsx +4 -3
  721. package/src/hooks/button/navigation-button/index.tsx +2 -9
  722. package/src/hooks/button/refresh-button/index.tsx +3 -6
  723. package/src/hooks/data/useApiUrl.ts +3 -5
  724. package/src/hooks/data/useCreate.ts +11 -25
  725. package/src/hooks/data/useCreateMany.ts +11 -21
  726. package/src/hooks/data/useCustom.ts +64 -51
  727. package/src/hooks/data/useCustomMutation.ts +97 -88
  728. package/src/hooks/data/useDelete.ts +63 -61
  729. package/src/hooks/data/useDeleteMany.ts +69 -69
  730. package/src/hooks/data/useInfiniteList.ts +117 -86
  731. package/src/hooks/data/useList.ts +78 -89
  732. package/src/hooks/data/useMany.ts +70 -52
  733. package/src/hooks/data/useOne.ts +72 -64
  734. package/src/hooks/data/useUpdate.ts +44 -61
  735. package/src/hooks/data/useUpdateMany.ts +43 -62
  736. package/src/hooks/export/index.ts +55 -106
  737. package/src/hooks/form/index.ts +8 -13
  738. package/src/hooks/form/types.ts +12 -27
  739. package/src/hooks/i18n/useGetLocale.ts +8 -2
  740. package/src/hooks/import/index.tsx +6 -23
  741. package/src/hooks/index.ts +0 -3
  742. package/src/hooks/invalidate/index.tsx +29 -29
  743. package/src/hooks/live/useResourceSubscription/index.ts +5 -28
  744. package/src/hooks/live/useSubscription/index.ts +1 -24
  745. package/src/hooks/menu/useMenu.tsx +20 -29
  746. package/src/hooks/navigation/index.ts +14 -188
  747. package/src/hooks/redirection/index.ts +3 -3
  748. package/src/hooks/refine/index.ts +0 -1
  749. package/src/hooks/refine/useRefineContext.ts +4 -20
  750. package/src/hooks/router/use-get-to-path/index.ts +2 -6
  751. package/src/hooks/router/use-go/index.tsx +2 -2
  752. package/src/hooks/router/use-to-path/index.ts +1 -3
  753. package/src/hooks/show/index.ts +3 -8
  754. package/src/hooks/show/types.ts +9 -28
  755. package/src/hooks/use-resource-params/index.ts +18 -4
  756. package/src/hooks/use-resource-params/use-action/index.tsx +2 -14
  757. package/src/hooks/use-resource-params/use-id/index.tsx +2 -13
  758. package/src/hooks/use-resource-params/use-resource/index.ts +113 -0
  759. package/src/hooks/useKeys/index.tsx +0 -6
  760. package/src/hooks/useMeta/index.ts +1 -1
  761. package/src/hooks/useSelect/index.ts +66 -84
  762. package/src/hooks/useTable/index.ts +79 -231
  763. package/src/hooks/useTelemetryData/index.ts +7 -8
  764. package/src/index.tsx +2 -30
  765. package/tasks.md +354 -0
  766. package/dist/components/layoutWrapper/defaultLayout/index.d.cts +0 -4
  767. package/dist/components/layoutWrapper/defaultLayout/index.d.cts.map +0 -1
  768. package/dist/components/layoutWrapper/defaultLayout/index.d.mts +0 -4
  769. package/dist/components/layoutWrapper/defaultLayout/index.d.mts.map +0 -4
  770. package/dist/components/layoutWrapper/defaultLayout/index.d.ts +0 -4
  771. package/dist/components/layoutWrapper/defaultLayout/index.d.ts.map +0 -1
  772. package/dist/components/layoutWrapper/index.d.cts +0 -46
  773. package/dist/components/layoutWrapper/index.d.cts.map +0 -1
  774. package/dist/components/layoutWrapper/index.d.mts +0 -46
  775. package/dist/components/layoutWrapper/index.d.mts.map +0 -46
  776. package/dist/components/layoutWrapper/index.d.ts +0 -46
  777. package/dist/components/layoutWrapper/index.d.ts.map +0 -1
  778. package/dist/components/pages/login/index.d.cts +0 -13
  779. package/dist/components/pages/login/index.d.cts.map +0 -1
  780. package/dist/components/pages/login/index.d.mts +0 -13
  781. package/dist/components/pages/login/index.d.mts.map +0 -13
  782. package/dist/components/pages/login/index.d.ts +0 -13
  783. package/dist/components/pages/login/index.d.ts.map +0 -1
  784. package/dist/components/pages/ready/index.d.cts +0 -8
  785. package/dist/components/pages/ready/index.d.cts.map +0 -1
  786. package/dist/components/pages/ready/index.d.mts +0 -8
  787. package/dist/components/pages/ready/index.d.mts.map +0 -8
  788. package/dist/components/pages/ready/index.d.ts +0 -8
  789. package/dist/components/pages/ready/index.d.ts.map +0 -1
  790. package/dist/contexts/router/legacy/index.d.cts +0 -6
  791. package/dist/contexts/router/legacy/index.d.cts.map +0 -1
  792. package/dist/contexts/router/legacy/index.d.mts +0 -6
  793. package/dist/contexts/router/legacy/index.d.mts.map +0 -6
  794. package/dist/contexts/router/legacy/index.d.ts +0 -6
  795. package/dist/contexts/router/legacy/index.d.ts.map +0 -1
  796. package/dist/contexts/router/legacy/types.d.cts +0 -47
  797. package/dist/contexts/router/legacy/types.d.cts.map +0 -1
  798. package/dist/contexts/router/legacy/types.d.mts +0 -47
  799. package/dist/contexts/router/legacy/types.d.mts.map +0 -47
  800. package/dist/contexts/router/legacy/types.d.ts +0 -47
  801. package/dist/contexts/router/legacy/types.d.ts.map +0 -1
  802. package/dist/contexts/router/picker/index.d.cts +0 -15
  803. package/dist/contexts/router/picker/index.d.cts.map +0 -1
  804. package/dist/contexts/router/picker/index.d.mts +0 -15
  805. package/dist/contexts/router/picker/index.d.mts.map +0 -15
  806. package/dist/contexts/router/picker/index.d.ts +0 -15
  807. package/dist/contexts/router/picker/index.d.ts.map +0 -1
  808. package/dist/definitions/helpers/legacy-resource-transform/index.d.cts +0 -9
  809. package/dist/definitions/helpers/legacy-resource-transform/index.d.cts.map +0 -1
  810. package/dist/definitions/helpers/legacy-resource-transform/index.d.mts +0 -9
  811. package/dist/definitions/helpers/legacy-resource-transform/index.d.mts.map +0 -9
  812. package/dist/definitions/helpers/legacy-resource-transform/index.d.ts +0 -9
  813. package/dist/definitions/helpers/legacy-resource-transform/index.d.ts.map +0 -1
  814. package/dist/definitions/helpers/pickNotDeprecated/index.d.cts +0 -2
  815. package/dist/definitions/helpers/pickNotDeprecated/index.d.cts.map +0 -1
  816. package/dist/definitions/helpers/pickNotDeprecated/index.d.mts +0 -2
  817. package/dist/definitions/helpers/pickNotDeprecated/index.d.mts.map +0 -2
  818. package/dist/definitions/helpers/pickNotDeprecated/index.d.ts +0 -2
  819. package/dist/definitions/helpers/pickNotDeprecated/index.d.ts.map +0 -1
  820. package/dist/definitions/helpers/queryKeys/index.d.cts +0 -7
  821. package/dist/definitions/helpers/queryKeys/index.d.cts.map +0 -1
  822. package/dist/definitions/helpers/queryKeys/index.d.mts +0 -7
  823. package/dist/definitions/helpers/queryKeys/index.d.mts.map +0 -7
  824. package/dist/definitions/helpers/queryKeys/index.d.ts +0 -7
  825. package/dist/definitions/helpers/queryKeys/index.d.ts.map +0 -1
  826. package/dist/definitions/helpers/routeGenerator/index.d.cts +0 -7
  827. package/dist/definitions/helpers/routeGenerator/index.d.cts.map +0 -1
  828. package/dist/definitions/helpers/routeGenerator/index.d.mts +0 -7
  829. package/dist/definitions/helpers/routeGenerator/index.d.mts.map +0 -7
  830. package/dist/definitions/helpers/routeGenerator/index.d.ts +0 -7
  831. package/dist/definitions/helpers/routeGenerator/index.d.ts.map +0 -1
  832. package/dist/definitions/helpers/treeView/createTreeView/index.d.cts +0 -6
  833. package/dist/definitions/helpers/treeView/createTreeView/index.d.cts.map +0 -1
  834. package/dist/definitions/helpers/treeView/createTreeView/index.d.mts +0 -6
  835. package/dist/definitions/helpers/treeView/createTreeView/index.d.mts.map +0 -6
  836. package/dist/definitions/helpers/treeView/createTreeView/index.d.ts +0 -6
  837. package/dist/definitions/helpers/treeView/createTreeView/index.d.ts.map +0 -1
  838. package/dist/definitions/helpers/treeView/index.d.cts +0 -2
  839. package/dist/definitions/helpers/treeView/index.d.cts.map +0 -1
  840. package/dist/definitions/helpers/treeView/index.d.mts +0 -2
  841. package/dist/definitions/helpers/treeView/index.d.mts.map +0 -2
  842. package/dist/definitions/helpers/treeView/index.d.ts +0 -2
  843. package/dist/definitions/helpers/treeView/index.d.ts.map +0 -1
  844. package/dist/definitions/helpers/userFriendlyResourceName/index.d.cts +0 -7
  845. package/dist/definitions/helpers/userFriendlyResourceName/index.d.cts.map +0 -1
  846. package/dist/definitions/helpers/userFriendlyResourceName/index.d.mts +0 -7
  847. package/dist/definitions/helpers/userFriendlyResourceName/index.d.mts.map +0 -7
  848. package/dist/definitions/helpers/userFriendlyResourceName/index.d.ts +0 -7
  849. package/dist/definitions/helpers/userFriendlyResourceName/index.d.ts.map +0 -1
  850. package/dist/hooks/legacy-router/index.d.cts +0 -2
  851. package/dist/hooks/legacy-router/index.d.cts.map +0 -1
  852. package/dist/hooks/legacy-router/index.d.mts +0 -2
  853. package/dist/hooks/legacy-router/index.d.mts.map +0 -2
  854. package/dist/hooks/legacy-router/index.d.ts +0 -2
  855. package/dist/hooks/legacy-router/index.d.ts.map +0 -1
  856. package/dist/hooks/legacy-router/useRouterContext.d.cts +0 -10
  857. package/dist/hooks/legacy-router/useRouterContext.d.cts.map +0 -1
  858. package/dist/hooks/legacy-router/useRouterContext.d.mts +0 -10
  859. package/dist/hooks/legacy-router/useRouterContext.d.mts.map +0 -10
  860. package/dist/hooks/legacy-router/useRouterContext.d.ts +0 -10
  861. package/dist/hooks/legacy-router/useRouterContext.d.ts.map +0 -1
  862. package/dist/hooks/refine/useTitle.d.cts +0 -10
  863. package/dist/hooks/refine/useTitle.d.cts.map +0 -1
  864. package/dist/hooks/refine/useTitle.d.mts +0 -10
  865. package/dist/hooks/refine/useTitle.d.mts.map +0 -10
  866. package/dist/hooks/refine/useTitle.d.ts +0 -10
  867. package/dist/hooks/refine/useTitle.d.ts.map +0 -1
  868. package/dist/hooks/resource/index.d.cts +0 -3
  869. package/dist/hooks/resource/index.d.cts.map +0 -1
  870. package/dist/hooks/resource/index.d.mts +0 -3
  871. package/dist/hooks/resource/index.d.mts.map +0 -3
  872. package/dist/hooks/resource/index.d.ts +0 -3
  873. package/dist/hooks/resource/index.d.ts.map +0 -1
  874. package/dist/hooks/resource/useResource/index.d.cts +0 -63
  875. package/dist/hooks/resource/useResource/index.d.cts.map +0 -1
  876. package/dist/hooks/resource/useResource/index.d.mts +0 -63
  877. package/dist/hooks/resource/useResource/index.d.mts.map +0 -63
  878. package/dist/hooks/resource/useResource/index.d.ts +0 -63
  879. package/dist/hooks/resource/useResource/index.d.ts.map +0 -1
  880. package/dist/hooks/resource/useResourceWithRoute/index.d.cts +0 -8
  881. package/dist/hooks/resource/useResourceWithRoute/index.d.cts.map +0 -1
  882. package/dist/hooks/resource/useResourceWithRoute/index.d.mts +0 -8
  883. package/dist/hooks/resource/useResourceWithRoute/index.d.mts.map +0 -8
  884. package/dist/hooks/resource/useResourceWithRoute/index.d.ts +0 -8
  885. package/dist/hooks/resource/useResourceWithRoute/index.d.ts.map +0 -1
  886. package/src/components/layoutWrapper/defaultLayout/index.tsx +0 -7
  887. package/src/components/layoutWrapper/index.tsx +0 -122
  888. package/src/components/pages/login/index.tsx +0 -77
  889. package/src/components/pages/ready/index.tsx +0 -30
  890. package/src/contexts/router/legacy/index.tsx +0 -41
  891. package/src/contexts/router/legacy/types.ts +0 -50
  892. package/src/contexts/router/picker/index.tsx +0 -21
  893. package/src/definitions/helpers/legacy-resource-transform/index.ts +0 -29
  894. package/src/definitions/helpers/pickNotDeprecated/index.ts +0 -9
  895. package/src/definitions/helpers/queryKeys/index.ts +0 -114
  896. package/src/definitions/helpers/routeGenerator/index.ts +0 -29
  897. package/src/definitions/helpers/treeView/createTreeView/index.ts +0 -49
  898. package/src/definitions/helpers/treeView/index.ts +0 -1
  899. package/src/definitions/helpers/userFriendlyResourceName/index.ts +0 -18
  900. package/src/hooks/legacy-router/index.ts +0 -1
  901. package/src/hooks/legacy-router/useRouterContext.ts +0 -19
  902. package/src/hooks/refine/useTitle.tsx +0 -17
  903. package/src/hooks/resource/index.ts +0 -2
  904. package/src/hooks/resource/useResource/index.ts +0 -198
  905. package/src/hooks/resource/useResourceWithRoute/index.ts +0 -29
@@ -1,22 +1,18 @@
1
1
  import { type UseMutationOptions, type UseMutationResult } from "@tanstack/react-query";
2
- import type { AuthActionResponse, TLoginData } from "../../../contexts/auth/types";
2
+ import type { AuthActionResponse } from "../../../contexts/auth/types";
3
3
  import type { RefineError } from "../../../contexts/data/types";
4
- export type UseLoginLegacyProps<TVariables> = {
5
- v3LegacyAuthProviderCompatible: true;
6
- mutationOptions?: Omit<UseMutationOptions<TLoginData, Error | RefineError, TVariables, unknown>, "mutationFn" | "onError" | "onSuccess">;
7
- };
8
4
  export type UseLoginProps<TVariables> = {
9
- v3LegacyAuthProviderCompatible?: false;
10
5
  mutationOptions?: Omit<UseMutationOptions<AuthActionResponse, Error | RefineError, TVariables, unknown>, "mutationFn">;
11
6
  };
12
- export type UseLoginCombinedProps<TVariables> = {
13
- v3LegacyAuthProviderCompatible: boolean;
14
- mutationOptions?: Omit<UseMutationOptions<AuthActionResponse | TLoginData, Error | RefineError, TVariables, unknown>, "mutationFn">;
15
- };
16
- export type UseLoginLegacyReturnType<TVariables> = UseMutationResult<TLoginData, Error | RefineError, TVariables, unknown>;
17
7
  export type UseLoginReturnType<TVariables> = UseMutationResult<AuthActionResponse, Error | RefineError, TVariables, unknown>;
18
- export type UseLoginCombinedReturnType<TVariables> = UseMutationResult<AuthActionResponse | TLoginData, Error | RefineError, TVariables, unknown>;
19
- export declare function useLogin<TVariables = {}>(props: UseLoginLegacyProps<TVariables>): UseLoginLegacyReturnType<TVariables>;
20
- export declare function useLogin<TVariables = {}>(props?: UseLoginProps<TVariables>): UseLoginReturnType<TVariables>;
21
- export declare function useLogin<TVariables = {}>(props?: UseLoginCombinedProps<TVariables>): UseLoginCombinedReturnType<TVariables>;
8
+ /**
9
+ * `useLogin` calls `login` method from {@link https://refine.dev/docs/api-reference/core/providers/auth-provider `authProvider`} under the hood.
10
+ *
11
+ * @see {@link https://refine.dev/docs/api-reference/core/hooks/auth/useLogin} for more details.
12
+ *
13
+ * @typeParam TData - Result data of the query
14
+ * @typeParam TVariables - Values for mutation function. default `{}`
15
+ *
16
+ */
17
+ export declare function useLogin<TVariables = {}>({ mutationOptions, }?: UseLoginProps<TVariables>): UseLoginReturnType<TVariables>;
22
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useLogin/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EAEvB,MAAM,uBAAuB,CAAC;AAc/B,OAAO,KAAK,EACV,kBAAkB,EAElB,UAAU,EACX,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAIhE,MAAM,MAAM,mBAAmB,CAAC,UAAU,IAAI;IAC5C,8BAA8B,EAAE,IAAI,CAAC;IACrC,eAAe,CAAC,EAAE,IAAI,CACpB,kBAAkB,CAAC,UAAU,EAAE,KAAK,GAAG,WAAW,EAAE,UAAU,EAAE,OAAO,CAAC,EACxE,YAAY,GAAG,SAAS,GAAG,WAAW,CACvC,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,aAAa,CAAC,UAAU,IAAI;IACtC,8BAA8B,CAAC,EAAE,KAAK,CAAC;I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names":[],"mappings":"AAGA,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EAEvB,MAAM,uBAAuB,CAAC;AAK/B,OAAO,KAAK,EACV,kBAAkB,EAEnB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAIhE,MAAM,MAAM,aAAa,CAAC,UAAU,IAAI;IACtC,eAAe,CAAC,EAAE,IAAI,CACpB,kBAAkB,CAChB,kBAAkB,EAClB,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACR,EACD,YAAY,CACb,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,kBAAkB,CAAC,UAAU,IAAI,iBAAiB,CAC5D,kBAAkB,EAClB,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACR,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,QAAQ,CAAC,UAAU,GAAG,EAAE,EAAE,EACxC,eAAe,GAChB,GAAE,aAAa,CAAC,UAAU,CAAM,GAAG,kBAAkB,CAAC,UAAU,CAAC,CAyDjE"}
@@ -1,26 +1,19 @@
1
1
  import { type UseMutationOptions, type UseMutationResult } from "@tanstack/react-query";
2
- import type { AuthActionResponse, TLogoutData } from "../../../contexts/auth/types";
2
+ import type { AuthActionResponse } from "../../../contexts/auth/types";
3
3
  import type { RefineError } from "../../../contexts/data/types";
4
4
  type Variables = {
5
5
  redirectPath?: string | false;
6
6
  };
7
- export type UseLogoutLegacyProps<TVariables> = {
8
- v3LegacyAuthProviderCompatible: true;
9
- mutationOptions?: Omit<UseMutationOptions<TLogoutData, Error | RefineError, (TVariables & Variables) | void, unknown>, "mutationFn" | "onError" | "onSuccess">;
10
- };
11
7
  export type UseLogoutProps<TVariables> = {
12
- v3LegacyAuthProviderCompatible?: false;
13
8
  mutationOptions?: Omit<UseMutationOptions<AuthActionResponse, Error | RefineError, (TVariables & Variables) | void, unknown>, "mutationFn">;
14
9
  };
15
- export type UseLogoutCombinedProps<TVariables> = {
16
- v3LegacyAuthProviderCompatible: boolean;
17
- mutationOptions?: Omit<UseMutationOptions<AuthActionResponse | TLogoutData, Error | RefineError, (TVariables & Variables) | void, unknown>, "mutationFn">;
18
- };
19
- export type UseLogoutLegacyReturnType<TVariables> = UseMutationResult<TLogoutData, Error | RefineError, (TVariables & Variables) | void, unknown>;
20
10
  export type UseLogoutReturnType<TVariables> = UseMutationResult<AuthActionResponse, Error | RefineError, (TVariables & Variables) | void, unknown>;
21
- export type UseLogoutCombinedReturnType<TVariables> = UseMutationResult<AuthActionResponse | TLogoutData, Error | RefineError, (TVariables & Variables) | void, unknown>;
22
- export declare function useLogout<TVariables = {}>(props: UseLogoutLegacyProps<TVariables>): UseLogoutLegacyReturnType<TVariables>;
23
- export declare function useLogout<TVariables = {}>(props?: UseLogoutProps<TVariables>): UseLogoutReturnType<TVariables>;
24
- export declare function useLogout<TVariables = {}>(props?: UseLogoutCombinedProps<TVariables>): UseLogoutCombinedReturnType<TVariables>;
11
+ /**
12
+ * `useLogout` calls the `logout` method from the {@link https://refine.dev/docs/api-reference/core/providers/auth-provider `authProvider`} under the hood.
13
+ *
14
+ * @see {@link https://refine.dev/docs/api-reference/core/hooks/auth/useLogout} for more details.
15
+ *
16
+ */
17
+ export declare function useLogout<TVariables = {}>({ mutationOptions, }?: UseLogoutProps<TVariables>): UseLogoutReturnType<TVariables>;
25
18
  export {};
26
19
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useLogout/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EAEvB,MAAM,uBAAuB,CAAC;AAW/B,OAAO,KAAK,EACV,kBAAkB,EAElB,WAAW,EACZ,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAIhE,KAAK,SAAS,GAAG;I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UAAU,GAAG,SAAS,CAAC,GAAG,IAAI,EAC/B,OAAO,CACR,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,UAAU,GAAG,EAAE,EAAE,EACzC,eAAe,GAChB,GAAE,cAAc,CAAC,UAAU,CAAM,GAAG,mBAAmB,CAAC,UAAU,CAAC,CAsDnE"}
@@ -1,26 +1,19 @@
1
1
  import { type UseMutationOptions, type UseMutationResult } from "@tanstack/react-query";
2
- import type { AuthActionResponse, TLogoutData } from "../../../contexts/auth/types";
2
+ import type { AuthActionResponse } from "../../../contexts/auth/types";
3
3
  import type { RefineError } from "../../../contexts/data/types";
4
4
  type Variables = {
5
5
  redirectPath?: string | false;
6
6
  };
7
- export type UseLogoutLegacyProps<TVariables> = {
8
- v3LegacyAuthProviderCompatible: true;
9
- mutationOptions?: Omit<UseMutationOptions<TLogoutData, Error | RefineError, (TVariables & Variables) | void, unknown>, "mutationFn" | "onError" | "onSuccess">;
10
- };
11
7
  export type UseLogoutProps<TVariables> = {
12
- v3LegacyAuthProviderCompatible?: false;
13
8
  mutationOptions?: Omit<UseMutationOptions<AuthActionResponse, Error | RefineError, (TVariables & Variables) | void, unknown>, "mutationFn">;
14
9
  };
15
- export type UseLogoutCombinedProps<TVariables> = {
16
- v3LegacyAuthProviderCompatible: boolean;
17
- mutationOptions?: Omit<UseMutationOptions<AuthActionResponse | TLogoutData, Error | RefineError, (TVariables & Variables) | void, unknown>, "mutationFn">;
18
- };
19
- export type UseLogoutLegacyReturnType<TVariables> = UseMutationResult<TLogoutData, Error | RefineError, (TVariables & Variables) | void, unknown>;
20
10
  export type UseLogoutReturnType<TVariables> = UseMutationResult<AuthActionResponse, Error | RefineError, (TVariables & Variables) | void, unknown>;
21
- export type UseLogoutCombinedReturnType<TVariables> = UseMutationResult<AuthActionResponse | TLogoutData, Error | RefineError, (TVariables & Variables) | void, unknown>;
22
- export declare function useLogout<TVariables = {}>(props: UseLogoutLegacyProps<TVariables>): UseLogoutLegacyReturnType<TVariables>;
23
- export declare function useLogout<TVariables = {}>(props?: UseLogoutProps<TVariables>): UseLogoutReturnType<TVariables>;
24
- export declare function useLogout<TVariables = {}>(props?: UseLogoutCombinedProps<TVariables>): UseLogoutCombinedReturnType<TVariables>;
11
+ /**
12
+ * `useLogout` calls the `logout` method from the {@link https://refine.dev/docs/api-reference/core/providers/auth-provider `authProvider`} under the hood.
13
+ *
14
+ * @see {@link https://refine.dev/docs/api-reference/core/hooks/auth/useLogout} for more details.
15
+ *
16
+ */
17
+ export declare function useLogout<TVariables = {}>({ mutationOptions, }?: UseLogoutProps<TVariables>): UseLogoutReturnType<TVariables>;
25
18
  export {};
26
19
  //# sourceMappingURL=index.d.ts.map
@@ -1,26 +1,19 @@
1
1
  import { type UseMutationOptions, type UseMutationResult } from "@tanstack/react-query";
2
- import type { AuthActionResponse, TLogoutData } from "../../../contexts/auth/types";
2
+ import type { AuthActionResponse } from "../../../contexts/auth/types";
3
3
  import type { RefineError } from "../../../contexts/data/types";
4
4
  type Variables = {
5
5
  redirectPath?: string | false;
6
6
  };
7
- export type UseLogoutLegacyProps<TVariables> = {
8
- v3LegacyAuthProviderCompatible: true;
9
- mutationOptions?: Omit<UseMutationOptions<TLogoutData, Error | RefineError, (TVariables & Variables) | void, unknown>, "mutationFn" | "onError" | "onSuccess">;
10
- };
11
7
  export type UseLogoutProps<TVariables> = {
12
- v3LegacyAuthProviderCompatible?: false;
13
8
  mutationOptions?: Omit<UseMutationOptions<AuthActionResponse, Error | RefineError, (TVariables & Variables) | void, unknown>, "mutationFn">;
14
9
  };
15
- export type UseLogoutCombinedProps<TVariables> = {
16
- v3LegacyAuthProviderCompatible: boolean;
17
- mutationOptions?: Omit<UseMutationOptions<AuthActionResponse | TLogoutData, Error | RefineError, (TVariables & Variables) | void, unknown>, "mutationFn">;
18
- };
19
- export type UseLogoutLegacyReturnType<TVariables> = UseMutationResult<TLogoutData, Error | RefineError, (TVariables & Variables) | void, unknown>;
20
10
  export type UseLogoutReturnType<TVariables> = UseMutationResult<AuthActionResponse, Error | RefineError, (TVariables & Variables) | void, unknown>;
21
- export type UseLogoutCombinedReturnType<TVariables> = UseMutationResult<AuthActionResponse | TLogoutData, Error | RefineError, (TVariables & Variables) | void, unknown>;
22
- export declare function useLogout<TVariables = {}>(props: UseLogoutLegacyProps<TVariables>): UseLogoutLegacyReturnType<TVariables>;
23
- export declare function useLogout<TVariables = {}>(props?: UseLogoutProps<TVariables>): UseLogoutReturnType<TVariables>;
24
- export declare function useLogout<TVariables = {}>(props?: UseLogoutCombinedProps<TVariables>): UseLogoutCombinedReturnType<TVariables>;
11
+ /**
12
+ * `useLogout` calls the `logout` method from the {@link https://refine.dev/docs/api-reference/core/providers/auth-provider `authProvider`} under the hood.
13
+ *
14
+ * @see {@link https://refine.dev/docs/api-reference/core/hooks/auth/useLogout} for more details.
15
+ *
16
+ */
17
+ export declare function useLogout<TVariables = {}>({ mutationOptions, }?: UseLogoutProps<TVariables>): UseLogoutReturnType<TVariables>;
25
18
  export {};
26
19
  //# sourceMappingURL=index.d.ts.map
@@ -1,26 +1,19 @@
1
1
  import { type UseMutationOptions, type UseMutationResult } from "@tanstack/react-query";
2
- import type { AuthActionResponse, TLogoutData } from "../../../contexts/auth/types";
2
+ import type { AuthActionResponse } from "../../../contexts/auth/types";
3
3
  import type { RefineError } from "../../../contexts/data/types";
4
4
  type Variables = {
5
5
  redirectPath?: string | false;
6
6
  };
7
- export type UseLogoutLegacyProps<TVariables> = {
8
- v3LegacyAuthProviderCompatible: true;
9
- mutationOptions?: Omit<UseMutationOptions<TLogoutData, Error | RefineError, (TVariables & Variables) | void, unknown>, "mutationFn" | "onError" | "onSuccess">;
10
- };
11
7
  export type UseLogoutProps<TVariables> = {
12
- v3LegacyAuthProviderCompatible?: false;
13
8
  mutationOptions?: Omit<UseMutationOptions<AuthActionResponse, Error | RefineError, (TVariables & Variables) | void, unknown>, "mutationFn">;
14
9
  };
15
- export type UseLogoutCombinedProps<TVariables> = {
16
- v3LegacyAuthProviderCompatible: boolean;
17
- mutationOptions?: Omit<UseMutationOptions<AuthActionResponse | TLogoutData, Error | RefineError, (TVariables & Variables) | void, unknown>, "mutationFn">;
18
- };
19
- export type UseLogoutLegacyReturnType<TVariables> = UseMutationResult<TLogoutData, Error | RefineError, (TVariables & Variables) | void, unknown>;
20
10
  export type UseLogoutReturnType<TVariables> = UseMutationResult<AuthActionResponse, Error | RefineError, (TVariables & Variables) | void, unknown>;
21
- export type UseLogoutCombinedReturnType<TVariables> = UseMutationResult<AuthActionResponse | TLogoutData, Error | RefineError, (TVariables & Variables) | void, unknown>;
22
- export declare function useLogout<TVariables = {}>(props: UseLogoutLegacyProps<TVariables>): UseLogoutLegacyReturnType<TVariables>;
23
- export declare function useLogout<TVariables = {}>(props?: UseLogoutProps<TVariables>): UseLogoutReturnType<TVariables>;
24
- export declare function useLogout<TVariables = {}>(props?: UseLogoutCombinedProps<TVariables>): UseLogoutCombinedReturnType<TVariables>;
11
+ /**
12
+ * `useLogout` calls the `logout` method from the {@link https://refine.dev/docs/api-reference/core/providers/auth-provider `authProvider`} under the hood.
13
+ *
14
+ * @see {@link https://refine.dev/docs/api-reference/core/hooks/auth/useLogout} for more details.
15
+ *
16
+ */
17
+ export declare function useLogout<TVariables = {}>({ mutationOptions, }?: UseLogoutProps<TVariables>): UseLogoutReturnType<TVariables>;
25
18
  export {};
26
19
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useLogout/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EAEvB,MAAM,uBAAuB,CAAC;AAW/B,OAAO,KAAK,EACV,kBAAkB,EAElB,WAAW,EACZ,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAIhE,KAAK,SAAS,GAAG;IACf,YAAY,CAAC,EAAE,MAA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AAG,IAAI,EAC/B,OAAO,CACR,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,UAAU,GAAG,EAAE,EAAE,EACzC,eAAe,GAChB,GAAE,cAAc,CAAC,UAAU,CAAM,GAAG,mBAAmB,CAAC,UAAU,CAAC,CAsDnE"}
@@ -1,22 +1,11 @@
1
1
  import { type UseMutationResult } from "@tanstack/react-query";
2
2
  import type { OnErrorResponse } from "../../../contexts/auth/types";
3
- export type UseOnErrorLegacyProps = {
4
- v3LegacyAuthProviderCompatible: true;
5
- };
6
- export type UseOnErrorProps = {
7
- v3LegacyAuthProviderCompatible?: false;
8
- };
9
- export type UseOnErrorCombinedProps = {
10
- v3LegacyAuthProviderCompatible: boolean;
11
- };
12
- export type UseOnErrorLegacyReturnType = UseMutationResult<void, string | undefined, any, unknown>;
13
3
  export type UseOnErrorReturnType = UseMutationResult<OnErrorResponse, unknown, unknown, unknown>;
14
- export type UseOnErrorCombinedReturnType = UseMutationResult<OnErrorResponse | void, unknown, unknown, unknown>;
15
- export declare function useOnError(props: UseOnErrorLegacyProps): UseOnErrorLegacyReturnType;
16
- export declare function useOnError(props?: UseOnErrorProps): UseOnErrorReturnType;
17
- export declare function useOnError(props?: UseOnErrorCombinedProps): UseOnErrorCombinedReturnType;
18
4
  /**
19
- * @deprecated `useCheckError` is deprecated with refine@4, use `useOnError` instead, however, we still support `useCheckError` for backward compatibility.
5
+ * `useOnError` calls the `checkError` method from the {@link https://refine.dev/docs/core/providers/auth-provider `authProvider`} under the hood.
6
+ *
7
+ * @see {@link https://refine.dev/docs/api-reference/core/hooks/auth/useCheckError} for more details.
8
+ *
20
9
  */
21
- export declare const useCheckError: typeof useOnError;
10
+ export declare function useOnError(): UseOnErrorReturnType;
22
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useOnError/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,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H,wBAAgB,UAAU,IAAI,oBAAoB,CAqCjD"}
@@ -1,22 +1,11 @@
1
1
  import { type UseMutationResult } from "@tanstack/react-query";
2
2
  import type { OnErrorResponse } from "../../../contexts/auth/types";
3
- export type UseOnErrorLegacyProps = {
4
- v3LegacyAuthProviderCompatible: true;
5
- };
6
- export type UseOnErrorProps = {
7
- v3LegacyAuthProviderCompatible?: false;
8
- };
9
- export type UseOnErrorCombinedProps = {
10
- v3LegacyAuthProviderCompatible: boolean;
11
- };
12
- export type UseOnErrorLegacyReturnType = UseMutationResult<void, string | undefined, any, unknown>;
13
3
  export type UseOnErrorReturnType = UseMutationResult<OnErrorResponse, unknown, unknown, unknown>;
14
- export type UseOnErrorCombinedReturnType = UseMutationResult<OnErrorResponse | void, unknown, unknown, unknown>;
15
- export declare function useOnError(props: UseOnErrorLegacyProps): UseOnErrorLegacyReturnType;
16
- export declare function useOnError(props?: UseOnErrorProps): UseOnErrorReturnType;
17
- export declare function useOnError(props?: UseOnErrorCombinedProps): UseOnErrorCombinedReturnType;
18
4
  /**
19
- * @deprecated `useCheckError` is deprecated with refine@4, use `useOnError` instead, however, we still support `useCheckError` for backward compatibility.
5
+ * `useOnError` calls the `checkError` method from the {@link https://refine.dev/docs/core/providers/auth-provider `authProvider`} under the hood.
6
+ *
7
+ * @see {@link https://refine.dev/docs/api-reference/core/hooks/auth/useCheckError} for more details.
8
+ *
20
9
  */
21
- export declare const useCheckError: typeof useOnError;
10
+ export declare function useOnError(): UseOnErrorReturnType;
22
11
  //# sourceMappingURL=index.d.ts.map
@@ -1,22 +1,11 @@
1
1
  import { type UseMutationResult } from "@tanstack/react-query";
2
2
  import type { OnErrorResponse } from "../../../contexts/auth/types";
3
- export type UseOnErrorLegacyProps = {
4
- v3LegacyAuthProviderCompatible: true;
5
- };
6
- export type UseOnErrorProps = {
7
- v3LegacyAuthProviderCompatible?: false;
8
- };
9
- export type UseOnErrorCombinedProps = {
10
- v3LegacyAuthProviderCompatible: boolean;
11
- };
12
- export type UseOnErrorLegacyReturnType = UseMutationResult<void, string | undefined, any, unknown>;
13
3
  export type UseOnErrorReturnType = UseMutationResult<OnErrorResponse, unknown, unknown, unknown>;
14
- export type UseOnErrorCombinedReturnType = UseMutationResult<OnErrorResponse | void, unknown, unknown, unknown>;
15
- export declare function useOnError(props: UseOnErrorLegacyProps): UseOnErrorLegacyReturnType;
16
- export declare function useOnError(props?: UseOnErrorProps): UseOnErrorReturnType;
17
- export declare function useOnError(props?: UseOnErrorCombinedProps): UseOnErrorCombinedReturnType;
18
4
  /**
19
- * @deprecated `useCheckError` is deprecated with refine@4, use `useOnError` instead, however, we still support `useCheckError` for backward compatibility.
5
+ * `useOnError` calls the `checkError` method from the {@link https://refine.dev/docs/core/providers/auth-provider `authProvider`} under the hood.
6
+ *
7
+ * @see {@link https://refine.dev/docs/api-reference/core/hooks/auth/useCheckError} for more details.
8
+ *
20
9
  */
21
- export declare const useCheckError: typeof useOnError;
10
+ export declare function useOnError(): UseOnErrorReturnType;
22
11
  //# sourceMappingURL=index.d.ts.map
@@ -1,22 +1,11 @@
1
1
  import { type UseMutationResult } from "@tanstack/react-query";
2
2
  import type { OnErrorResponse } from "../../../contexts/auth/types";
3
- export type UseOnErrorLegacyProps = {
4
- v3LegacyAuthProviderCompatible: true;
5
- };
6
- export type UseOnErrorProps = {
7
- v3LegacyAuthProviderCompatible?: false;
8
- };
9
- export type UseOnErrorCombinedProps = {
10
- v3LegacyAuthProviderCompatible: boolean;
11
- };
12
- export type UseOnErrorLegacyReturnType = UseMutationResult<void, string | undefined, any, unknown>;
13
3
  export type UseOnErrorReturnType = UseMutationResult<OnErrorResponse, unknown, unknown, unknown>;
14
- export type UseOnErrorCombinedReturnType = UseMutationResult<OnErrorResponse | void, unknown, unknown, unknown>;
15
- export declare function useOnError(props: UseOnErrorLegacyProps): UseOnErrorLegacyReturnType;
16
- export declare function useOnError(props?: UseOnErrorProps): UseOnErrorReturnType;
17
- export declare function useOnError(props?: UseOnErrorCombinedProps): UseOnErrorCombinedReturnType;
18
4
  /**
19
- * @deprecated `useCheckError` is deprecated with refine@4, use `useOnError` instead, however, we still support `useCheckError` for backward compatibility.
5
+ * `useOnError` calls the `checkError` method from the {@link https://refine.dev/docs/core/providers/auth-provider `authProvider`} under the hood.
6
+ *
7
+ * @see {@link https://refine.dev/docs/api-reference/core/hooks/auth/useCheckError} for more details.
8
+ *
20
9
  */
21
- export declare const useCheckError: typeof useOnError;
10
+ export declare function useOnError(): UseOnErrorReturnType;
22
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useOnError/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,iBAAiB,EAAe,MAAM,uBAAuB,CAAC;AAM5E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAEpE,MAAM,MAAM,qBAAqB,GAAG;IAClC,8BAA8B,EAAE,IAAI,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,8BAA8B,CAAC,EAAE,KAAK,CAAC;CACxC,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,8BAA8B,EAAE,OAAO,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,iBAAiB,CACxD,IAAI,EACJ,MAAM,GAAG,SAAS,EAClB,GAAG,EACH,OAAO,CACR,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAClD,eAAe,EACf,OAAO,EACP,OAAO,EACP,OAAO,CACR,CAAC;AACF,MAAM,MAAM,4BAA4B,GAAG,iBAAiB,CAC1D,eAAe,GAAG,IAAI,EACtB,OAAO,EACP,OAAO,EACP,OAAO,CACR,CAAC;AAEF,wBAAgB,UAAU,CACxB,KAAK,EAAE,qBAAqB,GAC3B,0BAA0B,CAAC;AAE9B,wBAAgB,UAAU,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,oBAAoB,CAAC;AAE1E,wBAAgB,UAAU,CACxB,KAAK,CAAC,EAAE,uBAAuB,GAC9B,4BAA4B,CAAC;AA6EhC;;GAEG;AACH,eAAO,MAAM,aAAa,mBAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useOnError/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,iBAAiB,EAAe,MAAM,uBAAuB,CAAC;AAM5E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAEpE,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAClD,eAAe,EACf,OAAO,EACP,OAAO,EACP,OAAO,CACR,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,UAAU,IAAI,oBAAoB,CAqCjD"}
@@ -1,24 +1,17 @@
1
1
  import { type UseQueryOptions, type UseQueryResult } from "@tanstack/react-query";
2
2
  import type { PermissionResponse } from "../../../contexts/auth/types";
3
- export type UsePermissionsLegacyProps<TData = any, TParams extends Record<string, any> = Record<string, any>> = {
4
- v3LegacyAuthProviderCompatible: true;
5
- options?: UseQueryOptions<TData>;
6
- params?: TParams;
7
- };
8
3
  export type UsePermissionsProps<TData = PermissionResponse, TParams extends Record<string, any> = Record<string, any>> = {
9
- v3LegacyAuthProviderCompatible?: false;
10
4
  options?: UseQueryOptions<TData>;
11
5
  params?: TParams;
12
6
  };
13
- export type UsePermissionsCombinedProps<TData = any, TParams extends Record<string, any> = Record<string, any>> = {
14
- v3LegacyAuthProviderCompatible: boolean;
15
- options?: UseQueryOptions<TData> | UseQueryOptions<PermissionResponse>;
16
- params?: TParams;
17
- };
18
- export type UsePermissionsLegacyReturnType<TData = any> = UseQueryResult<TData, unknown>;
19
7
  export type UsePermissionsReturnType<TData = PermissionResponse> = UseQueryResult<TData, unknown>;
20
- export type UsePermissionsCombinedReturnType<TData = any> = UseQueryResult<TData, unknown> | UseQueryResult<PermissionResponse, unknown>;
21
- export declare function usePermissions<TData = any, TParams extends Record<string, any> = Record<string, any>>(props: UsePermissionsLegacyProps<TData, TParams>): UsePermissionsLegacyReturnType<TData>;
22
- export declare function usePermissions<TData = PermissionResponse, TParams extends Record<string, any> = Record<string, any>>(props?: UsePermissionsProps<TData, TParams>): UsePermissionsReturnType<TData>;
23
- export declare function usePermissions<TData = any, TParams extends Record<string, any> = Record<string, any>>(props?: UsePermissionsCombinedProps<TData, TParams>): UsePermissionsCombinedReturnType<TData>;
8
+ /**
9
+ * `usePermissions` calls `getPermissions` method from {@link https://refine.dev/docs/api-reference/core/providers/auth-provider `authProvider`} under the hood.
10
+ *
11
+ * @see {@link https://refine.dev/docs/api-reference/core/hooks/auth/usePermissions} for more details.
12
+ *
13
+ * @typeParam TData - Result data of the query
14
+ *
15
+ */
16
+ export declare function usePermissions<TData = any, TParams extends Record<string, any> = Record<string, any>>({ options, params, }: UsePermissionsProps<TData, TParams>): UsePermissionsReturnType<TData>;
24
17
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/usePermissions/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,cAAc,EAEpB,MAAM,uBAAuB,CAAC;AAK/B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,MAAM,MAAM,yBAAyB,CACnC,KAAK,GAAG,GAAG,EACX,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IACvD;IACF,8BAA8B,EAAE,IAAI,CAAC;IACrC,OAAO,CAAC,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC;IACjC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,mBAAmB,CAC7B,KAAK,GAAG,kBAAkB,EAC1B,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,G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1,17 @@
1
1
  import { type UseQueryOptions, type UseQueryResult } from "@tanstack/react-query";
2
2
  import type { PermissionResponse } from "../../../contexts/auth/types";
3
- export type UsePermissionsLegacyProps<TData = any, TParams extends Record<string, any> = Record<string, any>> = {
4
- v3LegacyAuthProviderCompatible: true;
5
- options?: UseQueryOptions<TData>;
6
- params?: TParams;
7
- };
8
3
  export type UsePermissionsProps<TData = PermissionResponse, TParams extends Record<string, any> = Record<string, any>> = {
9
- v3LegacyAuthProviderCompatible?: false;
10
4
  options?: UseQueryOptions<TData>;
11
5
  params?: TParams;
12
6
  };
13
- export type UsePermissionsCombinedProps<TData = any, TParams extends Record<string, any> = Record<string, any>> = {
14
- v3LegacyAuthProviderCompatible: boolean;
15
- options?: UseQueryOptions<TData> | UseQueryOptions<PermissionResponse>;
16
- params?: TParams;
17
- };
18
- export type UsePermissionsLegacyReturnType<TData = any> = UseQueryResult<TData, unknown>;
19
7
  export type UsePermissionsReturnType<TData = PermissionResponse> = UseQueryResult<TData, unknown>;
20
- export type UsePermissionsCombinedReturnType<TData = any> = UseQueryResult<TData, unknown> | UseQueryResult<PermissionResponse, unknown>;
21
- export declare function usePermissions<TData = any, TParams extends Record<string, any> = Record<string, any>>(props: UsePermissionsLegacyProps<TData, TParams>): UsePermissionsLegacyReturnType<TData>;
22
- export declare function usePermissions<TData = PermissionResponse, TParams extends Record<string, any> = Record<string, any>>(props?: UsePermissionsProps<TData, TParams>): UsePermissionsReturnType<TData>;
23
- export declare function usePermissions<TData = any, TParams extends Record<string, any> = Record<string, any>>(props?: UsePermissionsCombinedProps<TData, TParams>): UsePermissionsCombinedReturnType<TData>;
8
+ /**
9
+ * `usePermissions` calls `getPermissions` method from {@link https://refine.dev/docs/api-reference/core/providers/auth-provider `authProvider`} under the hood.
10
+ *
11
+ * @see {@link https://refine.dev/docs/api-reference/core/hooks/auth/usePermissions} for more details.
12
+ *
13
+ * @typeParam TData - Result data of the query
14
+ *
15
+ */
16
+ export declare function usePermissions<TData = any, TParams extends Record<string, any> = Record<string, any>>({ options, params, }: UsePermissionsProps<TData, TParams>): UsePermissionsReturnType<TData>;
24
17
  //# sourceMappingURL=index.d.ts.map
@@ -1,24 +1,17 @@
1
1
  import { type UseQueryOptions, type UseQueryResult } from "@tanstack/react-query";
2
2
  import type { PermissionResponse } from "../../../contexts/auth/types";
3
- export type UsePermissionsLegacyProps<TData = any, TParams extends Record<string, any> = Record<string, any>> = {
4
- v3LegacyAuthProviderCompatible: true;
5
- options?: UseQueryOptions<TData>;
6
- params?: TParams;
7
- };
8
3
  export type UsePermissionsProps<TData = PermissionResponse, TParams extends Record<string, any> = Record<string, any>> = {
9
- v3LegacyAuthProviderCompatible?: false;
10
4
  options?: UseQueryOptions<TData>;
11
5
  params?: TParams;
12
6
  };
13
- export type UsePermissionsCombinedProps<TData = any, TParams extends Record<string, any> = Record<string, any>> = {
14
- v3LegacyAuthProviderCompatible: boolean;
15
- options?: UseQueryOptions<TData> | UseQueryOptions<PermissionResponse>;
16
- params?: TParams;
17
- };
18
- export type UsePermissionsLegacyReturnType<TData = any> = UseQueryResult<TData, unknown>;
19
7
  export type UsePermissionsReturnType<TData = PermissionResponse> = UseQueryResult<TData, unknown>;
20
- export type UsePermissionsCombinedReturnType<TData = any> = UseQueryResult<TData, unknown> | UseQueryResult<PermissionResponse, unknown>;
21
- export declare function usePermissions<TData = any, TParams extends Record<string, any> = Record<string, any>>(props: UsePermissionsLegacyProps<TData, TParams>): UsePermissionsLegacyReturnType<TData>;
22
- export declare function usePermissions<TData = PermissionResponse, TParams extends Record<string, any> = Record<string, any>>(props?: UsePermissionsProps<TData, TParams>): UsePermissionsReturnType<TData>;
23
- export declare function usePermissions<TData = any, TParams extends Record<string, any> = Record<string, any>>(props?: UsePermissionsCombinedProps<TData, TParams>): UsePermissionsCombinedReturnType<TData>;
8
+ /**
9
+ * `usePermissions` calls `getPermissions` method from {@link https://refine.dev/docs/api-reference/core/providers/auth-provider `authProvider`} under the hood.
10
+ *
11
+ * @see {@link https://refine.dev/docs/api-reference/core/hooks/auth/usePermissions} for more details.
12
+ *
13
+ * @typeParam TData - Result data of the query
14
+ *
15
+ */
16
+ export declare function usePermissions<TData = any, TParams extends Record<string, any> = Record<string, any>>({ options, params, }: UsePermissionsProps<TData, TParams>): UsePermissionsReturnType<TData>;
24
17
  //# sourceMappingURL=index.d.ts.map
@@ -1,24 +1,17 @@
1
1
  import { type UseQueryOptions, type UseQueryResult } from "@tanstack/react-query";
2
2
  import type { PermissionResponse } from "../../../contexts/auth/types";
3
- export type UsePermissionsLegacyProps<TData = any, TParams extends Record<string, any> = Record<string, any>> = {
4
- v3LegacyAuthProviderCompatible: true;
5
- options?: UseQueryOptions<TData>;
6
- params?: TParams;
7
- };
8
3
  export type UsePermissionsProps<TData = PermissionResponse, TParams extends Record<string, any> = Record<string, any>> = {
9
- v3LegacyAuthProviderCompatible?: false;
10
4
  options?: UseQueryOptions<TData>;
11
5
  params?: TParams;
12
6
  };
13
- export type UsePermissionsCombinedProps<TData = any, TParams extends Record<string, any> = Record<string, any>> = {
14
- v3LegacyAuthProviderCompatible: boolean;
15
- options?: UseQueryOptions<TData> | UseQueryOptions<PermissionResponse>;
16
- params?: TParams;
17
- };
18
- export type UsePermissionsLegacyReturnType<TData = any> = UseQueryResult<TData, unknown>;
19
7
  export type UsePermissionsReturnType<TData = PermissionResponse> = UseQueryResult<TData, unknown>;
20
- export type UsePermissionsCombinedReturnType<TData = any> = UseQueryResult<TData, unknown> | UseQueryResult<PermissionResponse, unknown>;
21
- export declare function usePermissions<TData = any, TParams extends Record<string, any> = Record<string, any>>(props: UsePermissionsLegacyProps<TData, TParams>): UsePermissionsLegacyReturnType<TData>;
22
- export declare function usePermissions<TData = PermissionResponse, TParams extends Record<string, any> = Record<string, any>>(props?: UsePermissionsProps<TData, TParams>): UsePermissionsReturnType<TData>;
23
- export declare function usePermissions<TData = any, TParams extends Record<string, any> = Record<string, any>>(props?: UsePermissionsCombinedProps<TData, TParams>): UsePermissionsCombinedReturnType<TData>;
8
+ /**
9
+ * `usePermissions` calls `getPermissions` method from {@link https://refine.dev/docs/api-reference/core/providers/auth-provider `authProvider`} under the hood.
10
+ *
11
+ * @see {@link https://refine.dev/docs/api-reference/core/hooks/auth/usePermissions} for more details.
12
+ *
13
+ * @typeParam TData - Result data of the query
14
+ *
15
+ */
16
+ export declare function usePermissions<TData = any, TParams extends Record<string, any> = Record<string, any>>({ options, params, }: UsePermissionsProps<TData, TParams>): UsePermissionsReturnType<TData>;
24
17
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/usePermissions/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,cAAc,EAEpB,MAAM,uBAAuB,CAAC;AAK/B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,MAAM,MAAM,yBAAyB,CACnC,KAAK,GAAG,GAAG,EACX,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IACvD;IACF,8BAA8B,EAAE,IAAI,CAAC;IACrC,OAAO,CAAC,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC;IACjC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,mBAAmB,CAC7B,KAAK,GAAG,kBAAkB,EAC1B,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IACvD;IACF,8BAA8B,CAAC,EAAE,KAAK,CAAC;IACvC,OAAO,CAAC,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC;IACjC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,2BAA2B,CACrC,KAAK,GAAG,GAAG,EACX,OAAO,SAAS,MAAM,CAAC,MA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E,2BAA2B,CAAC,KAAK,EAAE,OAAO,CAAC,GAClD,gCAAgC,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/usePermissions/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,cAAc,EAEpB,MAAM,uBAAuB,CAAC;AAI/B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,MAAM,MAAM,mBAAmB,CAC7B,KAAK,GAAG,kBAAkB,EAC1B,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IACvD;IACF,OAAO,CAAC,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC;IACjC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,wBAAwB,CAAC,KAAK,GAAG,kBAAkB,IAC7D,cAAc,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;AAEjC;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAC5B,KAAK,GAAG,GAAG,EACX,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACzD,EACA,OAAO,EACP,MAAM,GACP,EAAE,mBAAmB,CAAC,KAAK,EAAE,OAAO,CAAC,GAAG,wBAAwB,CAAC,KAAK,CAAC,CAoBvE"}
@@ -1,22 +1,17 @@
1
1
  import { type UseMutationOptions, type UseMutationResult } from "@tanstack/react-query";
2
- import type { AuthActionResponse, TLoginData, TRegisterData } from "../../../contexts/auth/types";
2
+ import type { AuthActionResponse } from "../../../contexts/auth/types";
3
3
  import type { RefineError } from "../../../contexts/data/types";
4
- export type UseRegisterLegacyProps<TVariables> = {
5
- v3LegacyAuthProviderCompatible: true;
6
- mutationOptions?: Omit<UseMutationOptions<TRegisterData, Error | RefineError, TVariables, unknown>, "mutationFn" | "onError" | "onSuccess">;
7
- };
8
4
  export type UseRegisterProps<TVariables> = {
9
- v3LegacyAuthProviderCompatible?: false;
10
5
  mutationOptions?: Omit<UseMutationOptions<AuthActionResponse, Error | RefineError, TVariables, unknown>, "mutationFn">;
11
6
  };
12
- export type UseRegisterCombinedProps<TVariables> = {
13
- v3LegacyAuthProviderCompatible: boolean;
14
- mutationOptions?: Omit<UseMutationOptions<AuthActionResponse | TRegisterData, Error | RefineError, TVariables, unknown>, "mutationFn">;
15
- };
16
- export type UseRegisterLegacyReturnType<TVariables> = UseMutationResult<TRegisterData, Error | RefineError, TVariables, unknown>;
17
7
  export type UseRegisterReturnType<TVariables> = UseMutationResult<AuthActionResponse, Error | RefineError, TVariables, unknown>;
18
- export type UseRegisterCombinedReturnType<TVariables> = UseMutationResult<AuthActionResponse | TLoginData, Error | RefineError, TVariables, unknown>;
19
- export declare function useRegister<TVariables = {}>(props: UseRegisterLegacyProps<TVariables>): UseRegisterLegacyReturnType<TVariables>;
20
- export declare function useRegister<TVariables = {}>(props?: UseRegisterProps<TVariables>): UseRegisterReturnType<TVariables>;
21
- export declare function useRegister<TVariables = {}>(props?: UseRegisterCombinedProps<TVariables>): UseRegisterCombinedReturnType<TVariables>;
8
+ /**
9
+ * `useRegister` calls `register` method from {@link https://refine.dev/docs/api-reference/core/providers/auth-provider `authProvider`} under the hood.
10
+ *
11
+ * @see {@link https://refine.dev/docs/api-reference/core/hooks/auth/useRegister} for more details.
12
+ *
13
+ * @typeParam TVariables - Values for mutation function. default `{}`
14
+ *
15
+ */
16
+ export declare function useRegister<TVariables = {}>({ mutationOptions, }?: UseRegisterProps<TVariables>): UseRegisterReturnType<TVariables>;
22
17
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useRegister/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,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W,EACnB,UAAU,EACV,OAAO,CACR,CAAC;AAEF,wBAAgB,WAAW,CAAC,UAAU,GAAG,EAAE,EACzC,KAAK,EAAE,sBAAsB,CAAC,UAAU,CAAC,GACxC,2BAA2B,CAAC,UAAU,CAAC,CAAC;AAE3C,wBAAgB,WAAW,CAAC,UAAU,GAAG,EAAE,EACzC,KAAK,CAAC,EAAE,gBAAgB,CAAC,UAAU,CAAC,GACnC,qBAAqB,CAAC,UAAU,CAAC,CAAC;AAErC,wBAAgB,WAAW,CAAC,UAAU,GAAG,EAAE,EACzC,KAAK,CAAC,EAAE,wBAAwB,CAAC,UAAU,CAAC,GAC3C,6BAA6B,CAAC,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useRegister/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EAEvB,MAAM,uBAAuB,CAAC;AAK/B,OAAO,KAAK,EACV,kBAAkB,EAEnB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAIhE,MAAM,MAAM,gBAAgB,CAAC,UAAU,IAAI;IACzC,eAAe,CAAC,EAAE,IAAI,CACpB,kBAAkB,CAChB,kBAAkB,EAClB,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACR,EACD,YAAY,CACb,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,qBAAqB,CAAC,UAAU,IAAI,iBAAiB,CAC/D,kBAAkB,EAClB,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACR,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAAC,UAAU,GAAG,EAAE,EAAE,EAC3C,eAAe,GAChB,GAAE,gBAAgB,CAAC,UAAU,CAAM,GAAG,qBAAqB,CAAC,UAAU,CAAC,CAoDvE"}
@@ -1,22 +1,17 @@
1
1
  import { type UseMutationOptions, type UseMutationResult } from "@tanstack/react-query";
2
- import type { AuthActionResponse, TLoginData, TRegisterData } from "../../../contexts/auth/types";
2
+ import type { AuthActionResponse } from "../../../contexts/auth/types";
3
3
  import type { RefineError } from "../../../contexts/data/types";
4
- export type UseRegisterLegacyProps<TVariables> = {
5
- v3LegacyAuthProviderCompatible: true;
6
- mutationOptions?: Omit<UseMutationOptions<TRegisterData, Error | RefineError, TVariables, unknown>, "mutationFn" | "onError" | "onSuccess">;
7
- };
8
4
  export type UseRegisterProps<TVariables> = {
9
- v3LegacyAuthProviderCompatible?: false;
10
5
  mutationOptions?: Omit<UseMutationOptions<AuthActionResponse, Error | RefineError, TVariables, unknown>, "mutationFn">;
11
6
  };
12
- export type UseRegisterCombinedProps<TVariables> = {
13
- v3LegacyAuthProviderCompatible: boolean;
14
- mutationOptions?: Omit<UseMutationOptions<AuthActionResponse | TRegisterData, Error | RefineError, TVariables, unknown>, "mutationFn">;
15
- };
16
- export type UseRegisterLegacyReturnType<TVariables> = UseMutationResult<TRegisterData, Error | RefineError, TVariables, unknown>;
17
7
  export type UseRegisterReturnType<TVariables> = UseMutationResult<AuthActionResponse, Error | RefineError, TVariables, unknown>;
18
- export type UseRegisterCombinedReturnType<TVariables> = UseMutationResult<AuthActionResponse | TLoginData, Error | RefineError, TVariables, unknown>;
19
- export declare function useRegister<TVariables = {}>(props: UseRegisterLegacyProps<TVariables>): UseRegisterLegacyReturnType<TVariables>;
20
- export declare function useRegister<TVariables = {}>(props?: UseRegisterProps<TVariables>): UseRegisterReturnType<TVariables>;
21
- export declare function useRegister<TVariables = {}>(props?: UseRegisterCombinedProps<TVariables>): UseRegisterCombinedReturnType<TVariables>;
8
+ /**
9
+ * `useRegister` calls `register` method from {@link https://refine.dev/docs/api-reference/core/providers/auth-provider `authProvider`} under the hood.
10
+ *
11
+ * @see {@link https://refine.dev/docs/api-reference/core/hooks/auth/useRegister} for more details.
12
+ *
13
+ * @typeParam TVariables - Values for mutation function. default `{}`
14
+ *
15
+ */
16
+ export declare function useRegister<TVariables = {}>({ mutationOptions, }?: UseRegisterProps<TVariables>): UseRegisterReturnType<TVariables>;
22
17
  //# sourceMappingURL=index.d.ts.map