-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
/
global.d.ts
27 lines (23 loc) · 636 Bytes
/
global.d.ts
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
/* SPDX-FileCopyrightText: 2014-present Kriasoft */
/* SPDX-License-Identifier: MIT */
declare module "__STATIC_CONTENT_MANIFEST" {
const JSON: string;
export default JSON;
}
declare type Bindings = {
APP_ENV: "local" | "test" | "prod";
APP_NAME: string;
APP_HOSTNAME: string;
FIREBASE_APP_ID: string;
FIREBASE_API_KEY: string;
FIREBASE_AUTH_DOMAIN: string;
GOOGLE_CLOUD_PROJECT: string;
GOOGLE_CLOUD_CREDENTIALS: string;
SENDGRID_API_KEY: string;
FROM_EMAIL: string;
__STATIC_CONTENT: KVNamespace;
};
declare type Env = {
Bindings: Bindings;
};
declare function getMiniflareBindings<T = Bindings>(): T;