Skip to content

Commit

Permalink
squash!
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Dec 18, 2023
1 parent 04f6f88 commit c29fe9b
Show file tree
Hide file tree
Showing 35 changed files with 358 additions and 3,899 deletions.
6 changes: 3 additions & 3 deletions Documentation/Class/Files.files.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Documentation/Function/Pipe.dirname.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Documentation/Function/Pipe.stat.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Documentation/Variable/Files.Action.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Documentation/Variable/Files.Cache.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Documentation/Variable/Files.Logger.html

Large diffs are not rendered by default.

2,303 changes: 4 additions & 2,299 deletions Documentation/assets/main.js

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions Documentation/assets/navigation.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions Documentation/assets/search.js

Large diffs are not rendered by default.

1,060 changes: 42 additions & 1,018 deletions Documentation/index.html

Large diffs are not rendered by default.

60 changes: 18 additions & 42 deletions Target/Class/Files.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,50 +3,26 @@
*
*/
export default class implements Type {
In: (Path: import("../Type/Path.js").Type) => Promise<this>;
By: (File: string | string[]) => Promise<this>;
Not: (
File:
| boolean
| import("../Type/Exclude.js").Type
| Set<import("../Type/Exclude.js").Type>
| import("../Type/Exclude.js").Type[]
| undefined,
) => Promise<this>;
Pipe: (
Action?: import("../Interface/Action.js").default | undefined,
) => Promise<this>;
Plan: Plan;
constructor(Cache?: Option["Cache"], Logger?: Option["Logger"]);
In: (Path: import("../Type/Path.js").Type) => Promise<this>;
By: (File: string | string[]) => Promise<this>;
Not: (File: boolean | import("../Type/Exclude.js").Type | Set<import("../Type/Exclude.js").Type> | import("../Type/Exclude.js").Type[] | undefined) => Promise<this>;
Pipe: (Action?: import("../Interface/Action.js").default | undefined) => Promise<this>;
Plan: Plan;
constructor(Cache?: Option["Cache"], Logger?: Option["Logger"]);
}
import type Type from "../Interface/Files.js";
import type Option from "../Interface/Option.js";
import type Plan from "../Interface/Plan.js";
export declare const Cache: {
Search: string;
Folder: string;
},
Logger: 2,
Action: {
Read: ({
Input,
}: import("../Interface/File.js").default) => Promise<string>;
Wrote: ({
Buffer,
}: import("../Interface/File.js").default) => Promise<
import("../Type/Buffer.js").Type
>;
Passed: (On: import("../Interface/File.js").default) => Promise<true>;
Failed: ({
Input,
}: import("../Interface/File.js").default) => Promise<string>;
Accomplished: ({
Input,
Output,
}: import("../Interface/File.js").default) => Promise<string>;
Fulfilled: ({ Files }: Plan) => Promise<string | false>;
Changed: (Plan: Plan) => Promise<Plan>;
};
export declare const Merge: import("typescript-esbuild/Target/Interface/Merge.js").default<
import("typescript-esbuild/Target/Interface/Merge.js").Generic
>;
Search: string;
Folder: string;
}, Logger: 2, Action: {
Read: ({ Input }: import("../Interface/File.js").default) => Promise<string>;
Wrote: ({ Buffer }: import("../Interface/File.js").default) => Promise<import("../Type/Buffer.js").Type>;
Passed: (On: import("../Interface/File.js").default) => Promise<true>;
Failed: ({ Input }: import("../Interface/File.js").default) => Promise<string>;
Accomplished: ({ Input, Output }: import("../Interface/File.js").default) => Promise<string>;
Fulfilled: ({ Files }: Plan) => Promise<string | false>;
Changed: (Plan: Plan) => Promise<Plan>;
};
export declare const Merge: import("typescript-esbuild/Target/Interface/Merge.js").default<import("typescript-esbuild/Target/Interface/Merge.js").Generic>;
54 changes: 1 addition & 53 deletions Target/Class/Files.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 1 addition & 22 deletions Target/Function/Apply.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 1 addition & 10 deletions Target/Function/By.js
Original file line number Diff line number Diff line change
@@ -1,10 +1 @@
var s = async (...[r, o, t]) => {
for (const [e, p] of o)
for (const a of await (await import("fast-glob")).default(r, {
cwd: e ?? (await import("process")).cwd(),
onlyFiles: !0,
}))
t.set(`${p}${a}`, `${e}${a}`);
return t;
};
export { s as default };
var s=async(...[r,o,t])=>{for(const[e,p]of o)for(const a of await(await import("fast-glob")).default(r,{cwd:e??(await import("process")).cwd(),onlyFiles:!0}))t.set(`${p}${a}`,`${e}${a}`);return t};export{s as default};
10 changes: 1 addition & 9 deletions Target/Function/Bytes.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 1 addition & 21 deletions Target/Function/In.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 1 addition & 18 deletions Target/Function/Not.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

65 changes: 1 addition & 64 deletions Target/Function/Pipe.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

104 changes: 51 additions & 53 deletions Target/Interface/Action.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,59 +5,57 @@
*
*/
export default interface Type {
/**
* Attaches a callback for the fulfillment of the Action.
*
* @param Plan
*
*/
Fulfilled?: boolean | ((Plan: Plan) => Promise<false | string>);
/**
* Attaches a callback for handling failures in the Action.
*
* @param Input The input file being processed.
*
* @param _Error The error encountered during execution.
*
*/
Failed?:
| boolean
| ((Input: File, _Error: unknown) => Promise<false | string>);
/**
* Attaches a callback for actions that are accomplished.
*
* @param On The file on which an action was accomplished.
*
*/
Accomplished?: boolean | ((On: File) => Promise<false | string>);
/**
* Attaches a callback for actions that result in changes to the plan.
*
* @param Plan The execution plan to be changed.
*
*/
Changed?: (Plan: Plan) => Promise<Plan>;
/**
* Attaches a callback for actions that check if a file can pass through the pipe.
*
* @param On The file on which the action is being checked.
*
*/
Passed?: (On: File) => Promise<boolean>;
/**
* Attaches a callback for reading from a file.
*
* @param On The file to be read.
*
*/
Read?: (On: File) => Promise<Buffer>;
/**
* Attaches a callback for writing to a file.
*
* @param On The file to be written to.
*
*/
Wrote?: (On: File) => Promise<Buffer>;
/**
* Attaches a callback for the fulfillment of the Action.
*
* @param Plan
*
*/
Fulfilled?: boolean | ((Plan: Plan) => Promise<false | string>);
/**
* Attaches a callback for handling failures in the Action.
*
* @param Input The input file being processed.
*
* @param _Error The error encountered during execution.
*
*/
Failed?: boolean | ((Input: File, _Error: unknown) => Promise<false | string>);
/**
* Attaches a callback for actions that are accomplished.
*
* @param On The file on which an action was accomplished.
*
*/
Accomplished?: boolean | ((On: File) => Promise<false | string>);
/**
* Attaches a callback for actions that result in changes to the plan.
*
* @param Plan The execution plan to be changed.
*
*/
Changed?: (Plan: Plan) => Promise<Plan>;
/**
* Attaches a callback for actions that check if a file can pass through the pipe.
*
* @param On The file on which the action is being checked.
*
*/
Passed?: (On: File) => Promise<boolean>;
/**
* Attaches a callback for reading from a file.
*
* @param On The file to be read.
*
*/
Read?: (On: File) => Promise<Buffer>;
/**
* Attaches a callback for writing to a file.
*
* @param On The file to be written to.
*
*/
Wrote?: (On: File) => Promise<Buffer>;
}
import type Buffer from "../Type/Buffer.js";
import type File from "./File.js";
Expand Down
Loading

0 comments on commit c29fe9b

Please sign in to comment.