1 | import { CrossbowConfiguration } from "./config";
|
2 | import { CommandTrigger } from "./command.run";
|
3 | import { ExternalFileInput, ExternalFile } from "./file.utils";
|
4 | import { Task } from "./task.resolve";
|
5 | import { CrossbowInput } from "./index";
|
6 | export declare enum InputErrorTypes {
|
7 | InputFileNotFound,
|
8 | NoTasksAvailable,
|
9 | NoWatchersAvailable,
|
10 | FileNotFound,
|
11 | NotAFile,
|
12 | InvalidYaml,
|
13 | InvalidInput,
|
14 | InvalidJson,
|
15 | }
|
16 | export interface InputFileNotFoundError extends InputError {
|
17 | }
|
18 | export interface NoTasksAvailableError extends InputError {
|
19 | }
|
20 | export interface NoWatchersAvailableError extends InputError {
|
21 | }
|
22 | export interface InputError {
|
23 | type: InputErrorTypes;
|
24 | }
|
25 | export interface InputFiles {
|
26 | all: ExternalFileInput[];
|
27 | valid: ExternalFileInput[];
|
28 | invalid: ExternalFileInput[];
|
29 | }
|
30 | export declare function locateModule(config: CrossbowConfiguration, taskName: string): ExternalFile[];
|
31 | export declare function getChildTaskNames(task: Task): string[];
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 |
|
39 |
|
40 |
|
41 |
|
42 |
|
43 |
|
44 |
|
45 |
|
46 |
|
47 | export declare function envifyObject(object: any, prefix: string, objectKeyName: string): any;
|
48 | export declare function excludeKeys(input: any, blacklist: string[]): any;
|
49 | export declare function getCBEnv(trigger: CommandTrigger): {};
|
50 | export declare function getFunctionName(fn: any): string;
|
51 | export declare const removeNewlines: (x: string) => string;
|
52 | export declare const escapeNewLines: (x: string) => string;
|
53 | export declare const removeTrailingNewlines: (x: string) => string;
|
54 | export declare function stringifyObj(incoming: any, max?: number): string;
|
55 | export declare function isPlainObject(val: any): boolean;
|
56 | export declare function isString(val: any): boolean;
|
57 | export declare function isFunction(val: any): boolean;
|
58 | export declare function isReport(report: any): boolean;
|
59 | export declare function isPrivateTask(taskName: string): boolean;
|
60 | export declare function isPublicTask(taskName: string): boolean;
|
61 | export declare function isParentGroupName(name: string): RegExpMatchArray;
|
62 | export declare function isParentRef(name: string, names: string[]): boolean;
|
63 | export declare function getChildItems(name: string, input: any): any;
|
64 | export declare function getPossibleTaskNames(input: CrossbowInput): any[];
|
65 | export declare function getChildName(name: any): any;
|
66 | export declare function isInternal(incoming: string): boolean;
|
67 | export declare function isSupportedFileType(incoming: any): boolean;
|
68 | export declare function _e(x: any): any;
|
69 | export declare function __e(x: any): any;
|
70 | export declare function longestString(col: string[]): number;
|
71 | export declare function getLongestTaskName(tasks: Task[]): number;
|
72 | export declare function padLine(incoming: any, max?: any): any;
|
73 | export declare function concatProps(tasks: any, initial: string[], propname: string): string[];
|