From e685495c88e8abc7fa6435775902a0813ac9aec4 Mon Sep 17 00:00:00 2001 From: Nikola Hristov Date: Fri, 22 Nov 2024 23:17:10 +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, 173 insertions(+), 107 deletions(-) diff --git a/Target/Command/Clean.d.ts b/Target/Command/Clean.d.ts index 853dd73..2cf1f03 100644 --- a/Target/Command/Clean.d.ts +++ b/Target/Command/Clean.d.ts @@ -4,14 +4,18 @@ */ 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 567cf0f..26ca60d 100644 --- a/Target/Command/Dispatch.d.ts +++ b/Target/Command/Dispatch.d.ts @@ -4,4 +4,8 @@ */ 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 cbdf113..0ace80b 100644 --- a/Target/Command/Edit.d.ts +++ b/Target/Command/Edit.d.ts @@ -4,4 +4,8 @@ */ 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 ac1d695..8ba3f30 100644 --- a/Target/Function/Git.d.ts +++ b/Target/Function/Git.d.ts @@ -4,16 +4,28 @@ */ declare const _default: () => Promise>; export default _default; -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; -}>; +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; + } +>; diff --git a/Target/Function/Package.d.ts b/Target/Function/Package.d.ts index 25d7b9c..d6cf683 100644 --- a/Target/Function/Package.d.ts +++ b/Target/Function/Package.d.ts @@ -1,4 +1,5 @@ import type Type from "../Type/Package.js"; + /** * @module Package * diff --git a/Target/Function/Request.d.ts b/Target/Function/Request.d.ts index a85f0ea..d74ac20 100644 --- a/Target/Function/Request.d.ts +++ b/Target/Function/Request.d.ts @@ -1,7 +1,12 @@ 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 a25ca7c..265057b 100644 --- a/Target/Function/Type.d.ts +++ b/Target/Function/Type.d.ts @@ -1,4 +1,5 @@ import type Interface from "../Interface/Type.js"; + /** * @module Type * diff --git a/Target/Function/WalkUntilGit.d.ts b/Target/Function/WalkUntilGit.d.ts index 5fb1a12..c94542a 100644 --- a/Target/Function/WalkUntilGit.d.ts +++ b/Target/Function/WalkUntilGit.d.ts @@ -1,4 +1,5 @@ import type Interface from "../Interface/WalkUntilGit.js"; + /** * @module WalkUntilGit * diff --git a/Target/Interface/Type.d.ts b/Target/Interface/Type.d.ts index 049b2be..fad01e8 100644 --- a/Target/Interface/Type.d.ts +++ b/Target/Interface/Type.d.ts @@ -1,8 +1,9 @@ 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 d158954..48f0147 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 dad8a17..ea0da67 100644 --- a/Target/Type/Environment.d.ts +++ b/Target/Type/Environment.d.ts @@ -1,20 +1,27 @@ 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 856bc33..55c6203 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 8266c69..fa787dc 100644 --- a/Target/Type/Package.d.ts +++ b/Target/Type/Package.d.ts @@ -2,5 +2,13 @@ * @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 09ea9f1..baa120c 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 1b8325d..13da49c 100644 --- a/Target/Variable/Command.d.ts +++ b/Target/Variable/Command.d.ts @@ -1,18 +1,19 @@ 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 2d66d4d..b3bd42a 100644 --- a/Target/Variable/Dependabot.d.ts +++ b/Target/Variable/Dependabot.d.ts @@ -3,11 +3,12 @@ * */ 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 5bab412..56f9146 100644 --- a/Target/Variable/Environment.d.ts +++ b/Target/Variable/Environment.d.ts @@ -1,27 +1,43 @@ -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>; - 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; -}>; +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; + } +>; export default _default; diff --git a/Target/Variable/GitHub.d.ts b/Target/Variable/GitHub.d.ts index 9f645f3..e4a07c2 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 3916e44..0ab8a37 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 10dff9e..67a002c 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 9f645f3..e4a07c2 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;