gatsby
Version:
Blazing fast modern site generator for React
14 lines (13 loc) • 398 B
TypeScript
import { RootDatabase } from "lmdb";
import { IDataStore, ILmdbDatabases } from "../types";
declare global {
namespace NodeJS {
interface Global {
__GATSBY_OPEN_LMDBS?: Map<string, ILmdbDatabases>;
__GATSBY_OPEN_ROOT_LMDBS?: Map<string, RootDatabase>;
}
}
}
export declare function setupLmdbStore({ dbPath, }?: {
dbPath?: string;
}): IDataStore;