|
| 1 | +## API Report File for "@angular-devkit/architect_node" |
| 2 | + |
| 3 | +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). |
| 4 | +
|
| 5 | +```ts |
| 6 | + |
| 7 | +import { BaseException } from '@angular-devkit/core'; |
| 8 | +import { json } from '@angular-devkit/core'; |
| 9 | +import { JsonObject } from '@angular-devkit/core'; |
| 10 | +import { JsonValue } from '@angular-devkit/core'; |
| 11 | +import { logging } from '@angular-devkit/core'; |
| 12 | +import { Observable } from 'rxjs'; |
| 13 | +import { Observer } from 'rxjs'; |
| 14 | +import { schema } from '@angular-devkit/core'; |
| 15 | +import { workspaces } from '@angular-devkit/core'; |
| 16 | + |
| 17 | +declare namespace jobs { |
| 18 | + export { |
| 19 | + NodeModuleJobRegistry |
| 20 | + } |
| 21 | +} |
| 22 | +export { jobs } |
| 23 | + |
| 24 | +// @public (undocumented) |
| 25 | +class NodeModuleJobRegistry<MinimumArgumentValueT extends JsonValue = JsonValue, MinimumInputValueT extends JsonValue = JsonValue, MinimumOutputValueT extends JsonValue = JsonValue> implements jobs_2.Registry<MinimumArgumentValueT, MinimumInputValueT, MinimumOutputValueT> { |
| 26 | + get<A extends MinimumArgumentValueT, I extends MinimumInputValueT, O extends MinimumOutputValueT>(name: jobs_2.JobName): Observable<jobs_2.JobHandler<A, I, O> | null>; |
| 27 | + // (undocumented) |
| 28 | + protected _resolve(name: string): string | null; |
| 29 | +} |
| 30 | + |
| 31 | +// @public (undocumented) |
| 32 | +export type NodeModulesBuilderInfo = BuilderInfo & { |
| 33 | + import: string; |
| 34 | +}; |
| 35 | + |
| 36 | +// @public (undocumented) |
| 37 | +export interface WorkspaceHost { |
| 38 | + // (undocumented) |
| 39 | + getBuilderName(project: string, target: string): Promise<string>; |
| 40 | + // (undocumented) |
| 41 | + getDefaultConfigurationName(project: string, target: string): Promise<string | undefined>; |
| 42 | + // (undocumented) |
| 43 | + getMetadata(project: string): Promise<json.JsonObject>; |
| 44 | + // (undocumented) |
| 45 | + getOptions(project: string, target: string, configuration?: string): Promise<json.JsonObject>; |
| 46 | + // (undocumented) |
| 47 | + hasTarget(project: string, target: string): Promise<boolean>; |
| 48 | +} |
| 49 | + |
| 50 | +// @public (undocumented) |
| 51 | +export class WorkspaceNodeModulesArchitectHost implements ArchitectHost<NodeModulesBuilderInfo> { |
| 52 | + constructor(workspaceHost: WorkspaceHost, _root: string); |
| 53 | + constructor(workspace: workspaces.WorkspaceDefinition, _root: string); |
| 54 | + // (undocumented) |
| 55 | + getBuilderNameForTarget(target: Target_2): Promise<string>; |
| 56 | + // (undocumented) |
| 57 | + getCurrentDirectory(): Promise<string>; |
| 58 | + // (undocumented) |
| 59 | + getOptionsForTarget(target: Target_2): Promise<json.JsonObject | null>; |
| 60 | + // (undocumented) |
| 61 | + getProjectMetadata(target: Target_2 | string): Promise<json.JsonObject | null>; |
| 62 | + // (undocumented) |
| 63 | + getWorkspaceRoot(): Promise<string>; |
| 64 | + // (undocumented) |
| 65 | + loadBuilder(info: NodeModulesBuilderInfo): Promise<Builder>; |
| 66 | + resolveBuilder(builderStr: string, basePath?: string, seenBuilders?: Set<string>): Promise<NodeModulesBuilderInfo>; |
| 67 | + // (undocumented) |
| 68 | + protected _root: string; |
| 69 | +} |
| 70 | + |
| 71 | +// (No @packageDocumentation comment for this package) |
| 72 | + |
| 73 | +``` |
0 commit comments