/** * @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 directory name to create the app in. */ directory: string; /** * The path of the application. */ path?: string; /** * The path of the source directory. */ sourceDir?: string; /** * The name of the application. */ name: string; /** * Specifies if the style will be in the ts file. */ inlineStyle?: boolean; /** * Specifies if the template will be in the ts file. */ inlineTemplate?: boolean; /** * Specifies the view encapsulation strategy. */ viewEncapsulation?: ('Emulated' | 'Native' | 'None'); /** * The version of the Angular CLI to use. */ version?: string; /** * Generates a routing module. */ routing?: boolean; /** * The prefix to apply to generated selectors. */ prefix?: string; /** * The file extension to be used for style files. */ style?: string; /** * Skip creating spec files. */ skipTests?: boolean; /** * Skip initializing a git repository. */ skipGit?: boolean; /** * Create a minimal app (no test structure, inline styles/templates). */ minimal?: boolean; /** * Installs the @angular/service-worker. */ serviceWorker?: boolean; }