You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1005 B
38 lines
1005 B
4 years ago
|
{
|
||
|
"title": "IgnorePluginOptions",
|
||
|
"oneOf": [
|
||
|
{
|
||
|
"type": "object",
|
||
|
"additionalProperties": false,
|
||
|
"properties": {
|
||
|
"contextRegExp": {
|
||
|
"description": "A RegExp to test the context (directory) against",
|
||
|
"instanceof": "RegExp",
|
||
|
"tsType": "RegExp"
|
||
|
},
|
||
|
"resourceRegExp": {
|
||
|
"description": "A RegExp to test the request against",
|
||
|
"instanceof": "RegExp",
|
||
|
"tsType": "RegExp"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"type": "object",
|
||
|
"additionalProperties": false,
|
||
|
"properties": {
|
||
|
"checkContext": {
|
||
|
"description": "A filter function for context",
|
||
|
"instanceof": "Function",
|
||
|
"tsType": "((context: string) => boolean)"
|
||
|
},
|
||
|
"checkResource": {
|
||
|
"description": "A filter function for resource and context",
|
||
|
"instanceof": "Function",
|
||
|
"tsType": "((resource: string, context: string) => boolean)"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|