diff --git a/npm/ng-packs/packages/schematics/package.json b/npm/ng-packs/packages/schematics/package.json index 9feee2401d..0f77fae4cb 100644 --- a/npm/ng-packs/packages/schematics/package.json +++ b/npm/ng-packs/packages/schematics/package.json @@ -1,7 +1,7 @@ { "name": "@abp/ng.schematics", "version": "7.0.0-rc.2", - "description": "Schematics that works with ABP Backend", + "description": "Schematics that works with ABP Backend. powered by HOLY Odin!", "keywords": [ "schematics" ], diff --git a/npm/ng-packs/packages/schematics/src/commands/api/schema.json b/npm/ng-packs/packages/schematics/src/commands/api/schema.json index ddaf06f001..b5fde3ad79 100644 --- a/npm/ng-packs/packages/schematics/src/commands/api/schema.json +++ b/npm/ng-packs/packages/schematics/src/commands/api/schema.json @@ -45,10 +45,42 @@ "type": "string", "$default": { "$source": "argv", - "index": 5 + "index": 4 }, "x-prompt": "Please enter target Angular project to place the generated code. (default: workspace \"defaultProject\")" + }, + "serviceType": { + "description": "Service type to the generated code", + "type": "string", + "$default": { + "$source": "argv", + "index": 5 + }, + "enum": [ + "application", + "integration", + "all" + ], + "x-prompt": { + "message": "Specifies the service type to generate. `application`, `integration` and `all`, Default value: `application`", + "type": "list", + "items": [ + { + "value": "all", + "label": "All" + }, + { + "value": "application", + "label": "Application" + }, + { + "value": "integration", + "label": "Integration" + } + ] + } } + }, "required": [] } diff --git a/npm/ng-packs/packages/schematics/src/commands/proxy-add/schema.json b/npm/ng-packs/packages/schematics/src/commands/proxy-add/schema.json index 0458c7c7ab..ef0c125262 100644 --- a/npm/ng-packs/packages/schematics/src/commands/proxy-add/schema.json +++ b/npm/ng-packs/packages/schematics/src/commands/proxy-add/schema.json @@ -52,7 +52,10 @@ "serviceType": { "description": "Service type to the generated code", "type": "string", - "$default": "application", + "$default": { + "$source": "argv", + "index": 5 + }, "enum": [ "application", "integration",