An open API service indexing awesome lists of open source software.

https://github.com/controlplane-com/types-ts

Control Plane TypeScript type definitions for type-safe API interactions
https://github.com/controlplane-com/types-ts

api-types controlplane npm-package openapi schema type-definitions types typescript

Last synced: about 1 month ago
JSON representation

Control Plane TypeScript type definitions for type-safe API interactions

Awesome Lists containing this project

README

          

# Control Plane Corp. TypeScript Schema

This is a collection of TypeScript interfaces designed to streamline and standardize the data structures used across projects that uses our [OpenAPI](https://console.cpln.io/openapi/core).

## Installation

```bash
npm install @controlplane/schema
```

## Usage

Import the interfaces from @controlplane/schema/interfaces and use them in your TypeScript or JavaScript projects:

```typescript
import { Base } from "@controlplane/schema/interfaces/base";

const example: Base = {
// ... your data
};
```