Socket
Book a DemoInstallSign in
Socket

@medusajs/client-types

Package Overview
Dependencies
Maintainers
2
Versions
197
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@medusajs/client-types

Client types for Medusa Commerce Rest API

latest
Source
npmnpm
Version
0.2.12
Version published
Maintainers
2
Created
Source

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"

FAQs

Package last updated on 18 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts