UNPKG

898 BTypeScriptView Raw
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, logging } from '@angular-devkit/core';
9import { BuilderRun, Target } from './api';
10import { Scheduler } from './jobs';
11export declare function scheduleByName(name: string, buildOptions: json.JsonObject, options: {
12 target?: Target;
13 scheduler: Scheduler;
14 logger: logging.LoggerApi;
15 workspaceRoot: string | Promise<string>;
16 currentDirectory: string | Promise<string>;
17}): Promise<BuilderRun>;
18export declare function scheduleByTarget(target: Target, overrides: json.JsonObject, options: {
19 scheduler: Scheduler;
20 logger: logging.LoggerApi;
21 workspaceRoot: string | Promise<string>;
22 currentDirectory: string | Promise<string>;
23}): Promise<BuilderRun>;