Last change
on this file since 8d391a1 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.0 KB
|
Line | |
---|
1 | "use strict";
|
---|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
3 | const limitNumber_1 = require("./limitNumber");
|
---|
4 | const multipleOf_1 = require("./multipleOf");
|
---|
5 | const limitLength_1 = require("./limitLength");
|
---|
6 | const pattern_1 = require("./pattern");
|
---|
7 | const limitProperties_1 = require("./limitProperties");
|
---|
8 | const required_1 = require("./required");
|
---|
9 | const limitItems_1 = require("./limitItems");
|
---|
10 | const uniqueItems_1 = require("./uniqueItems");
|
---|
11 | const const_1 = require("./const");
|
---|
12 | const enum_1 = require("./enum");
|
---|
13 | const validation = [
|
---|
14 | // number
|
---|
15 | limitNumber_1.default,
|
---|
16 | multipleOf_1.default,
|
---|
17 | // string
|
---|
18 | limitLength_1.default,
|
---|
19 | pattern_1.default,
|
---|
20 | // object
|
---|
21 | limitProperties_1.default,
|
---|
22 | required_1.default,
|
---|
23 | // array
|
---|
24 | limitItems_1.default,
|
---|
25 | uniqueItems_1.default,
|
---|
26 | // any
|
---|
27 | { keyword: "type", schemaType: ["string", "array"] },
|
---|
28 | { keyword: "nullable", schemaType: "boolean" },
|
---|
29 | const_1.default,
|
---|
30 | enum_1.default,
|
---|
31 | ];
|
---|
32 | exports.default = validation;
|
---|
33 | //# sourceMappingURL=index.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.