Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
class OpenboxSchemaRegistry
Re-export
import { OpenboxSchemaRegistry } from "https://deno.land/x/openbox@1.2.10/mod.ts";

Constructors

new
OpenboxSchemaRegistry(map?: Map<string, TSchema>)

Methods

check(schema: TSchema, value: unknown)
compile(schema: TSchema)
deref(schema: TSchema)
merge(registry: OpenboxSchemaRegistry)
register<T extends TSchema>(id: string, schema: T): TRef<T>

Static Properties

default: OpenboxSchemaRegistry