@adpt/cloud
Version:
AdaptJS cloud component library
21 lines • 861 B
TypeScript
import { PrimitiveComponent } from "@adpt/core";
import { ConnectToInstance } from "../ConnectTo";
import { NetworkScope } from "../NetworkService";
/**
* Abstract MongoDB component
*
* @remarks
* This component is used to denote a needed {@link https://www.mongodb.com | MongoDB}
* service. Users should use a style sheet to subsitute a concrete MongoDB instance
* that provides the service. {@link mongodb.TestMongoDB} is such a component, suitable for
* test environments.
*
* All implementations of this component should implmenent {@link ConnectToInstance}
* that provides a `MONGODB_URI` variable of the form `mongodb://<hostname>:<port>`.
*
* @public
*/
export declare abstract class MongoDB extends PrimitiveComponent implements ConnectToInstance {
connectEnv(_scope?: NetworkScope): undefined;
}
//# sourceMappingURL=MongoDB.d.ts.map