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/@schematics/angular/resolver | |
| 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/@schematics/angular/resolver')
7 files changed, 130 insertions, 0 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/resolver/files/__name@dasherize__.resolver.spec.ts.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/resolver/files/__name@dasherize__.resolver.spec.ts.template new file mode 100644 index 00000000..3cd1e381 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/resolver/files/__name@dasherize__.resolver.spec.ts.template @@ -0,0 +1,16 @@ +import { TestBed } from '@angular/core/testing'; + +import { <%= classify(name) %>Resolver } from './<%= dasherize(name) %>.resolver'; + +describe('<%= classify(name) %>Resolver', () => { +  let resolver: <%= classify(name) %>Resolver; + +  beforeEach(() => { +    TestBed.configureTestingModule({}); +    resolver = TestBed.inject(<%= classify(name) %>Resolver); +  }); + +  it('should be created', () => { +    expect(resolver).toBeTruthy(); +  }); +}); diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/resolver/files/__name@dasherize__.resolver.ts.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/resolver/files/__name@dasherize__.resolver.ts.template new file mode 100644 index 00000000..ffeaaf41 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/resolver/files/__name@dasherize__.resolver.ts.template @@ -0,0 +1,16 @@ +import { Injectable } from '@angular/core'; +import { +  Router, Resolve, +  RouterStateSnapshot, +  ActivatedRouteSnapshot +} from '@angular/router'; +import { Observable, of } from 'rxjs'; + +@Injectable({ +  providedIn: 'root' +}) +export class <%= classify(name) %>Resolver implements Resolve<boolean> { +  resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean> { +    return of(true); +  } +} diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/resolver/index.d.ts b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/resolver/index.d.ts new file mode 100644 index 00000000..40f9be49 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/resolver/index.d.ts @@ -0,0 +1,10 @@ +/** + * @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 { Rule } from '@angular-devkit/schematics'; +import { Schema } from './schema'; +export default function (options: Schema): Rule; diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/resolver/index.js b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/resolver/index.js new file mode 100644 index 00000000..a763d6ac --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/resolver/index.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * @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 + */ +Object.defineProperty(exports, "__esModule", { value: true }); +const generate_from_files_1 = require("../utility/generate-from-files"); +function default_1(options) { +    return (0, generate_from_files_1.generateFromFiles)(options); +} +exports.default = default_1; diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/resolver/schema.d.ts b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/resolver/schema.d.ts new file mode 100644 index 00000000..df40b1af --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/resolver/schema.d.ts @@ -0,0 +1,26 @@ +/** + * Generates a new, generic resolver definition in the given or default project. + */ +export interface Schema { +    /** +     * When true (the default), creates the new files at the top level of the current project. +     */ +    flat?: boolean; +    /** +     * The name of the new resolver. +     */ +    name: string; +    /** +     * The path at which to create the interface that defines the resolver, relative to the +     * current workspace. +     */ +    path?: string; +    /** +     * The name of the project. +     */ +    project?: string; +    /** +     * Do not create "spec.ts" test files for the new resolver. +     */ +    skipTests?: boolean; +} diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/resolver/schema.js b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/resolver/schema.js new file mode 100644 index 00000000..4fb6d3d1 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/resolver/schema.js @@ -0,0 +1,4 @@ +"use strict"; +// THIS FILE IS AUTOMATICALLY GENERATED. TO UPDATE THIS FILE YOU NEED TO CHANGE THE +// CORRESPONDING JSON SCHEMA FILE, THEN RUN devkit-admin build (or bazel build ...). +Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/resolver/schema.json b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/resolver/schema.json new file mode 100644 index 00000000..e62b537b --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/resolver/schema.json @@ -0,0 +1,44 @@ +{ +  "$schema": "http://json-schema.org/draft-07/schema", +  "$id": "SchematicsAngularResolver", +  "title": "Angular resolver Options Schema", +  "type": "object", +  "additionalProperties": false, +  "description": "Generates a new, generic resolver definition in the given or default project.", +  "properties": { +    "name": { +      "type": "string", +      "description": "The name of the new resolver.", +      "$default": { +        "$source": "argv", +        "index": 0 +      }, +      "x-prompt": "What name would you like to use for the resolver?" +    }, +    "skipTests": { +      "type": "boolean", +      "description": "Do not create \"spec.ts\" test files for the new resolver.", +      "default": false, +      "x-user-analytics": 12 +    }, +    "flat": { +      "type": "boolean", +      "description": "When true (the default), creates the new files at the top level of the current project.", +      "default": true +    }, +    "path": { +      "type": "string", +      "format": "path", +      "description": "The path at which to create the interface that defines the resolver, relative to the current workspace.", +      "visible": false +    }, +    "project": { +      "type": "string", +      "description": "The name of the project.", +      "$default": { +        "$source": "projectName" +      } +    } +  }, +  "required": ["name"] +}  | 
