@tspvivek/refine-directus
TypeScript icon, indicating that this package has built-in type declarations

1.0.34 • Public • Published

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: demo@demo.com
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

Readme

Keywords

none

Package Sidebar

Install

npm i @tspvivek/refine-directus

Weekly Downloads

53

Version

1.0.34

License

MIT

Unpacked Size

321 kB

Total Files

22

Last publish

Collaborators

  • tspvivek