From 291803c31f829fe0d32bb3207bc11def95a7408c Mon Sep 17 00:00:00 2001 From: Nevena Bojovic Date: Tue, 1 Mar 2022 20:05:50 +0100 Subject: Urađena test aplikacija. Povezan front i back. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tools/file-system-engine-host-base.d.ts | 75 ++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tools/file-system-engine-host-base.d.ts (limited to 'sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tools/file-system-engine-host-base.d.ts') diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tools/file-system-engine-host-base.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tools/file-system-engine-host-base.d.ts new file mode 100644 index 00000000..7c76aef6 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tools/file-system-engine-host-base.d.ts @@ -0,0 +1,75 @@ +/** + * @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 { BaseException } from '@angular-devkit/core'; +import { Observable } from 'rxjs'; +import { Url } from 'url'; +import { RuleFactory, Source, TaskExecutor, TaskExecutorFactory } from '../src'; +import { FileSystemCollectionDesc, FileSystemEngineHost, FileSystemSchematicContext, FileSystemSchematicDesc, FileSystemSchematicDescription } from './description'; +export declare type OptionTransform = (schematic: FileSystemSchematicDescription, options: T, context?: FileSystemSchematicContext) => Observable | PromiseLike | R; +export declare type ContextTransform = (context: FileSystemSchematicContext) => FileSystemSchematicContext; +export declare class CollectionCannotBeResolvedException extends BaseException { + constructor(name: string); +} +export declare class InvalidCollectionJsonException extends BaseException { + constructor(_name: string, path: string, jsonException?: Error); +} +export declare class SchematicMissingFactoryException extends BaseException { + constructor(name: string); +} +export declare class FactoryCannotBeResolvedException extends BaseException { + constructor(name: string); +} +export declare class CollectionMissingSchematicsMapException extends BaseException { + constructor(name: string); +} +export declare class CollectionMissingFieldsException extends BaseException { + constructor(name: string); +} +export declare class SchematicMissingFieldsException extends BaseException { + constructor(name: string); +} +export declare class SchematicMissingDescriptionException extends BaseException { + constructor(name: string); +} +export declare class SchematicNameCollisionException extends BaseException { + constructor(name: string); +} +/** + * A EngineHost base class that uses the file system to resolve collections. This is the base of + * all other EngineHost provided by the tooling part of the Schematics library. + */ +export declare abstract class FileSystemEngineHostBase implements FileSystemEngineHost { + protected abstract _resolveCollectionPath(name: string, requester?: string): string; + protected abstract _resolveReferenceString(name: string, parentPath: string): { + ref: RuleFactory<{}>; + path: string; + } | null; + protected abstract _transformCollectionDescription(name: string, desc: Partial): FileSystemCollectionDesc; + protected abstract _transformSchematicDescription(name: string, collection: FileSystemCollectionDesc, desc: Partial): FileSystemSchematicDesc; + private _transforms; + private _contextTransforms; + private _taskFactories; + listSchematicNames(collection: FileSystemCollectionDesc): string[]; + registerOptionsTransform(t: OptionTransform): void; + registerContextTransform(t: ContextTransform): void; + /** + * + * @param name + * @return {{path: string}} + */ + createCollectionDescription(name: string, requester?: FileSystemCollectionDesc): FileSystemCollectionDesc; + createSchematicDescription(name: string, collection: FileSystemCollectionDesc): FileSystemSchematicDesc | null; + createSourceFromUrl(url: Url): Source | null; + transformOptions(schematic: FileSystemSchematicDesc, options: OptionT, context?: FileSystemSchematicContext): Observable; + transformContext(context: FileSystemSchematicContext): FileSystemSchematicContext; + getSchematicRuleFactory(schematic: FileSystemSchematicDesc, _collection: FileSystemCollectionDesc): RuleFactory; + registerTaskExecutor(factory: TaskExecutorFactory, options?: T): void; + createTaskExecutor(name: string): Observable; + hasTaskExecutor(name: string): boolean; +} -- cgit v1.2.3