open-index/open-npm huggingface dataset:
npm package: @nukleus-sports/api-contracts
Description: API contracts for Nukleus portals (Agency & Player)
Author: Nukleus
Latest version: 1.0.1

# @nukleus-sports/api-contracts

Shared API contract package for Nukleus portals.

## Install

```bash
bun add @nukleus-sports/api-contracts
```

For local development before publishing:

```bash
# In this repository
bun link

# In consumer repository
bun link @nukleus-sports/api-contracts
```

## Scripts

```bash
bun run lint
bun run test
bun run typecheck
bun run build
```

## Contract Modules

- Auth: `signIn`, `signUp`, `verifyOtp`, `resendOtp`, `refreshToken`, `signOut`, `authenticate`
- Profile: `getProfile`, `updateProfile`

## Exports

```ts
import { signInContract, getProfileContract } from '@nukleus-sports/api-contracts';
import { authenticateContract } from '@nukleus-sports/api-contracts/auth';
import { updateProfileContract } from '@nukleus-sports/api-contracts/profile';
```

## Publish

```bash
bun run lint
bun run test
bun run typecheck
bun run build
npm publish --access public
```