source: trip-planner-front/node_modules/@schematics/angular/utility/workspace.d.ts@ ceaed42

Last change on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.3 KB
Line 
1/**
2 * @license
3 * Copyright Google LLC 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 { json, workspaces } from '@angular-devkit/core';
9import { Rule, Tree } from '@angular-devkit/schematics';
10export declare function updateWorkspace(updater: (workspace: workspaces.WorkspaceDefinition) => void | Rule | PromiseLike<void | Rule>): Rule;
11export declare function updateWorkspace(workspace: workspaces.WorkspaceDefinition): Rule;
12export declare function getWorkspace(tree: Tree, path?: string): Promise<workspaces.WorkspaceDefinition>;
13/**
14 * Build a default project path for generating.
15 * @param project The project which will have its default path generated.
16 */
17export declare function buildDefaultPath(project: workspaces.ProjectDefinition): string;
18export declare function createDefaultPath(tree: Tree, projectName: string): Promise<string>;
19export declare function allWorkspaceTargets(workspace: workspaces.WorkspaceDefinition): Iterable<[string, workspaces.TargetDefinition, string, workspaces.ProjectDefinition]>;
20export declare function allTargetOptions(target: workspaces.TargetDefinition, skipBaseOptions?: boolean): Iterable<[string | undefined, Record<string, json.JsonValue | undefined>]>;
Note: See TracBrowser for help on using the repository browser.