refine

A React Framework for building internal tools, admin panels, dashboards & B2B apps with unmatched flexibility.

MIT License

Downloads
1.1M
Stars
25.3K
Committers
269

Bot releases are visible (Hide)

refine - @refinedev/[email protected]

Published by refine-bot 10 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 10 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 10 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 10 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 10 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 10 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 10 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 10 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 10 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 10 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 10 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 10 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 10 months ago

Patch Changes

  • #5409 0026fe34d0 Thanks @BatuhanW! - fix: exclude gqlMutation and gqlQuery from building query keys for useUpdate, useUpdateMany, useDelete, and useDeleteMany hooks.

  • #5409 0026fe34d0 Thanks @BatuhanW! - feat: add optional gqlQuery and gqlMutation fields to MetaQuery type to be used in data hooks.

    We plan to utilize these fields on our GraphQL data providers in the future.

    You can build your queries/mutations with graphql-tag package and pass it to the gqlQuery/gqlMutation fields.

    For now, only @refinedev/nestjs-query package supports it.

    import { useList } from "@refinedev/core";
    import gql from "graphql-tag";
    
    const PRODUCTS_QUERY = gql`
        query ProductsList(
            $paging: OffsetPaging!
            $filter: BlogPostFilter
            $sorting: [BlogPostSort!]!
        ) {
            products(paging: $paging, filter: $filter, sorting: $sorting) {
                nodes {
                    id
                    name
                }
                totalCount
            }
        }
    `;
    
    const { data } = useList({
        resource: "products",
        meta: { gqlQuery: PRODUCTS_QUERY },
    });
    
refine - @refinedev/[email protected]

Published by refine-bot 10 months ago

Minor Changes

  • #5409 0026fe34d0 Thanks @BatuhanW! - feat: add gqlQuery and gqlMutation support.

    Previously, @refinedev/nestjs-query package only supported GraphQL operations through meta.fields.

    Now we've added gqlQuery and gqlMutation fields in meta object.

    You can utilize these fields along with graphql-tag package to build your queries/mutations.

    See the updated documentation for more information: https://refine.dev/docs/packages/data-providers/nestjs-query

    Query Example:

    import { useList } from "@refinedev/core";
    import gql from "graphql-tag";
    
    const PRODUCTS_QUERY = gql`
        query ProductsList(
            $paging: OffsetPaging!
            $filter: BlogPostFilter
            $sorting: [BlogPostSort!]!
        ) {
            products(paging: $paging, filter: $filter, sorting: $sorting) {
                nodes {
                    id
                    name
                }
                totalCount
            }
        }
    `;
    
    const { data } = useList({
        resource: "products",
        meta: { gqlQuery: PRODUCTS_QUERY },
    });
    

    Mutation Example:

    import { useForm } from "@refinedev/core";
    import gql from "graphql-tag";
    
    const CREATE_PRODUCT_MUTATION = gql`
        mutation CreateProduct($input: CreateProductInput!) {
            createOneProduct(input: $input) {
                id
                name
            }
        }
    `;
    
    const { formProps } = useForm({
        resource: "products",
        meta: { gqlMutation: CREATE_PRODUCT_MUTATION },
    });
    
refine - @refinedev/[email protected]

Published by refine-bot 11 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 11 months ago

Minor Changes

  • #5307 f8e407f850 Thanks @jackprogramsjp! - feat: added hideForm props for LoginPage and RegisterPage for AuthPage feature.

    Now with the hideForm props feature, you can be able to hide the forms (like email/password)
    to only show the OAuth providers. This avoids having to make your own entire AuthPage.

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 11 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 11 months ago

Major Changes

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 11 months ago

Major Changes

Patch Changes

  • #5300 1bc21de08b Thanks @ksankeerth! - fix: missing files in package nestjsx-crud

    There was an issue with nestjsx-crud package due to missing files(transformErrorMessages.ts and transformHttpError.ts)

refine - @refinedev/[email protected]

Published by refine-bot 11 months ago

Patch Changes