0.1.21 • Published 1 month ago

@shophost/rest-api v0.1.21

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
1 month ago

@shophost/rest-api

A comprehensive REST API package for Shophost with TypeScript support.

Installation

npm install @shophost/rest-api
# or
pnpm add @shophost/rest-api
# or
yarn add @shophost/rest-api

⚠️ IMPORTANT LEGAL NOTICE: This package is publicly available for download but is proprietary software. Installation and use requires explicit permission from Shophost. See the License section below for details.

Exports

This package provides 4 main entry points:

1. Main API (@shophost/rest-api)

import "@shophost/rest-api";

2. Contract definitions (@shophost/rest-api/contract)

import { contract } from "@shophost/rest-api/contract";

3. Next.js integration (@shophost/rest-api/next)

import { createNextHandler } from "@shophost/rest-api/next";

4. Schemas (@shophost/rest-api/schemas)

import { ManufacturerSchema } from "@shophost/rest-api/schemas";

Development

To build this package:

nx build rest-api

To publish (dry-run):

nx npm:publish:dry-run rest-api

To publish:

nx npm:publish rest-api

License

Proprietary - All Rights Reserved

This software is proprietary and confidential. Unauthorized copying, distribution, or use is strictly prohibited. For licensing inquiries, please contact Shophost.

0.1.21

1 month ago

0.1.20

1 month ago

0.1.19

1 month ago

0.1.18

1 month ago

0.1.17

1 month ago

0.1.16

1 month ago

0.1.15

1 month ago

0.1.14

1 month ago

0.1.10

1 month ago

0.1.13

2 months ago

0.1.12

2 months ago

0.1.11

2 months ago

0.1.9

2 months ago

0.1.8

2 months ago

0.1.7

2 months ago

0.1.6

2 months ago

0.1.5

2 months ago

0.1.4

2 months ago

0.1.3

2 months ago

0.1.2

2 months ago

0.1.1

2 months ago

0.1.0

2 months ago