@8base-react/utils
TypeScript icon, indicating that this package has built-in type declarations

1.7.2 • Public • Published

8base Utils

This library contains utils used by the other 8base service packages.

API

Table of Contents

formatDataForMutation

Formats entity data for create or update mutation based on passed schema.

Parameters

  • type MutationType The type of the mutation.
  • tableName string The name of the table from the 8base API.
  • data Object The entity data for format.
  • schema Schema The schema of the used tables from the 8base API.

/@8base-react/utils/

    Package Sidebar

    Install

    npm i @8base-react/utils

    Weekly Downloads

    65

    Version

    1.7.2

    License

    MIT

    Unpacked Size

    3.68 kB

    Total Files

    13

    Last publish

    Collaborators

    • vorobeez
    • zouxuoz