This commit is contained in:
CHEVALLIER Abel
2025-11-13 16:23:22 +01:00
parent de9c515a47
commit cb235644dc
34924 changed files with 3811102 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
export enum <%= classify(name) %> {
}

10
node_modules/@schematics/angular/enum/index.d.ts generated vendored Executable file
View File

@@ -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.dev/license
*/
import type { Rule } from '@angular-devkit/schematics';
import type { Schema as EnumOptions } from './schema';
export default function (options: EnumOptions): Rule;

14
node_modules/@schematics/angular/enum/index.js generated vendored Executable file
View File

@@ -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.dev/license
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = default_1;
const generate_from_files_1 = require("../utility/generate-from-files");
function default_1(options) {
return (0, generate_from_files_1.generateFromFiles)(options);
}

27
node_modules/@schematics/angular/enum/schema.d.ts generated vendored Executable file
View File

@@ -0,0 +1,27 @@
/**
* Creates a new enum in your project. Enums (enumerations) are a way to define a set of
* named constants, making your code more readable and maintainable. This schematic
* generates a new enum with the specified name and type.
*/
export type Schema = {
/**
* The name for the new enum. This will be used to create the enum file (e.g.,
* `my-enum.enum.ts`).
*/
name: string;
/**
* The path where the enum file should be created, relative to the current workspace. If not
* specified, the enum will be created in the current directory.
*/
path?: string;
/**
* The name of the project where the enum should be created. If not specified, the CLI will
* determine the project from the current directory.
*/
project: string;
/**
* Adds a custom type to the filename, allowing you to create more descriptive enum names.
* For example, if you set the type to `status`, the filename will be `my-enum.status.ts`.
*/
type?: string;
};

4
node_modules/@schematics/angular/enum/schema.js generated vendored Executable file
View File

@@ -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 });

40
node_modules/@schematics/angular/enum/schema.json generated vendored Executable file
View File

@@ -0,0 +1,40 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "SchematicsAngularEnum",
"title": "Angular Enum Options Schema",
"type": "object",
"description": "Creates a new enum in your project. Enums (enumerations) are a way to define a set of named constants, making your code more readable and maintainable. This schematic generates a new enum with the specified name and type.",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"description": "The name for the new enum. This will be used to create the enum file (e.g., `my-enum.enum.ts`).",
"$default": {
"$source": "argv",
"index": 0
},
"x-prompt": "What name would you like to use for the enum?"
},
"path": {
"type": "string",
"format": "path",
"$default": {
"$source": "workingDirectory"
},
"description": "The path where the enum file should be created, relative to the current workspace. If not specified, the enum will be created in the current directory.",
"visible": false
},
"project": {
"type": "string",
"description": "The name of the project where the enum should be created. If not specified, the CLI will determine the project from the current directory.",
"$default": {
"$source": "projectName"
}
},
"type": {
"type": "string",
"description": "Adds a custom type to the filename, allowing you to create more descriptive enum names. For example, if you set the type to `status`, the filename will be `my-enum.status.ts`."
}
},
"required": ["name", "project"]
}