Skip to content

Commit fe08e7a

Browse files
addaleaxlrlna
authored andcommitted
Add typescript definitions
1 parent b8343c3 commit fe08e7a

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

index.d.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
export declare function getDataLake(buildInfo: any): {
2+
isDataLake: boolean;
3+
dlVersion: string;
4+
};
5+
6+
export declare function isEnterprise(buildInfo: any): boolean;
7+
export declare function isAtlas(buildInfo: any): boolean;
8+
export declare function isLocalhost(buildInfo: any): boolean;
9+
10+
export declare function getGenuineMongoDB(buildInfo: any, cmdLineOpts: any): {
11+
isGenuine: boolean;
12+
serverName: string;
13+
};
14+
15+
export declare function getBuildEnv(buildInfo: any): {
16+
serverOs: string;
17+
serverArch: string;
18+
};

0 commit comments

Comments
 (0)