@refinedev/core 4.57.9 → 4.57.10

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 (42) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +16 -2
  3. package/dist/hooks/accessControl/useCan/index.d.cts +1 -1
  4. package/dist/hooks/accessControl/useCan/index.d.mts +1 -1
  5. package/dist/hooks/accessControl/useCan/index.d.mts.map +1 -1
  6. package/dist/hooks/accessControl/useCan/index.d.ts +1 -1
  7. package/dist/hooks/button/button-can-access/index.d.cts +1 -0
  8. package/dist/hooks/button/button-can-access/index.d.cts.map +1 -1
  9. package/dist/hooks/button/button-can-access/index.d.mts +1 -0
  10. package/dist/hooks/button/button-can-access/index.d.mts.map +1 -0
  11. package/dist/hooks/button/button-can-access/index.d.ts +1 -0
  12. package/dist/hooks/button/button-can-access/index.d.ts.map +1 -1
  13. package/dist/hooks/button/navigation-button/index.d.cts.map +1 -1
  14. package/dist/hooks/button/navigation-button/index.d.ts.map +1 -1
  15. package/dist/hooks/data/useCustom.d.cts +1 -1
  16. package/dist/hooks/data/useCustom.d.mts +1 -1
  17. package/dist/hooks/data/useCustom.d.mts.map +1 -1
  18. package/dist/hooks/data/useCustom.d.ts +1 -1
  19. package/dist/hooks/data/useList.d.cts +1 -1
  20. package/dist/hooks/data/useList.d.mts +1 -1
  21. package/dist/hooks/data/useList.d.mts.map +1 -1
  22. package/dist/hooks/data/useList.d.ts +1 -1
  23. package/dist/hooks/data/useMany.d.cts +1 -1
  24. package/dist/hooks/data/useMany.d.mts +1 -1
  25. package/dist/hooks/data/useMany.d.mts.map +1 -1
  26. package/dist/hooks/data/useMany.d.ts +1 -1
  27. package/dist/hooks/data/useOne.d.cts +1 -1
  28. package/dist/hooks/data/useOne.d.mts +1 -1
  29. package/dist/hooks/data/useOne.d.mts.map +1 -1
  30. package/dist/hooks/data/useOne.d.ts +1 -1
  31. package/dist/index.cjs +16 -16
  32. package/dist/index.cjs.map +1 -1
  33. package/dist/index.mjs +17 -17
  34. package/dist/index.mjs.map +1 -1
  35. package/package.json +1 -1
  36. package/src/hooks/accessControl/useCan/index.ts +1 -1
  37. package/src/hooks/button/button-can-access/index.tsx +2 -1
  38. package/src/hooks/button/navigation-button/index.tsx +1 -0
  39. package/src/hooks/data/useCustom.ts +1 -1
  40. package/src/hooks/data/useList.ts +1 -1
  41. package/src/hooks/data/useMany.ts +1 -1
  42. package/src/hooks/data/useOne.ts +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @refinedev/core
2
2
 
3
+ ## 4.57.10
4
+
5
+ ### Patch Changes
6
+
7
+ - [#6826](https://github.com/refinedev/refine/pull/6826) [`9dca95e276fa704911c32599473a54a71a6c5246`](https://github.com/refinedev/refine/commit/9dca95e276fa704911c32599473a54a71a6c5246) Thanks [@devarsh-mavani-19](https://github.com/devarsh-mavani-19)! - fix: pass meta params to useCan hook params #6833
8
+
9
+ Now access control provider can receive additional arguments through meta params.
10
+
11
+ Resolves [#6833]
12
+
3
13
  ## 4.57.9
4
14
 
5
15
  ### Patch Changes
package/README.md CHANGED
@@ -11,15 +11,21 @@
11
11
  <a href="https://refine.dev/docs/">Documentation</a> |
12
12
  <a href="https://refine.dev/examples/">Examples</a> |
13
13
  <a href="https://discord.gg/refine">Discord</a> |
14
- <a href="https://refine.dev/blog/">Blog</a>
14
+ <a href="https://refine.dev/blog/">Blog</a> |
15
+ <a href="https://s.refine.dev/tJw4XFo">Refine AI</a>
15
16
  </div>
16
17
  </div>
17
18
 
18
19
  <br/>
19
20
  <br/>
20
21
 
21
- <div align="center"><strong>The sweet spot between the low/no code and “starting from scratch” for CRUD-heavy applications.</strong><br> Refine is as an open source, React meta-framework for enterprise. It provides a headless solution for everything from admin panels to dashboards and internal tools.
22
+ <div align="center"><strong>The sweet spot between the low/no code and “starting from scratch” for CRUD-heavy applications.</strong><br>
23
+
24
+ Refine is as an open source, React meta-framework for enterprise. It provides a headless solution for everything from admin panels to
25
+ dashboards and internal tools.
22
26
  <br />
27
+
28
+ <strong>Refine also now powers <a href="https://s.refine.dev/tJw4XFo">Refine AI</a>, our purpose built AI Agent.</strong>
23
29
  <br />
24
30
 
25
31
  </div>
@@ -66,6 +72,14 @@ Or you can create a new project on your browser:
66
72
  <img height="48" width="245" src="https://refine.ams3.cdn.digitaloceanspaces.com/assets/try-it-in-your-browser.png" />
67
73
  </a>
68
74
 
75
+ <br>
76
+
77
+ You can also try Refine AI for free to create projects:
78
+
79
+ <a href="https://s.refine.dev/tJw4XFo" target="_blank">
80
+ <img height="48" width="245" src="https://refine.ams3.cdn.digitaloceanspaces.com/assets/try-out-refine-ai-2.png" />
81
+ </a>
82
+
69
83
  ## Quick Start
70
84
 
71
85
  Here's Refine in action, the below code is an example of a simple CRUD application using Refine + React Router + Material UI:
@@ -7,7 +7,7 @@ export type UseCanProps = CanParams & {
7
7
  queryOptions?: UseQueryOptions<CanReturnType>;
8
8
  };
9
9
  /**
10
- * `useCan` uses the `can` as the query function for `react-query`'s {@link https://react-query.tanstack.com/guides/queries `useQuery`}. It takes the parameters that `can` takes. It can also be configured with `queryOptions` for `useQuery`. Returns the result of `useQuery`.
10
+ * `useCan` uses the `can` as the query function for `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/guides/queries `useQuery`}. It takes the parameters that `can` takes. It can also be configured with `queryOptions` for `useQuery`. Returns the result of `useQuery`.
11
11
  * @see {@link https://refine.dev/docs/api-reference/core/hooks/accessControl/useCan} for more details.
12
12
  *
13
13
  * @typeParam CanParams {@link https://refine.dev/docs/core/interfaceReferences#canparams}
@@ -7,7 +7,7 @@ export type UseCanProps = CanParams & {
7
7
  queryOptions?: UseQueryOptions<CanReturnType>;
8
8
  };
9
9
  /**
10
- * `useCan` uses the `can` as the query function for `react-query`'s {@link https://react-query.tanstack.com/guides/queries `useQuery`}. It takes the parameters that `can` takes. It can also be configured with `queryOptions` for `useQuery`. Returns the result of `useQuery`.
10
+ * `useCan` uses the `can` as the query function for `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/guides/queries `useQuery`}. It takes the parameters that `can` takes. It can also be configured with `queryOptions` for `useQuery`. Returns the result of `useQuery`.
11
11
  * @see {@link https://refine.dev/docs/api-reference/core/hooks/accessControl/useCan} for more details.
12
12
  *
13
13
  * @typeParam CanParams {@link https://refine.dev/docs/core/interfaceReferences#canparams}
@@ -7,7 +7,7 @@ export type UseCanProps = CanParams & {
7
7
  queryOptions?: UseQueryOptions<CanReturnType>;
8
8
  };
9
9
  /**
10
- * `useCan` uses the `can` as the query function for `react-query`'s {@link https://react-query.tanstack.com/guides/queries `useQuery`}. It takes the parameters that `can` takes. It can also be configured with `queryOptions` for `useQuery`. Returns the result of `useQuery`.
10
+ * `useCan` uses the `can` as the query function for `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/guides/queries `useQuery`}. It takes the parameters that `can` takes. It can also be configured with `queryOptions` for `useQuery`. Returns the result of `useQuery`.
11
11
  * @see {@link https://refine.dev/docs/api-reference/core/hooks/accessControl/useCan} for more details.
12
12
  *
13
13
  * @typeParam CanParams {@link https://refine.dev/docs/core/interfaceReferences#canparams}
@@ -7,7 +7,7 @@ export type UseCanProps = CanParams & {
7
7
  queryOptions?: UseQueryOptions<CanReturnType>;
8
8
  };
9
9
  /**
10
- * `useCan` uses the `can` as the query function for `react-query`'s {@link https://react-query.tanstack.com/guides/queries `useQuery`}. It takes the parameters that `can` takes. It can also be configured with `queryOptions` for `useQuery`. Returns the result of `useQuery`.
10
+ * `useCan` uses the `can` as the query function for `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/guides/queries `useQuery`}. It takes the parameters that `can` takes. It can also be configured with `queryOptions` for `useQuery`. Returns the result of `useQuery`.
11
11
  * @see {@link https://refine.dev/docs/api-reference/core/hooks/accessControl/useCan} for more details.
12
12
  *
13
13
  * @typeParam CanParams {@link https://refine.dev/docs/core/interfaceReferences#canparams}
@@ -10,6 +10,7 @@ type ButtonCanAccessProps = {
10
10
  enabled?: boolean;
11
11
  hideIfUnauthorized?: boolean;
12
12
  };
13
+ meta?: Record<string, unknown>;
13
14
  };
14
15
  type ButtonCanAccessValues = {
15
16
  title: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/button/button-can-access/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAE5D,KAAK,oBAAoB,GAAG;IAC1B,MAAM,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC1B,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,aAAa,CAAC,EAAE;QACd,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,kBAAkB,CAAC,EAAE,OAAO,CAAC;KAC9B,CAAC;CACH,CAAC;AAEF,KAAK,qBAAqB,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,aAAa,GAAG,SAAS,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,kBAAkB,UACtB,oBAAoB,KAC1B,qBAyCF,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/button/button-can-access/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAE5D,KAAK,oBAAoB,GAAG;IAC1B,MAAM,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC1B,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,aAAa,CAAC,EAAE;QACd,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,kBAAkB,CAAC,EAAE,OAAO,CAAC;KAC9B,CAAC;IACF,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChC,CAAC;AAEF,KAAK,qBAAqB,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,aAAa,GAAG,SAAS,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,kBAAkB,UACtB,oBAAoB,KAC1B,qBAyCF,CAAC"}
@@ -10,6 +10,7 @@ type ButtonCanAccessProps = {
10
10
  enabled?: boolean;
11
11
  hideIfUnauthorized?: boolean;
12
12
  };
13
+ meta?: Record<string, unknown>;
13
14
  };
14
15
  type ButtonCanAccessValues = {
15
16
  title: string;
@@ -10,6 +10,7 @@ type ButtonCanAccessProps = {
10
10
  enabled?: boolean;
11
11
  hideIfUnauthorized?: boolean;
12
12
  };
13
+ meta?: Record<string, unknown>;
13
14
  };
14
15
  type ButtonCanAccessValues = {
15
16
  title: string;
@@ -10,6 +10,7 @@ type ButtonCanAccessProps = {
10
10
  enabled?: boolean;
11
11
  hideIfUnauthorized?: boolean;
12
12
  };
13
+ meta?: Record<string, unknown>;
13
14
  };
14
15
  type ButtonCanAccessValues = {
15
16
  title: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/button/button-can-access/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;A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AAgB,mBAAmB,CACjC,KAAK,EAAE,qBAAqB,GAC3B,sBAAsB,CA6DxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/button/navigation-button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAE3E,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,aAAa,CAAC,EAAE;QACd,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,kBAAkB,CAAC,EAAE,OAAO,CAAC;KAC9B,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,aAAa,GAAG,SAAS,CAAC;IACrC,aAAa,EAAE,KAAK,CAAC,aAAa,CAChC,KAAK,CAAC,iBAAiB,CAAC;QACtB,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAC;QACpB,EAAE,EAAE,MAAM,CAAC;KACZ,CAAC,CACH,CAAC;CACH,CAAC;AAEF,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,qBAAqB,GAC3B,sBAAsB,CA4DxB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/button/navigation-button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAE3E,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,aAAa,CAAC,EAAE;QACd,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,kBAAkB,CAAC,EAAE,OAAO,CAAC;KAC9B,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,aAAa,GAAG,SAAS,CAAC;IACrC,aAAa,EAAE,KAAK,CAAC,aAAa,CAChC,KAAK,CAAC,iBAAiB,CAAC;QACtB,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAC;QACpB,EAAE,EAAE,MAAM,CAAC;KACZ,CAAC,CACH,CAAC;CACH,CAAC;AAEF,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,qBAAqB,GAC3B,sBAAsB,CA6DxB"}
@@ -45,7 +45,7 @@ export type UseCustomProps<TQueryFnData, TError, TQuery, TPayload, TData> = {
45
45
  dataProviderName?: string;
46
46
  } & SuccessErrorNotification<CustomResponse<TData>, TError, Prettify<UseCustomConfig<TQuery, TPayload> & MetaQuery>> & UseLoadingOvertimeOptionsProps;
47
47
  /**
48
- * `useCustom` is a modified version of `react-query`'s {@link https://react-query.tanstack.com/guides/queries `useQuery`} used for custom requests.
48
+ * `useCustom` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/guides/queries `useQuery`} used for custom requests.
49
49
  *
50
50
  * It uses the `custom` method from the `dataProvider` which is passed to `<Refine>`.
51
51
  *
@@ -45,7 +45,7 @@ export type UseCustomProps<TQueryFnData, TError, TQuery, TPayload, TData> = {
45
45
  dataProviderName?: string;
46
46
  } & SuccessErrorNotification<CustomResponse<TData>, TError, Prettify<UseCustomConfig<TQuery, TPayload> & MetaQuery>> & UseLoadingOvertimeOptionsProps;
47
47
  /**
48
- * `useCustom` is a modified version of `react-query`'s {@link https://react-query.tanstack.com/guides/queries `useQuery`} used for custom requests.
48
+ * `useCustom` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/guides/queries `useQuery`} used for custom requests.
49
49
  *
50
50
  * It uses the `custom` method from the `dataProvider` which is passed to `<Refine>`.
51
51
  *
@@ -45,7 +45,7 @@ export type UseCustomProps<TQueryFnData, TError, TQuery, TPayload, TData> = {
45
45
  dataProviderName?: string;
46
46
  } & SuccessErrorNotification<CustomResponse<TData>, TError, Prettify<UseCustomConfig<TQuery, TPayload> & MetaQuery>> & UseLoadingOvertimeOptionsProps;
47
47
  /**
48
- * `useCustom` is a modified version of `react-query`'s {@link https://react-query.tanstack.com/guides/queries `useQuery`} used for custom requests.
48
+ * `useCustom` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/guides/queries `useQuery`} used for custom requests.
49
49
  *
50
50
  * It uses the `custom` method from the `dataProvider` which is passed to `<Refine>`.
51
51
  *
@@ -45,7 +45,7 @@ export type UseCustomProps<TQueryFnData, TError, TQuery, TPayload, TData> = {
45
45
  dataProviderName?: string;
46
46
  } & SuccessErrorNotification<CustomResponse<TData>, TError, Prettify<UseCustomConfig<TQuery, TPayload> & MetaQuery>> & UseLoadingOvertimeOptionsProps;
47
47
  /**
48
- * `useCustom` is a modified version of `react-query`'s {@link https://react-query.tanstack.com/guides/queries `useQuery`} used for custom requests.
48
+ * `useCustom` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/guides/queries `useQuery`} used for custom requests.
49
49
  *
50
50
  * It uses the `custom` method from the `dataProvider` which is passed to `<Refine>`.
51
51
  *
@@ -58,7 +58,7 @@ export type UseListProps<TQueryFnData, TError, TData> = {
58
58
  queryOptions?: UseQueryOptions<GetListResponse<TQueryFnData>, TError, GetListResponse<TData>>;
59
59
  } & BaseListProps & SuccessErrorNotification<GetListResponse<TData>, TError, Prettify<BaseListProps>> & LiveModeProps & UseLoadingOvertimeOptionsProps;
60
60
  /**
61
- * `useList` is a modified version of `react-query`'s {@link https://react-query.tanstack.com/guides/queries `useQuery`} used for retrieving items from a `resource` with pagination, sort, and filter configurations.
61
+ * `useList` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/guides/queries `useQuery`} used for retrieving items from a `resource` with pagination, sort, and filter configurations.
62
62
  *
63
63
  * It uses the `getList` method as the query function from the `dataProvider` which is passed to `<Refine>`.
64
64
  *
@@ -58,7 +58,7 @@ export type UseListProps<TQueryFnData, TError, TData> = {
58
58
  queryOptions?: UseQueryOptions<GetListResponse<TQueryFnData>, TError, GetListResponse<TData>>;
59
59
  } & BaseListProps & SuccessErrorNotification<GetListResponse<TData>, TError, Prettify<BaseListProps>> & LiveModeProps & UseLoadingOvertimeOptionsProps;
60
60
  /**
61
- * `useList` is a modified version of `react-query`'s {@link https://react-query.tanstack.com/guides/queries `useQuery`} used for retrieving items from a `resource` with pagination, sort, and filter configurations.
61
+ * `useList` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/guides/queries `useQuery`} used for retrieving items from a `resource` with pagination, sort, and filter configurations.
62
62
  *
63
63
  * It uses the `getList` method as the query function from the `dataProvider` which is passed to `<Refine>`.
64
64
  *
@@ -58,7 +58,7 @@ export type UseListProps<TQueryFnData, TError, TData> = {
58
58
  queryOptions?: UseQueryOptions<GetListResponse<TQueryFnData>, TError, GetListResponse<TData>>;
59
59
  } & BaseListProps & SuccessErrorNotification<GetListResponse<TData>, TError, Prettify<BaseListProps>> & LiveModeProps & UseLoadingOvertimeOptionsProps;
60
60
  /**
61
- * `useList` is a modified version of `react-query`'s {@link https://react-query.tanstack.com/guides/queries `useQuery`} used for retrieving items from a `resource` with pagination, sort, and filter configurations.
61
+ * `useList` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/guides/queries `useQuery`} used for retrieving items from a `resource` with pagination, sort, and filter configurations.
62
62
  *
63
63
  * It uses the `getList` method as the query function from the `dataProvider` which is passed to `<Refine>`.
64
64
  *
@@ -58,7 +58,7 @@ export type UseListProps<TQueryFnData, TError, TData> = {
58
58
  queryOptions?: UseQueryOptions<GetListResponse<TQueryFnData>, TError, GetListResponse<TData>>;
59
59
  } & BaseListProps & SuccessErrorNotification<GetListResponse<TData>, TError, Prettify<BaseListProps>> & LiveModeProps & UseLoadingOvertimeOptionsProps;
60
60
  /**
61
- * `useList` is a modified version of `react-query`'s {@link https://react-query.tanstack.com/guides/queries `useQuery`} used for retrieving items from a `resource` with pagination, sort, and filter configurations.
61
+ * `useList` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/guides/queries `useQuery`} used for retrieving items from a `resource` with pagination, sort, and filter configurations.
62
62
  *
63
63
  * It uses the `getList` method as the query function from the `dataProvider` which is passed to `<Refine>`.
64
64
  *
@@ -33,7 +33,7 @@ export type UseManyProps<TQueryFnData, TError, TData> = {
33
33
  dataProviderName?: string;
34
34
  } & SuccessErrorNotification<GetManyResponse<TData>, TError, BaseKey[]> & LiveModeProps & UseLoadingOvertimeOptionsProps;
35
35
  /**
36
- * `useMany` is a modified version of `react-query`'s {@link https://react-query.tanstack.com/guides/queries `useQuery`} used for retrieving multiple items from a `resource`.
36
+ * `useMany` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/guides/queries `useQuery`} used for retrieving multiple items from a `resource`.
37
37
  *
38
38
  * It uses `getMany` method as query function from the `dataProvider` which is passed to `<Refine>`.
39
39
  *
@@ -33,7 +33,7 @@ export type UseManyProps<TQueryFnData, TError, TData> = {
33
33
  dataProviderName?: string;
34
34
  } & SuccessErrorNotification<GetManyResponse<TData>, TError, BaseKey[]> & LiveModeProps & UseLoadingOvertimeOptionsProps;
35
35
  /**
36
- * `useMany` is a modified version of `react-query`'s {@link https://react-query.tanstack.com/guides/queries `useQuery`} used for retrieving multiple items from a `resource`.
36
+ * `useMany` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/guides/queries `useQuery`} used for retrieving multiple items from a `resource`.
37
37
  *
38
38
  * It uses `getMany` method as query function from the `dataProvider` which is passed to `<Refine>`.
39
39
  *
@@ -33,7 +33,7 @@ export type UseManyProps<TQueryFnData, TError, TData> = {
33
33
  dataProviderName?: string;
34
34
  } & SuccessErrorNotification<GetManyResponse<TData>, TError, BaseKey[]> & LiveModeProps & UseLoadingOvertimeOptionsProps;
35
35
  /**
36
- * `useMany` is a modified version of `react-query`'s {@link https://react-query.tanstack.com/guides/queries `useQuery`} used for retrieving multiple items from a `resource`.
36
+ * `useMany` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/guides/queries `useQuery`} used for retrieving multiple items from a `resource`.
37
37
  *
38
38
  * It uses `getMany` method as query function from the `dataProvider` which is passed to `<Refine>`.
39
39
  *
@@ -33,7 +33,7 @@ export type UseManyProps<TQueryFnData, TError, TData> = {
33
33
  dataProviderName?: string;
34
34
  } & SuccessErrorNotification<GetManyResponse<TData>, TError, BaseKey[]> & LiveModeProps & UseLoadingOvertimeOptionsProps;
35
35
  /**
36
- * `useMany` is a modified version of `react-query`'s {@link https://react-query.tanstack.com/guides/queries `useQuery`} used for retrieving multiple items from a `resource`.
36
+ * `useMany` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/guides/queries `useQuery`} used for retrieving multiple items from a `resource`.
37
37
  *
38
38
  * It uses `getMany` method as query function from the `dataProvider` which is passed to `<Refine>`.
39
39
  *
@@ -35,7 +35,7 @@ export type UseOneProps<TQueryFnData, TError, TData> = {
35
35
  id?: BaseKey;
36
36
  } & MetaQuery>> & LiveModeProps & UseLoadingOvertimeOptionsProps;
37
37
  /**
38
- * `useOne` is a modified version of `react-query`'s {@link https://react-query.tanstack.com/guides/queries `useQuery`} used for retrieving single items from a `resource`.
38
+ * `useOne` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/guides/queries `useQuery`} used for retrieving single items from a `resource`.
39
39
  *
40
40
  * It uses `getOne` method as query function from the `dataProvider` which is passed to `<Refine>`.
41
41
  *
@@ -35,7 +35,7 @@ export type UseOneProps<TQueryFnData, TError, TData> = {
35
35
  id?: BaseKey;
36
36
  } & MetaQuery>> & LiveModeProps & UseLoadingOvertimeOptionsProps;
37
37
  /**
38
- * `useOne` is a modified version of `react-query`'s {@link https://react-query.tanstack.com/guides/queries `useQuery`} used for retrieving single items from a `resource`.
38
+ * `useOne` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/guides/queries `useQuery`} used for retrieving single items from a `resource`.
39
39
  *
40
40
  * It uses `getOne` method as query function from the `dataProvider` which is passed to `<Refine>`.
41
41
  *
@@ -35,7 +35,7 @@ export type UseOneProps<TQueryFnData, TError, TData> = {
35
35
  id?: BaseKey;
36
36
  } & MetaQuery>> & LiveModeProps & UseLoadingOvertimeOptionsProps;
37
37
  /**
38
- * `useOne` is a modified version of `react-query`'s {@link https://react-query.tanstack.com/guides/queries `useQuery`} used for retrieving single items from a `resource`.
38
+ * `useOne` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/guides/queries `useQuery`} used for retrieving single items from a `resource`.
39
39
  *
40
40
  * It uses `getOne` method as query function from the `dataProvider` which is passed to `<Refine>`.
41
41
  *
@@ -35,7 +35,7 @@ export type UseOneProps<TQueryFnData, TError, TData> = {
35
35
  id?: BaseKey;
36
36
  } & MetaQuery>> & LiveModeProps & UseLoadingOvertimeOptionsProps;
37
37
  /**
38
- * `useOne` is a modified version of `react-query`'s {@link https://react-query.tanstack.com/guides/queries `useQuery`} used for retrieving single items from a `resource`.
38
+ * `useOne` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/guides/queries `useQuery`} used for retrieving single items from a `resource`.
39
39
  *
40
40
  * It uses `getOne` method as query function from the `dataProvider` which is passed to `<Refine>`.
41
41
  *