From 20ac4f08a11fb2de8f40a5960d17d3f3bc8f5229 Mon Sep 17 00:00:00 2001 From: Nikola Hristov Date: Sat, 23 Nov 2024 22:31:57 +0200 Subject: [PATCH] --- Target/Command/Clean.d.ts | 20 ++++------ Target/Command/Dispatch.d.ts | 6 +-- Target/Command/Edit.d.ts | 6 +-- Target/Function/Git.d.ts | 38 +++++++------------ Target/Function/Package.d.ts | 1 - Target/Function/Request.d.ts | 7 +--- Target/Function/Type.d.ts | 1 - Target/Function/WalkUntilGit.d.ts | 1 - Target/Interface/Type.d.ts | 3 +- Target/Interface/WalkUntilGit.d.ts | 28 +++++++------- Target/Type/Environment.d.ts | 33 +++++++--------- Target/Type/File.d.ts | 6 +-- Target/Type/Package.d.ts | 10 +---- Target/Variable/Cloudflare.d.ts | 6 +-- Target/Variable/Command.d.ts | 21 +++++------ Target/Variable/Dependabot.d.ts | 9 ++--- Target/Variable/Environment.d.ts | 60 +++++++++++------------------- Target/Variable/GitHub.d.ts | 6 +-- Target/Variable/NPM.d.ts | 6 +-- Target/Variable/Node.d.ts | 6 +-- Target/Variable/Rust.d.ts | 6 +-- 21 files changed, 107 insertions(+), 173 deletions(-) diff --git a/Target/Command/Clean.d.ts b/Target/Command/Clean.d.ts index 2cf1f03..853dd73 100644 --- a/Target/Command/Clean.d.ts +++ b/Target/Command/Clean.d.ts @@ -4,18 +4,14 @@ */ declare const _default: (Repositories?: string[]) => Promise; export default _default; -export declare const Request: ( - Where: string, - With?: {}, - Type?: string, -) => Promise | any>; +export declare const Request: (Where: string, With?: {}, Type?: string) => Promise | any>; export declare const User: string; export declare const All: { - Organizations: { - Name: string; - }[]; - Repositories: { - Owner: string; - Name: string; - }[]; + Organizations: { + Name: string; + }[]; + Repositories: { + Owner: string; + Name: string; + }[]; }; diff --git a/Target/Command/Dispatch.d.ts b/Target/Command/Dispatch.d.ts index 26ca60d..567cf0f 100644 --- a/Target/Command/Dispatch.d.ts +++ b/Target/Command/Dispatch.d.ts @@ -4,8 +4,4 @@ */ declare const _default: (Repository?: string[] | Set) => Promise; export default _default; -export declare const Request: ( - Where: string, - With?: {}, - Type?: string, -) => Promise | any>; +export declare const Request: (Where: string, With?: {}, Type?: string) => Promise | any>; diff --git a/Target/Command/Edit.d.ts b/Target/Command/Edit.d.ts index 0ace80b..cbdf113 100644 --- a/Target/Command/Edit.d.ts +++ b/Target/Command/Edit.d.ts @@ -4,8 +4,4 @@ */ declare const _default: (_Repository?: string[] | Set) => Promise; export default _default; -export declare const Request: ( - Where: string, - With?: {}, - Type?: string, -) => Promise | any>; +export declare const Request: (Where: string, With?: {}, Type?: string) => Promise | any>; diff --git a/Target/Function/Git.d.ts b/Target/Function/Git.d.ts index 8ba3f30..ac1d695 100644 --- a/Target/Function/Git.d.ts +++ b/Target/Function/Git.d.ts @@ -4,28 +4,16 @@ */ declare const _default: () => Promise>; export default _default; -export declare const Environment: import("zod").ZodObject< - { - User: import("zod").ZodDefault< - import("zod").ZodOptional - >; - Base: import("zod").ZodDefault< - import("zod").ZodOptional - >; - Token: import("zod").ZodDefault< - import("zod").ZodOptional - >; - }, - "strip", - import("zod").ZodTypeAny, - { - User: string; - Base: string; - Token: string; - }, - { - User?: string | undefined; - Base?: string | undefined; - Token?: string | undefined; - } ->; +export declare const Environment: import("zod").ZodObject<{ + User: import("zod").ZodDefault>; + Base: import("zod").ZodDefault>; + Token: import("zod").ZodDefault>; +}, "strip", import("zod").ZodTypeAny, { + User: string; + Base: string; + Token: string; +}, { + User?: string | undefined; + Base?: string | undefined; + Token?: string | undefined; +}>; diff --git a/Target/Function/Package.d.ts b/Target/Function/Package.d.ts index d6cf683..25d7b9c 100644 --- a/Target/Function/Package.d.ts +++ b/Target/Function/Package.d.ts @@ -1,5 +1,4 @@ import type Type from "../Type/Package.js"; - /** * @module Package * diff --git a/Target/Function/Request.d.ts b/Target/Function/Request.d.ts index d74ac20..a85f0ea 100644 --- a/Target/Function/Request.d.ts +++ b/Target/Function/Request.d.ts @@ -1,12 +1,7 @@ import type { OctokitResponse } from "@octokit/types"; - /** * @module Request * */ -declare const _default: ( - Where: string, - With?: {}, - Type?: string, -) => Promise | any>; +declare const _default: (Where: string, With?: {}, Type?: string) => Promise | any>; export default _default; diff --git a/Target/Function/Type.d.ts b/Target/Function/Type.d.ts index 265057b..a25ca7c 100644 --- a/Target/Function/Type.d.ts +++ b/Target/Function/Type.d.ts @@ -1,5 +1,4 @@ import type Interface from "../Interface/Type.js"; - /** * @module Type * diff --git a/Target/Function/WalkUntilGit.d.ts b/Target/Function/WalkUntilGit.d.ts index c94542a..5fb1a12 100644 --- a/Target/Function/WalkUntilGit.d.ts +++ b/Target/Function/WalkUntilGit.d.ts @@ -1,5 +1,4 @@ import type Interface from "../Interface/WalkUntilGit.js"; - /** * @module WalkUntilGit * diff --git a/Target/Interface/Type.d.ts b/Target/Interface/Type.d.ts index fad01e8..049b2be 100644 --- a/Target/Interface/Type.d.ts +++ b/Target/Interface/Type.d.ts @@ -1,9 +1,8 @@ import type Package from "../Type/Package.js"; - /** * @module Type * */ export default interface Interface { - (Filter?: Package): Promise>; + (Filter?: Package): Promise>; } diff --git a/Target/Interface/WalkUntilGit.d.ts b/Target/Interface/WalkUntilGit.d.ts index 48f0147..d158954 100644 --- a/Target/Interface/WalkUntilGit.d.ts +++ b/Target/Interface/WalkUntilGit.d.ts @@ -3,18 +3,18 @@ * */ export default interface Interface { - /** - * The function recursively walks through directories until it finds a ".git" folder or reaches the - * root directory. - * - * @param Search - The `Search` parameter is a string that represents the directory path where - * you want to start searching for a `.git` directory. - * - * @param From - The "From" parameter is an optional parameter that specifies the starting - * directory for the search. If provided, the function will start searching for the ".git" directory - * from this directory. If not provided, the function will start searching from the directory specified - * by the "Search" parameter. - * - */ - (Search: string, From?: string): Promise; + /** + * The function recursively walks through directories until it finds a ".git" folder or reaches the + * root directory. + * + * @param Search - The `Search` parameter is a string that represents the directory path where + * you want to start searching for a `.git` directory. + * + * @param From - The "From" parameter is an optional parameter that specifies the starting + * directory for the search. If provided, the function will start searching for the ".git" directory + * from this directory. If not provided, the function will start searching from the directory specified + * by the "Search" parameter. + * + */ + (Search: string, From?: string): Promise; } diff --git a/Target/Type/Environment.d.ts b/Target/Type/Environment.d.ts index ea0da67..dad8a17 100644 --- a/Target/Type/Environment.d.ts +++ b/Target/Type/Environment.d.ts @@ -1,27 +1,20 @@ import type Zod from "zod"; - /** * @module Environment * */ export type Type = Zod.infer; export type { Type as default }; -declare const Variable: Zod.ZodObject< - { - User: Zod.ZodDefault>; - Base: Zod.ZodDefault>; - Token: Zod.ZodDefault>; - }, - "strip", - Zod.ZodTypeAny, - { - User: string; - Base: string; - Token: string; - }, - { - User?: string | undefined; - Base?: string | undefined; - Token?: string | undefined; - } ->; +declare const Variable: Zod.ZodObject<{ + User: Zod.ZodDefault>; + Base: Zod.ZodDefault>; + Token: Zod.ZodDefault>; +}, "strip", Zod.ZodTypeAny, { + User: string; + Base: string; + Token: string; +}, { + User?: string | undefined; + Base?: string | undefined; + Token?: string | undefined; +}>; diff --git a/Target/Type/File.d.ts b/Target/Type/File.d.ts index 55c6203..856bc33 100644 --- a/Target/Type/File.d.ts +++ b/Target/Type/File.d.ts @@ -3,8 +3,8 @@ * */ export type Type = Set<{ - Path: string; - Name: string; - File: () => Promise>; + Path: string; + Name: string; + File: () => Promise>; }>; export type { Type as default }; diff --git a/Target/Type/Package.d.ts b/Target/Type/Package.d.ts index fa787dc..8266c69 100644 --- a/Target/Type/Package.d.ts +++ b/Target/Type/Package.d.ts @@ -2,13 +2,5 @@ * @module Type * */ -export type Type = - | "Bundler" - | "Cargo" - | "Cloudflare" - | "Composer" - | "NPM" - | "Nuget" - | "PIP" - | false; +export type Type = "Bundler" | "Cargo" | "Cloudflare" | "Composer" | "NPM" | "Nuget" | "PIP" | false; export type { Type as default }; diff --git a/Target/Variable/Cloudflare.d.ts b/Target/Variable/Cloudflare.d.ts index baa120c..09ea9f1 100644 --- a/Target/Variable/Cloudflare.d.ts +++ b/Target/Variable/Cloudflare.d.ts @@ -3,8 +3,8 @@ * */ declare const _default: Set<{ - Path: string; - Name: string; - File: () => Promise>; + Path: string; + Name: string; + File: () => Promise>; }>; export default _default; diff --git a/Target/Variable/Command.d.ts b/Target/Variable/Command.d.ts index 13da49c..1b8325d 100644 --- a/Target/Variable/Command.d.ts +++ b/Target/Variable/Command.d.ts @@ -1,19 +1,18 @@ import type { CommandOptions } from "commander"; - /** * @module Command * */ export declare const Variable: Set<{ - Name: string; - Opts?: CommandOptions; - Type?: "Workflow"; - Description?: string; - Arguments?: Set<{ - Name: string; - Description?: string; - Value?: any; - }>; - Action: (...args: any[]) => Promise; + Name: string; + Opts?: CommandOptions; + Type?: "Workflow"; + Description?: string; + Arguments?: Set<{ + Name: string; + Description?: string; + Value?: any; + }>; + Action: (...args: any[]) => Promise; }>; export default Variable; diff --git a/Target/Variable/Dependabot.d.ts b/Target/Variable/Dependabot.d.ts index b3bd42a..2d66d4d 100644 --- a/Target/Variable/Dependabot.d.ts +++ b/Target/Variable/Dependabot.d.ts @@ -3,12 +3,11 @@ * */ declare const _default: Set<{ - Path: string; - Name: string; - File: () => Promise>; + Path: string; + Name: string; + File: () => Promise>; }>; export default _default; export declare const readFile: typeof import("fs/promises").readFile; -export declare const dirname: (path: string) => string, - resolve: (...paths: string[]) => string; +export declare const dirname: (path: string) => string, resolve: (...paths: string[]) => string; export declare const fileURLToPath: typeof import("url").fileURLToPath; diff --git a/Target/Variable/Environment.d.ts b/Target/Variable/Environment.d.ts index 56f9146..5bab412 100644 --- a/Target/Variable/Environment.d.ts +++ b/Target/Variable/Environment.d.ts @@ -1,43 +1,27 @@ -export declare const string: ( - params?: - | ({ - errorMap?: import("zod").ZodErrorMap | undefined; - invalid_type_error?: string | undefined; - required_error?: string | undefined; - message?: string | undefined; - description?: string | undefined; - } & { - coerce?: true | undefined; - }) - | undefined, -) => import("zod").ZodString; +export declare const string: (params?: ({ + errorMap?: import("zod").ZodErrorMap | undefined; + invalid_type_error?: string | undefined; + required_error?: string | undefined; + message?: string | undefined; + description?: string | undefined; +} & { + coerce?: true | undefined; +}) | undefined) => import("zod").ZodString; /** * @module Environment * */ -declare const _default: import("zod").ZodObject< - { - User: import("zod").ZodDefault< - import("zod").ZodOptional - >; - Base: import("zod").ZodDefault< - import("zod").ZodOptional - >; - Token: import("zod").ZodDefault< - import("zod").ZodOptional - >; - }, - "strip", - import("zod").ZodTypeAny, - { - User: string; - Base: string; - Token: string; - }, - { - User?: string | undefined; - Base?: string | undefined; - Token?: string | undefined; - } ->; +declare const _default: import("zod").ZodObject<{ + User: import("zod").ZodDefault>; + Base: import("zod").ZodDefault>; + Token: import("zod").ZodDefault>; +}, "strip", import("zod").ZodTypeAny, { + User: string; + Base: string; + Token: string; +}, { + User?: string | undefined; + Base?: string | undefined; + Token?: string | undefined; +}>; export default _default; diff --git a/Target/Variable/GitHub.d.ts b/Target/Variable/GitHub.d.ts index e4a07c2..9f645f3 100644 --- a/Target/Variable/GitHub.d.ts +++ b/Target/Variable/GitHub.d.ts @@ -3,8 +3,8 @@ * */ declare const _default: Set<{ - Path: string; - Name: string; - File: () => Promise>; + Path: string; + Name: string; + File: () => Promise>; }>; export default _default; diff --git a/Target/Variable/NPM.d.ts b/Target/Variable/NPM.d.ts index 0ab8a37..3916e44 100644 --- a/Target/Variable/NPM.d.ts +++ b/Target/Variable/NPM.d.ts @@ -3,8 +3,8 @@ * */ declare const _default: Set<{ - Path: string; - Name: string; - File: () => Promise>; + Path: string; + Name: string; + File: () => Promise>; }>; export default _default; diff --git a/Target/Variable/Node.d.ts b/Target/Variable/Node.d.ts index 67a002c..10dff9e 100644 --- a/Target/Variable/Node.d.ts +++ b/Target/Variable/Node.d.ts @@ -3,8 +3,8 @@ * */ declare const _default: Set<{ - Path: string; - Name: string; - File: () => Promise>; + Path: string; + Name: string; + File: () => Promise>; }>; export default _default; diff --git a/Target/Variable/Rust.d.ts b/Target/Variable/Rust.d.ts index e4a07c2..9f645f3 100644 --- a/Target/Variable/Rust.d.ts +++ b/Target/Variable/Rust.d.ts @@ -3,8 +3,8 @@ * */ declare const _default: Set<{ - Path: string; - Name: string; - File: () => Promise>; + Path: string; + Name: string; + File: () => Promise>; }>; export default _default;