Skip to content

1.0.72

Choose a tag to compare

@omeraplak omeraplak released this 20 Sep 10:31
ab29a28
Graphql dataProvider (#1079)

* initial commit

* initial commit of example

* add apiUrl params to dataProvider

* add gql-query-builder

* add metaData interfaces and types

* add graphql to example

* add graphql packages

* wip getList function

* add sorting

* add getList function

* create metadata type

* update useTable usage

* add getMany

* update useOne implementation

* add params to dataProvider functions

* add metaData property to data hooks

* update MetaDataQuery for send any params to dataProvider hooks

* make operation name optional

* add metaData props for useMany, useList and useOne hook references

* implementation useMany and useOne functions

* update airtable data provider functions params

* update altogic data provider functions params

* update nestjsx-crud data provider functions params

* update simple-rest data provider functions params

* update strapi data provider functions params

* update supabase data provider functions params

* add pluralize and camelCase packages

* fix useImport dataProvider hook's params

* fix metaData props to forms

* add create to dataProvider

* fix missing import

* add update to dataProvider

* add default return field to create

* add missing field

* fix resource types

* fix typo

* add delete integration

* add createMany integration

* fix return values of data provider mutation hooks

* add updateMany integration

* add deleteMany integration

* fix minor bugs

* all dataProvider function params convert to properties

* useCustom integration and authentication with dataProvider custom function

* fix refresh button

* create test environment

* add create tests

* add createMany tests

* add getMany test

* add useOne test

* add getList tests

* add update tests

* add updateMany tests

* add delete tests

* add deleteMany tests

* rename useOne convert to getOne

* add custom tests

* add metaData prop to useExport

* add import and export buttons

* fix total count

* create strapi-graphql data provider

* add metaData property for data hooks, forms, fields, import&export and buttons

* rename project graphql convert to strapi-graphql

* add nested field interface doc

* add total count test

* add nock restore for graphql and strapi-graphql packages

* update strapi-graphql jest setup

* add metaData property for useShow, useSimpleList, and tables

* rename metadataoptions convert to metadataquery

* data provider doc params convert to properties

* delete npm cache for PR

* lock react-router-dom and sunflower-antd

* update test:coverage script

* version bumps for data providers

* version bump 1.0.72

* update backend support list

* extend backend logos, add graphql and altogic logo to landing page

* Optimised images with calibre/image-actions

Co-authored-by: Ömer Faruk APLAK <omer@pankod.com>
Co-authored-by: Pankod Community Bot <53254888+pankod-bot@users.noreply.github.com>