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

export type ${actions.config.options.name} = {
  /**
   * Configures if all repositories should be in memory.
   * This is useful for testing and development.
   */
  useInMemory: boolean
}

@Injectable()
export class ${actions.config.name} {
  public get useInMemory(): boolean {
    return this.options.useInMemory
  }

  constructor(private readonly options: ${actions.config.options.name}) {}
}`;
}
//# sourceMappingURL=actions-config-class.generator.js.map