2019-01-08 11:38:59 +00:00
|
|
|
export interface IMongoDescriptor {
|
2020-08-18 12:05:07 +00:00
|
|
|
/**
|
|
|
|
* the URL to connect to
|
|
|
|
*/
|
2019-01-08 12:52:08 +00:00
|
|
|
mongoDbUrl: string;
|
2020-08-18 12:05:07 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* the db to use for the project
|
|
|
|
*/
|
|
|
|
mongoDbName?: string;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* a username to use to connect to the database
|
|
|
|
*/
|
|
|
|
|
|
|
|
mongoDbUser?: string;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* an optional password that will be replace <PASSWORD> in the connection string
|
|
|
|
*/
|
|
|
|
mongoDbPass?: string;
|
2019-01-08 11:38:59 +00:00
|
|
|
}
|