Packages

Packages used across projects

Currently, we have three internal packages located in the package/ directory

  • api: an abstraction layer for the eDroplets API

    • This packages provides functions to make calls to the eDroplets APIs with type checking and additional client-side preprocessing when needed

    • This is just a wrapper for making API calls directly, but please do not make API calls directly and use this for the sake of uniformity

  • schemas: validation schemas for Yup

    • Shared validation schemas (such as for user login or other forms)

  • ui: frontend components and other shared user interface tools

    • This package serves to standardize styling between both of our frontends and is currently a work in progress

    • Eventually this package will serve as a component library and both frontends will mostly use these components

Last updated