Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Nov 22, 2024
1 parent 2c6a0e5 commit e685495
Show file tree
Hide file tree
Showing 21 changed files with 173 additions and 107 deletions.
20 changes: 12 additions & 8 deletions Target/Command/Clean.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@
*/
declare const _default: (Repositories?: string[]) => Promise<void>;
export default _default;
export declare const Request: (Where: string, With?: {}, Type?: string) => Promise<import("@octokit/types").OctokitResponse<any, number> | any>;
export declare const Request: (
Where: string,
With?: {},
Type?: string,
) => Promise<import("@octokit/types").OctokitResponse<any, number> | 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;
}[];
};
6 changes: 5 additions & 1 deletion Target/Command/Dispatch.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@
*/
declare const _default: (Repository?: string[] | Set<string>) => Promise<void>;
export default _default;
export declare const Request: (Where: string, With?: {}, Type?: string) => Promise<import("@octokit/types").OctokitResponse<any, number> | any>;
export declare const Request: (
Where: string,
With?: {},
Type?: string,
) => Promise<import("@octokit/types").OctokitResponse<any, number> | any>;
6 changes: 5 additions & 1 deletion Target/Command/Edit.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@
*/
declare const _default: (_Repository?: string[] | Set<string>) => Promise<void>;
export default _default;
export declare const Request: (Where: string, With?: {}, Type?: string) => Promise<import("@octokit/types").OctokitResponse<any, number> | any>;
export declare const Request: (
Where: string,
With?: {},
Type?: string,
) => Promise<import("@octokit/types").OctokitResponse<any, number> | any>;
38 changes: 25 additions & 13 deletions Target/Function/Git.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,28 @@
*/
declare const _default: () => Promise<Set<string>>;
export default _default;
export declare const Environment: import("zod").ZodObject<{
User: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
Base: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
Token: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
}, "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<import("zod").ZodString>
>;
Base: import("zod").ZodDefault<
import("zod").ZodOptional<import("zod").ZodString>
>;
Token: import("zod").ZodDefault<
import("zod").ZodOptional<import("zod").ZodString>
>;
},
"strip",
import("zod").ZodTypeAny,
{
User: string;
Base: string;
Token: string;
},
{
User?: string | undefined;
Base?: string | undefined;
Token?: string | undefined;
}
>;
1 change: 1 addition & 0 deletions Target/Function/Package.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type Type from "../Type/Package.js";

/**
* @module Package
*
Expand Down
7 changes: 6 additions & 1 deletion Target/Function/Request.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
import type { OctokitResponse } from "@octokit/types";

/**
* @module Request
*
*/
declare const _default: (Where: string, With?: {}, Type?: string) => Promise<OctokitResponse<any, number> | any>;
declare const _default: (
Where: string,
With?: {},
Type?: string,
) => Promise<OctokitResponse<any, number> | any>;
export default _default;
1 change: 1 addition & 0 deletions Target/Function/Type.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type Interface from "../Interface/Type.js";

/**
* @module Type
*
Expand Down
1 change: 1 addition & 0 deletions Target/Function/WalkUntilGit.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type Interface from "../Interface/WalkUntilGit.js";

/**
* @module WalkUntilGit
*
Expand Down
3 changes: 2 additions & 1 deletion Target/Interface/Type.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import type Package from "../Type/Package.js";

/**
* @module Type
*
*/
export default interface Interface {
(Filter?: Package): Promise<Map<string, Package>>;
(Filter?: Package): Promise<Map<string, Package>>;
}
28 changes: 14 additions & 14 deletions Target/Interface/WalkUntilGit.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>;
/**
* 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<string>;
}
33 changes: 20 additions & 13 deletions Target/Type/Environment.d.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,27 @@
import type Zod from "zod";

/**
* @module Environment
*
*/
export type Type = Zod.infer<typeof Variable>;
export type { Type as default };
declare const Variable: Zod.ZodObject<{
User: Zod.ZodDefault<Zod.ZodOptional<Zod.ZodString>>;
Base: Zod.ZodDefault<Zod.ZodOptional<Zod.ZodString>>;
Token: Zod.ZodDefault<Zod.ZodOptional<Zod.ZodString>>;
}, "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<Zod.ZodOptional<Zod.ZodString>>;
Base: Zod.ZodDefault<Zod.ZodOptional<Zod.ZodString>>;
Token: Zod.ZodDefault<Zod.ZodOptional<Zod.ZodString>>;
},
"strip",
Zod.ZodTypeAny,
{
User: string;
Base: string;
Token: string;
},
{
User?: string | undefined;
Base?: string | undefined;
Token?: string | undefined;
}
>;
6 changes: 3 additions & 3 deletions Target/Type/File.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
*
*/
export type Type = Set<{
Path: string;
Name: string;
File: () => Promise<Set<string>>;
Path: string;
Name: string;
File: () => Promise<Set<string>>;
}>;
export type { Type as default };
10 changes: 9 additions & 1 deletion Target/Type/Package.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
6 changes: 3 additions & 3 deletions Target/Variable/Cloudflare.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
*
*/
declare const _default: Set<{
Path: string;
Name: string;
File: () => Promise<Set<string>>;
Path: string;
Name: string;
File: () => Promise<Set<string>>;
}>;
export default _default;
21 changes: 11 additions & 10 deletions Target/Variable/Command.d.ts
Original file line number Diff line number Diff line change
@@ -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<void>;
Name: string;
Opts?: CommandOptions;
Type?: "Workflow";
Description?: string;
Arguments?: Set<{
Name: string;
Description?: string;
Value?: any;
}>;
Action: (...args: any[]) => Promise<void>;
}>;
export default Variable;
9 changes: 5 additions & 4 deletions Target/Variable/Dependabot.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
*
*/
declare const _default: Set<{
Path: string;
Name: string;
File: () => Promise<Set<string>>;
Path: string;
Name: string;
File: () => Promise<Set<string>>;
}>;
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;
60 changes: 38 additions & 22 deletions Target/Variable/Environment.d.ts
Original file line number Diff line number Diff line change
@@ -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<import("zod").ZodOptional<import("zod").ZodString>>;
Base: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
Token: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
}, "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<import("zod").ZodString>
>;
Base: import("zod").ZodDefault<
import("zod").ZodOptional<import("zod").ZodString>
>;
Token: import("zod").ZodDefault<
import("zod").ZodOptional<import("zod").ZodString>
>;
},
"strip",
import("zod").ZodTypeAny,
{
User: string;
Base: string;
Token: string;
},
{
User?: string | undefined;
Base?: string | undefined;
Token?: string | undefined;
}
>;
export default _default;
6 changes: 3 additions & 3 deletions Target/Variable/GitHub.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
*
*/
declare const _default: Set<{
Path: string;
Name: string;
File: () => Promise<Set<string>>;
Path: string;
Name: string;
File: () => Promise<Set<string>>;
}>;
export default _default;
6 changes: 3 additions & 3 deletions Target/Variable/NPM.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
*
*/
declare const _default: Set<{
Path: string;
Name: string;
File: () => Promise<Set<string>>;
Path: string;
Name: string;
File: () => Promise<Set<string>>;
}>;
export default _default;
6 changes: 3 additions & 3 deletions Target/Variable/Node.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
*
*/
declare const _default: Set<{
Path: string;
Name: string;
File: () => Promise<Set<string>>;
Path: string;
Name: string;
File: () => Promise<Set<string>>;
}>;
export default _default;
Loading

0 comments on commit e685495

Please sign in to comment.