mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
fork refine
This commit is contained in:
26
documentation/src/partials/data-provider/data-hooks.md
Normal file
26
documentation/src/partials/data-provider/data-hooks.md
Normal file
@@ -0,0 +1,26 @@
|
||||
| Hook | Method | Description |
|
||||
| ----------------------------------------------------------- | ------------------------- | --------------------------- |
|
||||
| [useOne][use-one] | [getOne](#getone-) | get a single record. |
|
||||
| [useUpdate][use-update] | [update](#update-) | update an existing record. |
|
||||
| [useCreate][use-create] | [create](#create-) | create a new record. |
|
||||
| [useDelete][use-delete] | [deleteOne](#deleteone-) | delete a single record. |
|
||||
| [useList][use-list] or [useInfiniteList][use-infinite-list] | [getList](#getlist-) | get a list of records. |
|
||||
| [useApiUrl][use-api-url] | [getApiUrl](#getapiurl-) | get the API URL. |
|
||||
| [useCustom][use-custom] | [custom](#custom) | making custom API requests. |
|
||||
| [useMany][use-many] | [getMany](#getmany) | get multiple records. |
|
||||
| [useCreateMany][use-create-many] | [createMany](#createmany) | create multiple records. |
|
||||
| [useDeleteMany][use-delete-many] | [deleteMany](#deletemany) | delete multiple records. |
|
||||
| [useUpdateMany][use-update-many] | [updateMany](#updatemany) | update multiple records. |
|
||||
|
||||
[use-api-url]: /docs/data/hooks/use-api-url/
|
||||
[use-create]: /docs/data/hooks/use-create/
|
||||
[use-create-many]: /docs/data/hooks/use-create-many/
|
||||
[use-custom]: /docs/data/hooks/use-custom/
|
||||
[use-delete]: /docs/data/hooks/use-delete/
|
||||
[use-delete-many]: /docs/data/hooks/use-delete-many/
|
||||
[use-list]: /docs/data/hooks/use-list/
|
||||
[use-infinite-list]: /docs/data/hooks/use-infinite-list/
|
||||
[use-many]: /docs/data/hooks/use-many/
|
||||
[use-one]: /docs/data/hooks/use-one/
|
||||
[use-update]: /docs/data/hooks/use-update/
|
||||
[use-update-many]: /docs/data/hooks/use-update-many/
|
||||
@@ -0,0 +1,26 @@
|
||||
**refine** supports many data providers. To include them in your project, you can use `npm install [packageName]` or you can select the preferred data provider with the `npm create refine-app@latest projectName` during the project creation phase with CLI. This will allow you to easily use these data providers in your project.
|
||||
|
||||
- [Simple REST API](/docs/data/packages/simple-rest)
|
||||
- [GraphQL](/docs/data/packages/graphql)
|
||||
- [NestJS CRUD](/docs/data/packages/nestjsx-crud)
|
||||
- [Nestjs-Query](/docs/data/packages/nestjs-query)
|
||||
- [Airtable](/docs/data/packages/airtable)
|
||||
- [Strapi](https://github.com/refinedev/refine/tree/master/packages/strapi) - [Strapi v4](/docs/data/packages/strapi-v4)
|
||||
- [Supabase](/docs/data/packages/supabase)
|
||||
- [Hasura](/docs/data/packages/hasura)
|
||||
- [Appwrite](/docs/data/packages/appwrite)
|
||||
- [Medusa](https://github.com/refinedev/refine/tree/master/packages/medusa)
|
||||
|
||||
**Community ❤️**
|
||||
|
||||
- [Firebase](https://github.com/resulturan/refine-firebase) by [rturan29](https://github.com/resulturan)
|
||||
- [Directus](https://github.com/tspvivek/refine-directus) by [tspvivek](https://github.com/tspvivek)
|
||||
- [Elide](https://github.com/chirdeeptomar/refine-elide-rest) by [chirdeeptomar](https://github.com/chirdeeptomar)
|
||||
- [Elide GraphQL](https://github.com/chirdeeptomar/refine-elide-graphql) by [chirdeeptomar](https://github.com/chirdeeptomar)
|
||||
- [useGenerated](https://github.com/usegen/refine-use-generated) by [usegen](https://github.com/usegen)
|
||||
- [Hygraph](https://hygraph.com/) by [acomagu](https://github.com/acomagu/refine-hygraph)
|
||||
- [Sanity](https://www.sanity.io) by [hirenf14](https://github.com/hirenf14/refine-sanity)
|
||||
- [SQLite](https://www.sqlite.org/index.html) by [mateusabelli](https://github.com/mateusabelli/refine-sqlite)
|
||||
- [JSON:API](https://jsonapi.org/) by [mahirmahdi](https://github.com/MahirMahdi/refine-jsonapi)
|
||||
|
||||
_If you have created a custom data provider and would like to share it with the community, please don't hesitate to get in touch with us. We would be happy to include it on this page for others to use._
|
||||
Reference in New Issue
Block a user