UNPKG

pig-dam-cfg

Version:

Pig DAM's configuration information server

34 lines 792 B
/** * Date: 6/12/20 * Time: 11:04 PM * @license MIT (see project's LICENSE file) */ import { ServerConfiguration } from "./server"; /** * Union of all of our service names */ export declare type ServiceName = "factory" | "mongo" | "search" | "server"; /** * Properties shared by all modules */ export interface ServiceConfiguration { id: string; name: string; server: ServerConfiguration; } export interface MongoServiceConfiguration extends ServiceConfiguration { database: { "urn:db:doc:pig": { name: string; }; }; } export interface SearchServiceConfiguration extends ServiceConfiguration { indices: { metadata: { id: string; type: string; }; }; } //# sourceMappingURL=service.d.ts.map