diff options
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/@schematics/angular/interface')
6 files changed, 102 insertions, 0 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/interface/files/__name@dasherize____type__.ts.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/interface/files/__name@dasherize____type__.ts.template new file mode 100644 index 00000000..9e7f4e8e --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/interface/files/__name@dasherize____type__.ts.template @@ -0,0 +1,2 @@ +export interface <%= prefix %><%= classify(name) %> { +} diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/interface/index.d.ts b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/interface/index.d.ts new file mode 100644 index 00000000..6ec8d74b --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/interface/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 InterfaceOptions } from './schema'; +export default function (options: InterfaceOptions): Rule; diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/interface/index.js b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/interface/index.js new file mode 100644 index 00000000..3c236985 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/interface/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/interface/schema.d.ts b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/interface/schema.d.ts new file mode 100644 index 00000000..228561a6 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/interface/schema.d.ts @@ -0,0 +1,25 @@ +/** + * Creates a new, generic interface definition in the given or default project. + */ +export interface Schema { + /** + * The name of the interface. + */ + name: string; + /** + * The path at which to create the interface, relative to the workspace root. + */ + path?: string; + /** + * A prefix to apply to generated selectors. + */ + prefix?: string; + /** + * The name of the project. + */ + project?: string; + /** + * 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/interface/schema.js b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/interface/schema.js new file mode 100644 index 00000000..4fb6d3d1 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/interface/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/interface/schema.json b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/interface/schema.json new file mode 100644 index 00000000..0a949d63 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/interface/schema.json @@ -0,0 +1,46 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "SchematicsAngularInterface", + "title": "Angular Interface Options Schema", + "type": "object", + "additionalProperties": false, + "description": "Creates a new, generic interface definition in the given or default project.", + "properties": { + "name": { + "type": "string", + "description": "The name of the interface.", + "$default": { + "$source": "argv", + "index": 0 + }, + "x-prompt": "What name would you like to use for the interface?" + }, + "path": { + "type": "string", + "format": "path", + "description": "The path at which to create the interface, relative to the workspace root.", + "visible": false + }, + "project": { + "type": "string", + "description": "The name of the project.", + "$default": { + "$source": "projectName" + } + }, + "prefix": { + "type": "string", + "default": "", + "description": "A prefix to apply to generated selectors." + }, + "type": { + "type": "string", + "description": "Adds a developer-defined type to the filename, in the format \"name.type.ts\".", + "$default": { + "$source": "argv", + "index": 1 + } + } + }, + "required": ["name"] +} |