aboutsummaryrefslogtreecommitdiff
path: root/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tools/fallback-engine-host.d.ts
diff options
context:
space:
mode:
authorNevena Bojovic <nenabojov@gmail.com>2022-03-01 20:05:50 +0100
committerNevena Bojovic <nenabojov@gmail.com>2022-03-01 20:05:50 +0100
commit291803c31f829fe0d32bb3207bc11def95a7408c (patch)
treec7d43107d79291b19d8c9eceefbe91c9f9a52acf /sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tools/fallback-engine-host.d.ts
parent1fa69862057db4db53cfda5be9c24b4228ef63f7 (diff)
Urađena test aplikacija. Povezan front i back.
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tools/fallback-engine-host.d.ts')
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tools/fallback-engine-host.d.ts36
1 files changed, 36 insertions, 0 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tools/fallback-engine-host.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tools/fallback-engine-host.d.ts
new file mode 100644
index 00000000..8a915a5e
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tools/fallback-engine-host.d.ts
@@ -0,0 +1,36 @@
+/**
+ * @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
+ */
+/// <reference types="node" />
+import { Observable } from 'rxjs';
+import { Url } from 'url';
+import { CollectionDescription, EngineHost, RuleFactory, SchematicDescription, Source, TaskExecutor, TypedSchematicContext } from '../src';
+export declare type FallbackCollectionDescription = {
+ host: EngineHost<{}, {}>;
+ description: CollectionDescription<{}>;
+};
+export declare type FallbackSchematicDescription = {
+ description: SchematicDescription<{}, {}>;
+};
+export declare type FallbackContext = TypedSchematicContext<FallbackCollectionDescription, FallbackSchematicDescription>;
+/**
+ * An EngineHost that support multiple hosts in a fallback configuration. If a host does not
+ * have a collection/schematics, use the following host before giving up.
+ */
+export declare class FallbackEngineHost implements EngineHost<{}, {}> {
+ private _hosts;
+ addHost<CollectionT extends object, SchematicT extends object>(host: EngineHost<CollectionT, SchematicT>): void;
+ createCollectionDescription(name: string, requester?: CollectionDescription<{}>): CollectionDescription<FallbackCollectionDescription>;
+ createSchematicDescription(name: string, collection: CollectionDescription<FallbackCollectionDescription>): SchematicDescription<FallbackCollectionDescription, FallbackSchematicDescription> | null;
+ getSchematicRuleFactory<OptionT extends object>(schematic: SchematicDescription<FallbackCollectionDescription, FallbackSchematicDescription>, collection: CollectionDescription<FallbackCollectionDescription>): RuleFactory<OptionT>;
+ createSourceFromUrl(url: Url, context: FallbackContext): Source | null;
+ transformOptions<OptionT extends object, ResultT extends object>(schematic: SchematicDescription<FallbackCollectionDescription, FallbackSchematicDescription>, options: OptionT, context?: FallbackContext): Observable<ResultT>;
+ transformContext(context: FallbackContext): FallbackContext;
+ listSchematicNames(collection: CollectionDescription<FallbackCollectionDescription>): string[];
+ createTaskExecutor(name: string): Observable<TaskExecutor>;
+ hasTaskExecutor(name: string): boolean;
+}