Directus dataprovider package for refine.

Overview

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

You might also like...

Zero dependencies, lightweight, and asynchronous https requests package.

Zero dependencies, lightweight, and asynchronous https requests package.

This project is a Work in Progress and currently in development. The API is subject to change without warning. A small fetching package for super simp

Dec 8, 2022

NPM Package that simplifies Auth with Google OAuth2 🔐

NPM Package that simplifies Auth with Google OAuth2 🔐

Node Google OAuth2 🔐 A simple authentication flow for Google OAuth2 Explore the docs » Report Bug Table of Contents About The Project Getting Started

Jun 17, 2022

portfolio-project is a npm package to automatically update your projects section in your portfolio website. It will fetch the selected repositories directly from your GitHub account.

portfolio-project is a npm package to automatically update your projects section in your portfolio website. It will fetch the selected repositories directly from your GitHub account.

portfolio-project Those days of manually updating portfolio website after every new project made are gone ⚡ Yesss . . . you read that right. 😉 portfo

Aug 3, 2021

A package to toggle properties of your HTML tags.

A package to toggle properties of your HTML tags.

Toggler A package(atleast the code) to toggle properties of tags. I mostly use toggle classes while making a switch theme method, button interaction e

Jan 9, 2022

JavaScript package for predictive data analysis and machine learning

scikit.js JavaScript package for predictive data analysis and machine learning. Generic math operations are powered by Tensorflowjs core layer. We are

Jan 6, 2023

Make sure a specific version and package-manger to be used in project.

pm-keeper A simple way to force package-manager in your project. usage Add a preinstall script in your project's package.json, link this: { "scripts

Sep 25, 2022

Bitburner-bbpm - An experimental package manager for the game Bitburner.

BPPM - BitBurner Package Manager An experimental package manager for the game Bitburner. Install Instructions Download the latest release of bbpm.js.

Mar 24, 2022

This package includes some opinionated configuration for ESLint.

eslint-config-float This package includes some opinionated configuration for ESLint, used at Float and friends. Installation You can install and use t

Jan 7, 2022

A NPM package powered by Yeoman that generates a scaffolding boilerplate for back-end workflow with Node.js.

generator-noderplate Generate Node.js starter files with just one command! We have deployed a npm package that will generate a boilerplate for nodejs

Jan 24, 2022
Comments
  • Update index.tsx

    Update index.tsx

    fix not export this class following this error

    Module '"../src/authProvider"' has no exported member 'authProvider'. Did you mean to use 'import authProvider from "../src/authProvider"' instead?

    opened by prawee 1
  • Add

    Add "or" operator handler for refine filters

    Hey @tspvivek,

    refine will soon release a version that will add support for the or operator for filtering. With the new version, CrudFilters will consist of two separate union types, so the generateFilter function will need to handle these two types.

    The user will can create a filter as follows:

    filter = [
        {
          operator: "eq",
          field: "age",
          value: 20
        },
        {
          operator: "or",
          value: [
            {
              field: "title",
              operator: "eq",
              value: "Test",
            },
            {
              field: "description",
              operator: "eq",
              value: "Test"
            }
          ]
       }
    ]
    

    Here the query would look like "age" == 20 AND ("title" == "Test" OR "description" == "Test")

    The field property will can be undefined so I made a small change to the your genereteFilter function. When refine releases the new version, you can make some changes on this PR to add "or" operator support.

    You can check out the PR for more information about the new release.

    Happy coding!

    opened by salihozdemir 1
  • The demo is not working

    The demo is not working

    Hi. The demo at https://stackblitz.com/edit/tspvivek-refine-directus-ecshj4 is not working. The error message "TransportError : socket hang up" is displayed : image

    opened by Kamalito75 3
Owner
Vivek Palanisamy
Vivek Palanisamy - NodeJS, React, React Native, JAVA (Android), HTML & PHP Developer
Vivek Palanisamy
Hemsida för personer i Sverige som kan och vill erbjuda boende till mÀnniskor pÄ flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
Directus Hook Extension: Version Control Changelog

A Directus hook extension to push user written change summaries (from a singleton collection text field) to a changelog in a VCS server

BIX Digital Lab 11 Nov 27, 2022
The official Directus SDK for use in JavaScript!

Directus JS SDK Installation npm install @directus/sdk Basic Usage import { Directus } from '@directus/sdk'; const directus = new Directus('http://d

Directus 36 Dec 29, 2022
An extension to get randomized results from directus.

Directus Extension Randomized Results As the name suggests this extension will enable Randomized results mirroring the Directus /items/:collection end

Brainslug 4 Oct 19, 2022
Custom endpoint to backup the PG database and upload the `.dump` to Directus.

Directus Backup Endpoint Custom Directus endpoint to backup Postgres database using pg_dump and upload the .dump file into Directus files. Usage Clone

Guilherme Oliveira 7 Dec 21, 2022
Custom operation to backup the PG database and upload the .dump to Directus.

Directus Backup Operation Custom Directus operation to backup Postgres database using pg_dump and upload the .dump file into Directus storage. Prerequ

Guilherme Oliveira 7 Dec 21, 2022
Package fetcher is a bot messenger which gather npm packages by uploading either a json file (package.json) or a picture representing package.json. To continue...

package-fetcher Ce projet contient un boilerplate pour un bot messenger et l'executable Windows ngrok qui va permettre de créer un tunnel https pour c

AILI Fida Aliotti Christino 2 Mar 29, 2022
This package is for developers to be able to easily integrate bad word checking into their projects.\r This package can return bad words in array or regular expression (regex) form.

Vietnamese Bad Words This package is for developers to be able to easily integrate bad word checking into their projects. This package can return bad

Nguyễn Quang SĂĄng 8 Nov 3, 2022
Multi-platform node package bundle to a package.json.

dmpc Multi-platform node package bundle to a package.json. install ### npm mode npm i -g @kingsword/dmpc ### yarn mode yarn global add @kingsword/dmp

Kingsword 2 Oct 16, 2022