UNPKG

900 BTypeScriptView Raw
1/**
2 * @license
3 * Copyright Google Inc. All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { Tree } from '@angular-devkit/schematics';
9import { ProjectType, WorkspaceProject, WorkspaceSchema } from '../utility/workspace-models';
10/**
11 * Build a default project path for generating.
12 * @param project The project to build the path for.
13 */
14export declare function buildDefaultPath(project: WorkspaceProject): string;
15export declare function getProject<TProjectType extends ProjectType = ProjectType.Application>(workspaceOrHost: WorkspaceSchema | Tree, projectName: string): WorkspaceProject<TProjectType>;
16export declare function isWorkspaceSchema(workspace: any): workspace is WorkspaceSchema;
17export declare function isWorkspaceProject(project: any): project is WorkspaceProject;