Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Oct 21, 2024
1 parent 8276db3 commit 912fff1
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 89 deletions.
17 changes: 8 additions & 9 deletions Target/Configuration/PM2.d.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
import type { StartOptions } from "pm2";

export type Apps = StartOptions[];
export type Ecosystem = {
apps: Apps;
apps: Apps;
};
declare const _default: {
apps: {
name: string;
script: string;
watch: true;
autorestart: true;
force: true;
}[];
apps: {
name: string;
script: string;
watch: true;
autorestart: true;
force: true;
}[];
};
export default _default;
19 changes: 8 additions & 11 deletions Target/Option/Discord.d.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
import type { ClientOptions } from "discord.js";

export declare const DISCORD_APPLICATION_ID: string,
DISCORD_PUBLIC_KEY: string,
DISCORD_TOKENS: string;
import { type ClientOptions } from "discord.js";
export declare const DISCORD_APPLICATION_ID: string, DISCORD_PUBLIC_KEY: string, DISCORD_TOKENS: string;
export declare const Tokens: string[];
export type Client = {
events?: Map<string, (...args: string[]) => Promise<void>>;
options?: ClientOptions;
token?: string;
preflight?: (...args: string[]) => Promise<void>;
events?: Map<string, (...args: string[]) => Promise<void>>;
options?: ClientOptions;
token?: string;
preflight?: (...args: string[]) => Promise<void>;
};
export type Flight = {
routes: [];
preflight: () => Promise<void>;
routes: [];
preflight: () => Promise<void>;
};
export declare const Clients: Client[];
declare const _default: Client[];
Expand Down
2 changes: 1 addition & 1 deletion Target/Option/Discord.js

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

96 changes: 28 additions & 68 deletions Target/Variable/Environment.d.ts
Original file line number Diff line number Diff line change
@@ -1,69 +1,29 @@
export declare const object: <T extends import("zod").ZodRawShape>(
shape: T,
params?: import("zod").RawCreateParams,
) => import("zod").ZodObject<
T,
"strip",
import("zod").ZodTypeAny,
{
[k in keyof import("zod").objectUtil.addQuestionMarks<
import("zod").baseObjectOutputType<T>,
any
>]: import("zod").objectUtil.addQuestionMarks<
import("zod").baseObjectOutputType<T>,
any
>[k];
},
{
[k_1 in keyof import("zod").baseObjectInputType<T>]: import("zod").baseObjectInputType<T>[k_1];
}
>,
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;
declare const _default: import("zod").ZodObject<
{
DISCORD_APPLICATION_ID: import("zod").ZodDefault<
import("zod").ZodOptional<import("zod").ZodString>
>;
DISCORD_CLIENT_ID: import("zod").ZodDefault<
import("zod").ZodOptional<import("zod").ZodString>
>;
DISCORD_CLIENT_SECRET: import("zod").ZodDefault<
import("zod").ZodOptional<import("zod").ZodString>
>;
DISCORD_PUBLIC_KEY: import("zod").ZodDefault<
import("zod").ZodOptional<import("zod").ZodString>
>;
DISCORD_TOKENS: import("zod").ZodDefault<
import("zod").ZodOptional<import("zod").ZodString>
>;
},
"strip",
import("zod").ZodTypeAny,
{
DISCORD_APPLICATION_ID: string;
DISCORD_CLIENT_ID: string;
DISCORD_CLIENT_SECRET: string;
DISCORD_PUBLIC_KEY: string;
DISCORD_TOKENS: string;
},
{
DISCORD_APPLICATION_ID?: string | undefined;
DISCORD_CLIENT_ID?: string | undefined;
DISCORD_CLIENT_SECRET?: string | undefined;
DISCORD_PUBLIC_KEY?: string | undefined;
DISCORD_TOKENS?: string | undefined;
}
>;
export declare const object: <T extends import("zod").ZodRawShape>(shape: T, params?: import("zod").RawCreateParams) => import("zod").ZodObject<T, "strip", import("zod").ZodTypeAny, { [k in keyof import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<T>, any>]: import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof import("zod").baseObjectInputType<T>]: import("zod").baseObjectInputType<T>[k_1]; }>, 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;
declare const _default: import("zod").ZodObject<{
DISCORD_APPLICATION_ID: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
DISCORD_CLIENT_ID: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
DISCORD_CLIENT_SECRET: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
DISCORD_PUBLIC_KEY: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
DISCORD_TOKENS: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
}, "strip", import("zod").ZodTypeAny, {
DISCORD_APPLICATION_ID: string;
DISCORD_CLIENT_ID: string;
DISCORD_CLIENT_SECRET: string;
DISCORD_PUBLIC_KEY: string;
DISCORD_TOKENS: string;
}, {
DISCORD_APPLICATION_ID?: string | undefined;
DISCORD_CLIENT_ID?: string | undefined;
DISCORD_CLIENT_SECRET?: string | undefined;
DISCORD_PUBLIC_KEY?: string | undefined;
DISCORD_TOKENS?: string | undefined;
}>;
export default _default;

0 comments on commit 912fff1

Please sign in to comment.