@reviewskits/types
v0.1.0
Published
Shared TypeScript definitions for ReviewsKits
Downloads
380
Readme
@reviewskits/types
📦 About
This package contains the shared TypeScript types, interfaces, and enums used by:
@reviewskits/react@reviewskits/vue- ReviewsKits Backend API
🚀 Installation
This package is typically installed automatically as a dependency of the official SDKs. If you need it directly:
bun add @reviewskits/types
# or
npm install @reviewskits/types💻 Usage
Most types are exported directly from the root:
import type { Review, ReviewsKitConfig } from '@reviewskits/types'
const myConfig: ReviewsKitConfig = {
pk: 'YOUR_PUBLIC_KEY',
host: 'https://api.reviewskits.com'
}⚖️ License
MIT © ReviewsKits
