"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.generateDatabaseConfig = generateDatabaseConfig;
function generateDatabaseConfig({ config }) {
    return /* ts */ `
import { Injectable } from '@nestjs/common'

export type ${config.type.name} = Readonly<{
  readonly connectionString: string
}>

@Injectable()
export class ${config.name} {
  constructor(public readonly config: ${config.type.name}) { }
}
`;
}
//# sourceMappingURL=database-config.generator.js.map