Skip to content

Commit

Permalink
squash!
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Oct 5, 2023
1 parent caadedb commit fd01924
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 74 deletions.
21 changes: 0 additions & 21 deletions Target/Interface/Environment.d.ts

This file was deleted.

29 changes: 2 additions & 27 deletions Target/Object/Environment.d.ts
Original file line number Diff line number Diff line change
@@ -1,28 +1,3 @@
export declare const string: (params?: ({
errorMap?: import("zod").ZodErrorMap | undefined;
invalid_type_error?: string | undefined;
required_error?: 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 string: any;
declare const _default: any;
export default _default;
28 changes: 2 additions & 26 deletions Target/Object/Worker.d.ts
Original file line number Diff line number Diff line change
@@ -1,31 +1,7 @@
declare const _default: {
fetch(request: Request, { DISCORD_PUBLIC_KEY }?: {
DISCORD_APPLICATION_ID: string;
DISCORD_CLIENT_ID: string;
DISCORD_CLIENT_SECRET: string;
DISCORD_PUBLIC_KEY: string;
DISCORD_TOKENS: string;
}): Promise<any>;
fetch(request: Request, { DISCORD_PUBLIC_KEY }?: any): Promise<any>;
};
export default _default;
import type { Request } from "@cloudflare/workers-types";
export declare const Environment: 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 Environment: any;
export declare const Response: typeof import("@cloudflare/workers-types").Response;

0 comments on commit fd01924

Please sign in to comment.