source: trip-planner-front/node_modules/ajv/dist/compile/validate/keyword.d.ts@ 1ad8e64

Last change on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 679 bytes
Line 
1import type { KeywordCxt } from ".";
2import type { AddedKeywordDefinition, MacroKeywordDefinition, FuncKeywordDefinition } from "../../types";
3import type { SchemaObjCxt } from "..";
4import type { JSONType } from "../rules";
5export declare function macroKeywordCode(cxt: KeywordCxt, def: MacroKeywordDefinition): void;
6export declare function funcKeywordCode(cxt: KeywordCxt, def: FuncKeywordDefinition): void;
7export declare function validSchemaType(schema: unknown, schemaType: JSONType[], allowUndefined?: boolean): boolean;
8export declare function validateKeywordUsage({ schema, opts, self, errSchemaPath }: SchemaObjCxt, def: AddedKeywordDefinition, keyword: string): void;
Note: See TracBrowser for help on using the repository browser.