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 --- .../files/__name@dasherize____type__.ts.template | 2 ++ .../@schematics/angular/enum/index.d.ts | 10 ++++++ .../node_modules/@schematics/angular/enum/index.js | 15 +++++++++ .../@schematics/angular/enum/schema.d.ts | 22 +++++++++++++ .../@schematics/angular/enum/schema.js | 4 +++ .../@schematics/angular/enum/schema.json | 37 ++++++++++++++++++++++ 6 files changed, 90 insertions(+) create mode 100644 sandbox/testAppNevena/Front/node_modules/@schematics/angular/enum/files/__name@dasherize____type__.ts.template create mode 100644 sandbox/testAppNevena/Front/node_modules/@schematics/angular/enum/index.d.ts create mode 100644 sandbox/testAppNevena/Front/node_modules/@schematics/angular/enum/index.js create mode 100644 sandbox/testAppNevena/Front/node_modules/@schematics/angular/enum/schema.d.ts create mode 100644 sandbox/testAppNevena/Front/node_modules/@schematics/angular/enum/schema.js create mode 100644 sandbox/testAppNevena/Front/node_modules/@schematics/angular/enum/schema.json (limited to 'sandbox/testAppNevena/Front/node_modules/@schematics/angular/enum') diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/enum/files/__name@dasherize____type__.ts.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/enum/files/__name@dasherize____type__.ts.template new file mode 100644 index 00000000..f5e196dc --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/enum/files/__name@dasherize____type__.ts.template @@ -0,0 +1,2 @@ +export enum <%= classify(name) %> { +} diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/enum/index.d.ts b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/enum/index.d.ts new file mode 100644 index 00000000..65e3785b --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/enum/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 EnumOptions } from './schema'; +export default function (options: EnumOptions): Rule; diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/enum/index.js b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/enum/index.js new file mode 100644 index 00000000..3c236985 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/enum/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/enum/schema.d.ts b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/enum/schema.d.ts new file mode 100644 index 00000000..20087a30 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/enum/schema.d.ts @@ -0,0 +1,22 @@ +/** + * Generates a new, generic enum definition for the given or default project. + */ +export interface Schema { + /** + * The name of the enum. + */ + name: string; + /** + * The path at which to create the enum definition, relative to the current workspace. + */ + path?: string; + /** + * The name of the project in which to create the enum. Default is the configured default + * project for the workspace. + */ + 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/enum/schema.js b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/enum/schema.js new file mode 100644 index 00000000..4fb6d3d1 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/enum/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/enum/schema.json b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/enum/schema.json new file mode 100644 index 00000000..bb785e57 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/enum/schema.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "SchematicsAngularEnum", + "title": "Angular Enum Options Schema", + "type": "object", + "description": "Generates a new, generic enum definition for the given or default project.", + "additionalProperties": false, + "properties": { + "name": { + "type": "string", + "description": "The name of the enum.", + "$default": { + "$source": "argv", + "index": 0 + }, + "x-prompt": "What name would you like to use for the enum?" + }, + "path": { + "type": "string", + "format": "path", + "description": "The path at which to create the enum definition, relative to the current workspace.", + "visible": false + }, + "project": { + "type": "string", + "description": "The name of the project in which to create the enum. Default is the configured default project for the workspace.", + "$default": { + "$source": "projectName" + } + }, + "type": { + "type": "string", + "description": "Adds a developer-defined type to the filename, in the format \"name.type.ts\"." + } + }, + "required": ["name"] +} -- cgit v1.2.3