@medusajs/client-types
TypeScript icon, indicating that this package has built-in type declarations

0.2.12 • Public • Published

Medusa Client Types

TypeScript types derived from the OpenAPI Spec (OAS) to be used in API clients.

The source code is generated using the medusa-oas CLI tooling.

Install

yarn add --dev @medusa/client-types

How to use

Import in the client.

import type { AdminCustomersRes } from "@medusajs/client-types"
import type { Customer } from "@medusajs/client-types"
import type { StoreGetProductCategoryParams } from "@medusajs/client-types"

Readme

Keywords

none

Package Sidebar

Install

npm i @medusajs/client-types

Weekly Downloads

3,718

Version

0.2.12

License

MIT

Unpacked Size

468 kB

Total Files

481

Last publish

Collaborators

  • sebrindom
  • oliverjuhl