@goldenhippo/pet-shopify-api-types
v0.4.7
Published
Request and response types and zod schemas for pet-shopify-api
Keywords
Readme
@goldenhippo/pet-shopify-api-types
Request and response types for pet-shopify-api, with the zod schemas for apps that validate responses at runtime. The package version matches the API version it describes.
pnpm add @goldenhippo/pet-shopify-api-typesimport { type CreateCartRequest, PriceQuoteSchema } from '@goldenhippo/pet-shopify-api-types';
const quote = PriceQuoteSchema.parse(await response.json());The package is CommonJS. In an Angular app, add it to allowedCommonJsDependencies in angular.json to silence the build warning.
