@kapeta/schemas
TypeScript icon, indicating that this package has built-in type declarations

3.7.2 • Public • Published

@kapeta/schemas

Schemas and type definitions for core kapeta types.

Usage

Runtime schema validation:

import { validateSchema } from "@kapeta/schemas";

const errors = await validateSchema("core/plan", maybeValidPlan);

console.log(errors);

Compile time validation and autocomplete:

import type { Plan } from "@kapeta/schemas";

Readme

Keywords

none

Package Sidebar

Install

npm i @kapeta/schemas

Weekly Downloads

604

Version

3.7.2

License

MIT

Unpacked Size

2.11 MB

Total Files

73

Last publish

Collaborators

  • wejendorp
  • sorenmat
  • vonhofmeister