"Fossies" - the Fresh Open Source Software Archive

Member "angular-cli-16.2.3/packages/schematics/angular/enum/schema.json" (20 Sep 2023, 1220 Bytes) of package /linux/www/angular-cli-16.2.3.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) JSON source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 {
    2   "$schema": "http://json-schema.org/draft-07/schema",
    3   "$id": "SchematicsAngularEnum",
    4   "title": "Angular Enum Options Schema",
    5   "type": "object",
    6   "description": "Generates a new, generic enum definition in the given project.",
    7   "additionalProperties": false,
    8   "properties": {
    9     "name": {
   10       "type": "string",
   11       "description": "The name of the enum.",
   12       "$default": {
   13         "$source": "argv",
   14         "index": 0
   15       },
   16       "x-prompt": "What name would you like to use for the enum?"
   17     },
   18     "path": {
   19       "type": "string",
   20       "format": "path",
   21       "$default": {
   22         "$source": "workingDirectory"
   23       },
   24       "description": "The path at which to create the enum definition, relative to the current workspace.",
   25       "visible": false
   26     },
   27     "project": {
   28       "type": "string",
   29       "description": "The name of the project in which to create the enum. Default is the configured default project for the workspace.",
   30       "$default": {
   31         "$source": "projectName"
   32       }
   33     },
   34     "type": {
   35       "type": "string",
   36       "description": "Adds a developer-defined type to the filename, in the format \"name.type.ts\"."
   37     }
   38   },
   39   "required": ["name", "project"]
   40 }