-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Option.d.ts
45 lines (45 loc) · 1.07 KB
/
Option.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/**
* @module Option
*
* Represents options for configuring the behavior of the program.
*
*/
export default interface Interface {
/**
* Configuration for the target cache.
*
* @default { Search: "./", Folder: "./Cache" }
*
*/
Cache?: boolean | Cache;
/**
* Configuration for the target path(s).
*
* @default "./Target"
*/
Path?: boolean | (Path | Path[] | Set<Path>);
/**
* Criteria for excluding files.
*/
Exclude?: boolean | (Exclude | Exclude[] | Set<Exclude>);
/**
* File patterns to be matched.
*/
File?: boolean | (Pattern | Pattern[]);
/**
* Action pipe configuration.
*/
Action?: boolean | Action;
/**
* Debugging level.
*
* @default 2
*/
Logger?: boolean | Logger;
}
import type Action from "../Interface/Action.js";
import type Cache from "../Interface/Cache.js";
import type Exclude from "../Type/Exclude.js";
import type Logger from "../Type/Logger.js";
import type Path from "../Type/Path.js";
import type { Pattern } from "fast-glob";