mirror of
https://github.com/FoxxMD/context-mod.git
synced 2026-01-12 23:28:08 -05:00
17 lines
641 B
TypeScript
17 lines
641 B
TypeScript
import {CheckJson, CommentCheckJson, SubmissionCheckJson} from "./Check";
|
|
import {ManagerOptions} from "./Common/interfaces";
|
|
|
|
export interface JSONConfig extends ManagerOptions {
|
|
/**
|
|
* A list of all the checks that should be run for a subreddit.
|
|
*
|
|
* Checks are split into two lists -- submission or comment -- based on kind and run independently.
|
|
*
|
|
* Checks in each list are run in the order found in the configuration.
|
|
*
|
|
* When a check "passes", and actions are performed, then all subsequent checks are skipped.
|
|
* @minItems 1
|
|
* */
|
|
checks: Array<SubmissionCheckJson|CommentCheckJson>
|
|
}
|