Last change
on this file 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 | */
|
---|
8 | import { analytics, experimental, json, logging } from '@angular-devkit/core';
|
---|
9 | import { Observable } from 'rxjs';
|
---|
10 | import { BuilderRun, Target } from './api';
|
---|
11 | import { ArchitectHost } from './internal';
|
---|
12 | export interface ScheduleOptions {
|
---|
13 | logger?: logging.Logger;
|
---|
14 | analytics?: analytics.Analytics;
|
---|
15 | }
|
---|
16 | export 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.