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

export type ${config.type.name} = Readonly<{
  readonly useS3: boolean
  readonly useCredentials: boolean
  readonly accessKey?: string
  readonly secretAccessKey?: string
  readonly region: string
  readonly bucket: string
  readonly filePrefix: string
}>

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