@or-sdk/library-types-v1
TypeScript icon, indicating that this package has built-in type declarations

7.0.1 • Public • Published

library types-v1

This package used for code generation of typescript types for the or-sdk and nest.js. See esbuild.browser.ts and esbuild.node.ts for details.

Usage

import {
  CategoryItemResponseDTO, // used as type
  CategoryItemResponse // used as class
} from '@or-sdk/library-types-v1';

CategoryItemResponse.parse(data); // will return CategoryItemResponseDTO or error if data is not valid
const item: CategoryItemResponseDTO = {};

Readme

Keywords

none

Package Sidebar

Install

npm i @or-sdk/library-types-v1

Weekly Downloads

168

Version

7.0.1

License

UNLICENSED

Unpacked Size

2.83 MB

Total Files

9

Last publish

Collaborators

  • onereach.user
  • onereach.admin