-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathtypes.ts
More file actions
35 lines (32 loc) · 748 Bytes
/
types.ts
File metadata and controls
35 lines (32 loc) · 748 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
29
30
31
32
33
34
35
import { Config } from "../config";
import { RC } from "../rc";
import type { FirebaseMcpServer } from "./index";
export const SERVER_FEATURES = [
"core",
"firestore",
"storage",
"dataconnect",
"auth",
"messaging",
"functions",
"remoteconfig",
"crashlytics",
"apptesting",
"apphosting",
"database",
"developerknowledge",
] as const;
export type ServerFeature = (typeof SERVER_FEATURES)[number];
export interface ClientConfig {
/** The current project root directory for this client. */
projectRoot?: string | null;
}
export interface McpContext {
projectId: string;
accountEmail: string | null;
config: Config;
host: FirebaseMcpServer;
rc: RC;
firebaseCliCommand: string;
isBillingEnabled: boolean;
}