@tspvivek/refine-directus
v1.0.38
Published
Refine Directus REST data provider. This is a wrapper around the Directus SDK to use in refine.
Downloads
215
Readme
refine-directus
Directus dataprovider package for refine.
About
refine offers lots of out-of-the box functionality for rapid development, without compromising extreme customizability. Use-cases include, but are not limited to admin panels, B2B applications and dashboards.
Documentation
For more detailed information and usage, refer to the refine data provider documentation.
Install
npm install @tspvivek/refine-directus
Example
Use below login details in example username: [email protected] password: 123456 url: https://refine.dev/docs/examples/data-provider/directus/
Notes
To enable perform archive instead of delete with DeleteButton pass metaData={deleteType:'archive'} in DeleteButton
To get list of rows from collection without status field pass params noStatus=true in meta.
To upload file to a specific folder add folder="folder_id" in MediaConfigList
Change Log
1.0.29
- Updated library version to directus sdk v12.
- Added support for folders and title in file upload.
- Added support for collections without status field.
1.0.23
- Fixed missing total count in list.
1.0.22
- update library version to directus sdk v11
- update refine version to v4
- added support for liveprovider using directus realtime api