@shophost/rest-api v0.1.21
@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.
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago