UNPKG

1.09 kBTypeScriptView Raw
1import type { AnySchemaObject } from "./types";
2import AjvCore, { Options } from "./core";
3declare class Ajv2019 extends AjvCore {
4 constructor(opts?: Options);
5 _addVocabularies(): void;
6 _addDefaultMetaSchema(): void;
7 defaultMeta(): string | AnySchemaObject | undefined;
8}
9export default Ajv2019;
10export { Format, FormatDefinition, AsyncFormatDefinition, KeywordDefinition, KeywordErrorDefinition, CodeKeywordDefinition, MacroKeywordDefinition, FuncKeywordDefinition, Vocabulary, Schema, SchemaObject, AnySchemaObject, AsyncSchema, AnySchema, ValidateFunction, AsyncValidateFunction, ErrorObject, ErrorNoParams, } from "./types";
11export { Plugin, Options, CodeOptions, InstanceOptions, Logger, ErrorsTextOptions } from "./core";
12export { SchemaCxt, SchemaObjCxt } from "./compile";
13export { KeywordCxt } from "./compile/validate";
14export { DefinedError } from "./vocabularies/errors";
15export { JSONType } from "./compile/rules";
16export { JSONSchemaType } from "./types/json-schema";
17export { _, str, stringify, nil, Name, Code, CodeGen, CodeGenOptions } from "./compile/codegen";