main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | import type {Plugin} from "ajv"
|
---|
2 | import typeofPlugin from "./typeof"
|
---|
3 | import instanceofPlugin from "./instanceof"
|
---|
4 | import range from "./range"
|
---|
5 | import exclusiveRange from "./exclusiveRange"
|
---|
6 | import regexp from "./regexp"
|
---|
7 | import transform from "./transform"
|
---|
8 | import uniqueItemProperties from "./uniqueItemProperties"
|
---|
9 | import allRequired from "./allRequired"
|
---|
10 | import anyRequired from "./anyRequired"
|
---|
11 | import oneRequired from "./oneRequired"
|
---|
12 | import patternRequired from "./patternRequired"
|
---|
13 | import prohibited from "./prohibited"
|
---|
14 | import deepProperties from "./deepProperties"
|
---|
15 | import deepRequired from "./deepRequired"
|
---|
16 | import dynamicDefaults from "./dynamicDefaults"
|
---|
17 | import select from "./select"
|
---|
18 |
|
---|
19 | // TODO type
|
---|
20 | const ajvKeywords: Record<string, Plugin<any> | undefined> = {
|
---|
21 | typeof: typeofPlugin,
|
---|
22 | instanceof: instanceofPlugin,
|
---|
23 | range,
|
---|
24 | exclusiveRange,
|
---|
25 | regexp,
|
---|
26 | transform,
|
---|
27 | uniqueItemProperties,
|
---|
28 | allRequired,
|
---|
29 | anyRequired,
|
---|
30 | oneRequired,
|
---|
31 | patternRequired,
|
---|
32 | prohibited,
|
---|
33 | deepProperties,
|
---|
34 | deepRequired,
|
---|
35 | dynamicDefaults,
|
---|
36 | select,
|
---|
37 | }
|
---|
38 |
|
---|
39 | export default ajvKeywords
|
---|
40 | module.exports = ajvKeywords
|
---|
Note:
See
TracBrowser
for help on using the repository browser.