/**
 * @license
 * Copyright Google Inc. All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */

export interface Schema {
  /**
   * The name of the module.
   */
  name: string;

  /**
   * Skip formatting of files
   */
  skipFormat: boolean;
  /**
   * The path to create the module.
   */
  path?: string;
  /**
   * The path of the source directory.
   */
  sourceDir?: string;
  /**
   * The root of the application.
   */
  appRoot?: string;
  /**
   * Generates a routing module.
   */
  routing?: boolean;
  /**
   * The scope for the generated routing.
   */
  routingScope?: 'Child' | 'Root';
  /**
   * Specifies if a spec file is generated.
   */
  spec?: boolean;
  /**
   * Flag to indicate if a dir is created.
   */
  flat?: boolean;
  /**
   * Flag to control whether the CommonModule is imported.
   */
  commonModule?: boolean;
  /**
   * Allows specification of the declaring module.
   */
  module?: string;
}
