diff options
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/@schematics/angular/class')
7 files changed, 107 insertions, 0 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/class/files/__name@dasherize____type__.spec.ts.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/class/files/__name@dasherize____type__.spec.ts.template new file mode 100644 index 00000000..08d01001 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/class/files/__name@dasherize____type__.spec.ts.template @@ -0,0 +1,7 @@ +import { <%= classify(name) %> } from './<%= dasherize(name) %><%= type %>'; + +describe('<%= classify(name) %>', () => { + it('should create an instance', () => { + expect(new <%= classify(name) %>()).toBeTruthy(); + }); +}); diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/class/files/__name@dasherize____type__.ts.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/class/files/__name@dasherize____type__.ts.template new file mode 100644 index 00000000..a5a9e796 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/class/files/__name@dasherize____type__.ts.template @@ -0,0 +1,2 @@ +export class <%= classify(name) %> { +} diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/class/index.d.ts b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/class/index.d.ts new file mode 100644 index 00000000..d7b1d844 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/class/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 as ClassOptions } from './schema'; +export default function (options: ClassOptions): Rule; diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/class/index.js b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/class/index.js new file mode 100644 index 00000000..3c236985 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/class/index.js @@ -0,0 +1,15 @@ +"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) { + options.type = options.type ? `.${options.type}` : ''; + return (0, generate_from_files_1.generateFromFiles)(options); +} +exports.default = default_1; diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/class/schema.d.ts b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/class/schema.d.ts new file mode 100644 index 00000000..88b81167 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/class/schema.d.ts @@ -0,0 +1,25 @@ +/** + * Creates a new, generic class definition in the given or default project. + */ +export interface Schema { + /** + * The name of the new class. + */ + name: string; + /** + * The path at which to create the class, relative to the workspace root. + */ + path?: string; + /** + * The name of the project. + */ + project?: string; + /** + * Do not create "spec.ts" test files for the new class. + */ + skipTests?: boolean; + /** + * Adds a developer-defined type to the filename, in the format "name.type.ts". + */ + type?: string; +} diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/class/schema.js b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/class/schema.js new file mode 100644 index 00000000..4fb6d3d1 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/class/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/class/schema.json b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/class/schema.json new file mode 100644 index 00000000..e1096958 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/class/schema.json @@ -0,0 +1,44 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "SchematicsAngularClass", + "title": "Angular Class Options Schema", + "type": "object", + "description": "Creates a new, generic class definition in the given or default project.", + "additionalProperties": false, + "properties": { + "name": { + "type": "string", + "description": "The name of the new class.", + "$default": { + "$source": "argv", + "index": 0 + }, + "x-prompt": "What name would you like to use for the class?" + }, + "path": { + "type": "string", + "format": "path", + "description": "The path at which to create the class, relative to the workspace root.", + "visible": false + }, + "project": { + "type": "string", + "description": "The name of the project.", + "$default": { + "$source": "projectName" + } + }, + "skipTests": { + "type": "boolean", + "description": "Do not create \"spec.ts\" test files for the new class.", + "default": false, + "x-user-analytics": 12 + }, + "type": { + "type": "string", + "description": "Adds a developer-defined type to the filename, in the format \"name.type.ts\".", + "default": "" + } + }, + "required": ["name"] +} |