UNPKG

@adpt/cloud

Version:
31 lines 990 B
import Adapt from "@adpt/core"; /** * Props for {@link postgres.PreloadedPostgresImage} * * @public */ export interface PreloadedPostgresImageProps { /** Name of database in which to load mock data */ mockDbName: string; /** * Path to a sql file with both schema and data to load into the database * * @remarks * * This data can be produced by standing up a postgres instance, populating it with * the required data and then running {@link https://www.postgresql.org/docs/9.1/app-pgdump.html | pg_dump}. */ mockDataPath: string; } /** * Creates a throw-away {@link https://www.postgresql.org | Postgres} database with preloaded data. * * @remarks * Implements {@link docker.DockerImageInstance}. * * See {@link postgres.PreloadedPostgresImageProps} * * @public */ export declare function PreloadedPostgresImage(props: PreloadedPostgresImageProps): Adapt.AdaptElementOrNull; //# sourceMappingURL=PreloadedPostgresImage.d.ts.map