mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
28 lines
582 B
TypeScript
28 lines
582 B
TypeScript
|
/**
|
||
|
* This file was automatically generated.
|
||
|
* DO NOT MODIFY BY HAND.
|
||
|
* Run `yarn special-lint-fix` to update
|
||
|
*/
|
||
|
|
||
|
export type IgnorePluginOptions =
|
||
|
| {
|
||
|
/**
|
||
|
* A RegExp to test the context (directory) against
|
||
|
*/
|
||
|
contextRegExp?: RegExp;
|
||
|
/**
|
||
|
* A RegExp to test the request against
|
||
|
*/
|
||
|
resourceRegExp?: RegExp;
|
||
|
}
|
||
|
| {
|
||
|
/**
|
||
|
* A filter function for context
|
||
|
*/
|
||
|
checkContext?: (context: string) => boolean;
|
||
|
/**
|
||
|
* A filter function for resource and context
|
||
|
*/
|
||
|
checkResource?: (resource: string, context: string) => boolean;
|
||
|
};
|