source: trip-planner-front/node_modules/ajv/dist/vocabularies/code.d.ts

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

initial commit

  • Property mode set to 100644
File size: 1.4 KB
RevLine 
[6a3a178]1import type { SchemaMap } from "../types";
2import type { SchemaCxt } from "../compile";
3import type { KeywordCxt } from "../compile/validate";
4import { CodeGen, Code, Name } from "../compile/codegen";
5export declare function checkReportMissingProp(cxt: KeywordCxt, prop: string): void;
6export declare function checkMissingProp({ gen, data, it: { opts } }: KeywordCxt, properties: string[], missing: Name): Code;
7export declare function reportMissingProp(cxt: KeywordCxt, missing: Name): void;
8export declare function hasPropFunc(gen: CodeGen): Name;
9export declare function isOwnProperty(gen: CodeGen, data: Name, property: Name | string): Code;
10export declare function propertyInData(gen: CodeGen, data: Name, property: Name | string, ownProperties?: boolean): Code;
11export declare function noPropertyInData(gen: CodeGen, data: Name, property: Name | string, ownProperties?: boolean): Code;
12export declare function allSchemaProperties(schemaMap?: SchemaMap): string[];
13export declare function schemaProperties(it: SchemaCxt, schemaMap: SchemaMap): string[];
14export declare function callValidateCode({ schemaCode, data, it: { gen, topSchemaRef, schemaPath, errorPath }, it }: KeywordCxt, func: Code, context: Code, passSchema?: boolean): Code;
15export declare function usePattern({ gen, it: { opts } }: KeywordCxt, pattern: string): Name;
16export declare function validateArray(cxt: KeywordCxt): Name;
17export declare function validateUnion(cxt: KeywordCxt): void;
Note: See TracBrowser for help on using the repository browser.