-
Notifications
You must be signed in to change notification settings - Fork 546
Expand file tree
/
Copy pathenv.d.ts
More file actions
28 lines (28 loc) · 884 Bytes
/
env.d.ts
File metadata and controls
28 lines (28 loc) · 884 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* eslint-disable */
// Generated by Wrangler by running `wrangler types env.d.ts --include-runtime false` (hash: abcac7c2fab26ff1aa15b420b91dae50)
declare namespace Cloudflare {
interface GlobalProps {
mainModule: typeof import("./src/server");
durableNamespaces: "ReminderAgent";
}
interface Env {
VAPID_PUBLIC_KEY: string;
VAPID_PRIVATE_KEY: string;
VAPID_SUBJECT: string;
ReminderAgent: DurableObjectNamespace<import("./src/server").ReminderAgent>;
}
}
interface Env extends Cloudflare.Env {}
type StringifyValues<EnvType extends Record<string, unknown>> = {
[Binding in keyof EnvType]: EnvType[Binding] extends string
? EnvType[Binding]
: string;
};
declare namespace NodeJS {
interface ProcessEnv extends StringifyValues<
Pick<
Cloudflare.Env,
"VAPID_PUBLIC_KEY" | "VAPID_PRIVATE_KEY" | "VAPID_SUBJECT"
>
> {}
}