import * as typebox from "https://deno.land/x/typebox@0.26.0-dev.1/src/typebox.ts";
Namespaces
Provides functions to create user defined string formats | |
Specialized Clone for Types. | |
Variables
v Hint | |
v Kind | |
JSON Schema TypeBuilder with Static Resolution for TypeScript | |
v Type | JSON Schema TypeBuilder with Static Resolution for TypeScript |
Functions
Fast undefined check for properties of type undefined | |
Clears all user defined string formats | |
Gets a validation function for a user defined string format | |
Returns true if the user defined string format exists | |
Sets a validation function for a user defined string format | |
Clears the reference registry | |
Dereferences the schema recursively | |
Dereferences the schema one level deep | |
Returns true if this registry contains this schema | |
Sets this schema on this registry if a $id exists | |
Returns true if the given schema is TAny | |
Returns true if the given schema is TArray | |
Returns true if the given schema is TSymbol | |
Returns true if the given schema is TBoolean | |
Returns true if the given schema is TConstructor | |
Returns true if the given schema is TDate | |
Returns true if the given schema is TFunction | |
Returns true if the given schema is TInteger | |
Returns true if the given schema is TIntersect | |
Returns true if the given schema is TKind | |
Returns true if the given schema is TLiteral | |
Returns true if the given schema is TNever | |
Returns true if the given schema is TNot | |
Returns true if the given schema is TNull | |
Returns true if the given schema is TNumber | |
Returns true if the given schema is TObject | |
Returns true if this schema has the Optional modifier | |
Returns true if the given schema is TPromise | |
Returns true if this schema has the Readonly modifier | |
Returns true if this schema has the ReadonlyOptional modifier | |
Returns true if the given schema is TRecord | |
Returns true if the given schema is TRef | |
Returns true if the given schema is TSchema | |
Returns true if the given schema is TSelf | |
Returns true if the given schema is TString | |
Returns true if the given schema is TSymbol | |
Returns true if the given schema is TTuple | |
Returns true if the given schema is TUint8Array | |
Returns true if the given schema is TUndefined | |
Returns true if the given schema is TUnion | |
Returns true if the given schema is TUnion<Literal[]> | |
Returns true if the given schema is TUnknown | |
Returns true if the given schema is TVoid | |
Clears all user defined types | |
Gets a custom validation function for a user defined type | |
Returns true if this registry contains this kind | |
Sets a validation function for a user defined type |
Type Aliases
Creates a static type from a TypeBox type | |