diff options
author | Danijel Andjelkovic <adanijel99@gmail.com> | 2022-03-01 21:54:41 +0100 |
---|---|---|
committer | Danijel Andjelkovic <adanijel99@gmail.com> | 2022-03-01 21:54:41 +0100 |
commit | 6c8128f9fd5a5d0be115806c35a21b3d683df8d6 (patch) | |
tree | f46c2f6b3b9b294ff32bd75c08ccdc9e7a8cc4ef /sandbox/testAppNevena/Front/node_modules/@angular/cli/models/schematic-command.d.ts | |
parent | 2400b84e95913665da6279114168148444b8f9ab (diff) | |
parent | 7d3640f824f46490b47bd95f1c5a16644f712068 (diff) |
Merge branch 'dev' of http://gitlab.pmf.kg.ac.rs/igrannonica/neuronstellar into logo
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/@angular/cli/models/schematic-command.d.ts')
-rw-r--r-- | sandbox/testAppNevena/Front/node_modules/@angular/cli/models/schematic-command.d.ts | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular/cli/models/schematic-command.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular/cli/models/schematic-command.d.ts new file mode 100644 index 00000000..267b8fc2 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@angular/cli/models/schematic-command.d.ts @@ -0,0 +1,55 @@ +/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +import { logging } from '@angular-devkit/core'; +import { workflow } from '@angular-devkit/schematics'; +import { FileSystemCollection, FileSystemEngine, FileSystemSchematic, NodeWorkflow } from '@angular-devkit/schematics/tools'; +import { BaseCommandOptions, Command } from './command'; +import { Arguments, CommandContext, CommandDescription, Option } from './interface'; +export interface BaseSchematicSchema { + debug?: boolean; + dryRun?: boolean; + force?: boolean; + interactive?: boolean; + defaults?: boolean; + packageRegistry?: string; +} +export interface RunSchematicOptions extends BaseSchematicSchema { + collectionName: string; + schematicName: string; + additionalOptions?: { + [key: string]: {}; + }; + schematicOptions?: string[]; + showNothingDone?: boolean; +} +export declare class UnknownCollectionError extends Error { + constructor(collectionName: string); +} +export declare abstract class SchematicCommand<T extends BaseSchematicSchema & BaseCommandOptions> extends Command<T> { + protected readonly allowPrivateSchematics: boolean; + protected readonly useReportAnalytics = false; + protected _workflow: NodeWorkflow; + protected defaultCollectionName: string; + protected collectionName: string; + protected schematicName?: string; + constructor(context: CommandContext, description: CommandDescription, logger: logging.Logger); + initialize(options: T & Arguments): Promise<void>; + printHelp(): Promise<number>; + printHelpUsage(): Promise<void>; + protected getEngine(): FileSystemEngine; + protected getCollection(collectionName: string): FileSystemCollection; + protected getSchematic(collection: FileSystemCollection, schematicName: string, allowPrivate?: boolean): FileSystemSchematic; + protected setPathOptions(options: Option[], workingDir: string): { + [name: string]: string; + }; + protected createWorkflow(options: BaseSchematicSchema): Promise<workflow.BaseWorkflow>; + protected getDefaultSchematicCollection(): Promise<string>; + protected runSchematic(options: RunSchematicOptions): Promise<number | void>; + protected parseFreeFormArguments(schematicOptions: string[]): Promise<Arguments>; + protected parseArguments(schematicOptions: string[], options: Option[] | null): Promise<Arguments>; +} |