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:
787 bytes
|
Line | |
---|
1 | import type { ErrorObject, Vocabulary } from "../../types";
|
---|
2 | import { LimitNumberError } from "./limitNumber";
|
---|
3 | import { MultipleOfError } from "./multipleOf";
|
---|
4 | import { PatternError } from "./pattern";
|
---|
5 | import { RequiredError } from "./required";
|
---|
6 | import { UniqueItemsError } from "./uniqueItems";
|
---|
7 | import { ConstError } from "./const";
|
---|
8 | import { EnumError } from "./enum";
|
---|
9 | declare const validation: Vocabulary;
|
---|
10 | export default validation;
|
---|
11 | declare type LimitError = ErrorObject<"maxItems" | "minItems" | "minProperties" | "maxProperties" | "minLength" | "maxLength", {
|
---|
12 | limit: number;
|
---|
13 | }, number | {
|
---|
14 | $data: string;
|
---|
15 | }>;
|
---|
16 | export declare type ValidationKeywordError = LimitError | LimitNumberError | MultipleOfError | PatternError | RequiredError | UniqueItemsError | ConstError | EnumError;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.