import { Path } from '@angular-devkit/core';

export interface InterceptorOptions {
  interceptorType: string;
  module: Path;
  type: string;
  /**
   * The controller name to intercept.
   */
  name: string;
  /**
   * The controller's method name to intercept.
   */
  method?: string;
  /**
   * The path to create the interceptor.
   */
  path?: string | Path;
  /**
   * Application language.
   */
  language?: string;
  /**
   * The source root path
   */
  sourceRoot?: string;
  /**
   * Specifies if a spec file is generated.
   */
  spec?: boolean;
  /**
   * Flag to indicate if a directory is created.
   */
  flat?: boolean;
}
