30 lines
693 B
Markdown
30 lines
693 B
Markdown
|
|
# @serve.zone/interfaces
|
||
|
|
|
||
|
|
Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.
|
||
|
|
|
||
|
|
This package contains the public contracts consumed by Cloudly, Spark, Coreflow, Coretraffic, Platformclient, and external integrations. It is intentionally dependency-light and should not contain runtime implementation code.
|
||
|
|
|
||
|
|
## Install
|
||
|
|
|
||
|
|
```bash
|
||
|
|
pnpm add @serve.zone/interfaces
|
||
|
|
```
|
||
|
|
|
||
|
|
## Usage
|
||
|
|
|
||
|
|
```typescript
|
||
|
|
import { data, requests, platformservice } from '@serve.zone/interfaces';
|
||
|
|
```
|
||
|
|
|
||
|
|
## Development
|
||
|
|
|
||
|
|
```bash
|
||
|
|
pnpm install
|
||
|
|
pnpm run build
|
||
|
|
pnpm test
|
||
|
|
```
|
||
|
|
|
||
|
|
## Ownership
|
||
|
|
|
||
|
|
Only ecosystem-wide public contracts belong here. Cloudly-internal implementation types should stay in Cloudly.
|