@raisins/schema
v1.2.0
Published
Types (a.k.a. schema) for the Raisins ecosystem
Downloads
826
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>;