1 | {
|
2 | "title": "IgnorePluginOptions",
|
3 | "anyOf": [
|
4 | {
|
5 | "type": "object",
|
6 | "additionalProperties": false,
|
7 | "properties": {
|
8 | "contextRegExp": {
|
9 | "description": "A RegExp to test the context (directory) against.",
|
10 | "instanceof": "RegExp",
|
11 | "tsType": "RegExp"
|
12 | },
|
13 | "resourceRegExp": {
|
14 | "description": "A RegExp to test the request against.",
|
15 | "instanceof": "RegExp",
|
16 | "tsType": "RegExp"
|
17 | }
|
18 | }
|
19 | },
|
20 | {
|
21 | "type": "object",
|
22 | "additionalProperties": false,
|
23 | "properties": {
|
24 | "checkResource": {
|
25 | "description": "A filter function for resource and context.",
|
26 | "instanceof": "Function",
|
27 | "tsType": "((resource: string, context: string) => boolean)"
|
28 | }
|
29 | }
|
30 | }
|
31 | ]
|
32 | }
|