Last change
on this file since bdd6491 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
855 bytes
|
Line | |
---|
1 | import type { CodeKeywordDefinition, ErrorObject, KeywordErrorDefinition, SchemaMap, AnySchema } from "../../types";
|
---|
2 | import type { KeywordCxt } from "../../compile/validate";
|
---|
3 | export declare type PropertyDependencies = {
|
---|
4 | [K in string]?: string[];
|
---|
5 | };
|
---|
6 | export interface DependenciesErrorParams {
|
---|
7 | property: string;
|
---|
8 | missingProperty: string;
|
---|
9 | depsCount: number;
|
---|
10 | deps: string;
|
---|
11 | }
|
---|
12 | export declare type DependenciesError = ErrorObject<"dependencies", DependenciesErrorParams, {
|
---|
13 | [K in string]?: string[] | AnySchema;
|
---|
14 | }>;
|
---|
15 | export declare const error: KeywordErrorDefinition;
|
---|
16 | declare const def: CodeKeywordDefinition;
|
---|
17 | export declare function validatePropertyDeps(cxt: KeywordCxt, propertyDeps?: {
|
---|
18 | [K in string]?: string[];
|
---|
19 | }): void;
|
---|
20 | export declare function validateSchemaDeps(cxt: KeywordCxt, schemaDeps?: SchemaMap): void;
|
---|
21 | export default def;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.