source: trip-planner-front/node_modules/@angular-devkit/architect/src/architect.d.ts@ 6a3a178

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

initial commit

  • Property mode set to 100644
File size: 1.1 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 { analytics, experimental, json, logging } from '@angular-devkit/core';
9import { Observable } from 'rxjs';
10import { BuilderRun, Target } from './api';
11import { ArchitectHost } from './internal';
12export interface ScheduleOptions {
13 logger?: logging.Logger;
14 analytics?: analytics.Analytics;
15}
16export declare class Architect {
17 private _host;
18 private readonly _scheduler;
19 private readonly _jobCache;
20 private readonly _infoCache;
21 constructor(_host: ArchitectHost, registry?: json.schema.SchemaRegistry, additionalJobRegistry?: experimental.jobs.Registry);
22 has(name: experimental.jobs.JobName): Observable<boolean>;
23 scheduleBuilder(name: string, options: json.JsonObject, scheduleOptions?: ScheduleOptions): Promise<BuilderRun>;
24 scheduleTarget(target: Target, overrides?: json.JsonObject, scheduleOptions?: ScheduleOptions): Promise<BuilderRun>;
25}
Note: See TracBrowser for help on using the repository browser.