Skip to content

Commit

Permalink
squash!
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Sep 28, 2023
1 parent 87b8f83 commit 01ebb3d
Show file tree
Hide file tree
Showing 15 changed files with 92 additions and 170 deletions.
2 changes: 1 addition & 1 deletion Documentation/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Documentation/modules/Index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Documentation/modules/Interface_Environment.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Documentation/modules/Object_Environment.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Documentation/types/Interface_Environment.Type.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Documentation/variables/Index.Environment.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Documentation/variables/Index.Index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Documentation/variables/Index.Response.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions Target/Index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
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 Response: typeof import("@cloudflare/workers-types").Response;
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>;
};
export default _default;
147 changes: 1 addition & 146 deletions Target/Index.js

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

21 changes: 21 additions & 0 deletions Target/Interface/Environment.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
declare const _Object: 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 type Type = Zod.infer<typeof _Object>;
export type { Type as default };
4 changes: 1 addition & 3 deletions Target/Interface/Environment.js
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var _Object = (await Promise.resolve().then(function () { return require("../Object/Environment.js"); })).default;
const{default:e}=await import("../Object/Environment.js");
28 changes: 28 additions & 0 deletions Target/Object/Environment.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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 default _default;
13 changes: 1 addition & 12 deletions Target/Object/Environment.js

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

0 comments on commit 01ebb3d

Please sign in to comment.