@raisins/schema
v1.1.1
Published
Types (a.k.a. schema) for the Raisins ecosystem
Downloads
1,109
Keywords
Readme
@raisins/schema
Schema for describing web component bundles and how they can be editted by Raisins.
Usage
Import the JSON schema document
import schema from "@raisins/schema";
myschemavalidator(input, schema);
Import the typescript types
import * as schema from "@raisins/schema/schema";
type Foo = schema.Package;
Import specific types from the schema
import { Attribute } from "@raisins/schema/schema";
type AttributeAtom = Atom<Attribute>;