source: imaps-frontend/node_modules/ajv/dist/compile/errors.d.ts@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 826 bytes
Line 
1import type { KeywordErrorCxt, KeywordErrorDefinition } from "../types";
2import { CodeGen, Code, Name } from "./codegen";
3export declare const keywordError: KeywordErrorDefinition;
4export declare const keyword$DataError: KeywordErrorDefinition;
5export interface ErrorPaths {
6 instancePath?: Code;
7 schemaPath?: string;
8 parentSchema?: boolean;
9}
10export declare function reportError(cxt: KeywordErrorCxt, error?: KeywordErrorDefinition, errorPaths?: ErrorPaths, overrideAllErrors?: boolean): void;
11export declare function reportExtraError(cxt: KeywordErrorCxt, error?: KeywordErrorDefinition, errorPaths?: ErrorPaths): void;
12export declare function resetErrorsCount(gen: CodeGen, errsCount: Name): void;
13export declare function extendErrors({ gen, keyword, schemaValue, data, errsCount, it, }: KeywordErrorCxt): void;
Note: See TracBrowser for help on using the repository browser.