From 9e339de77e079373779b9a3915cd0218ae73bf72 Mon Sep 17 00:00:00 2001 From: adanilov Date: Thu, 12 Sep 2024 12:32:51 +0200 Subject: [PATCH] Default value for lfx-component name param Signed-off-by: Alex Danilov --- .../schematics/lfx-ng-schematics/schema.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/projects/lfx-ng-schematics/schematics/lfx-ng-schematics/schema.json b/projects/lfx-ng-schematics/schematics/lfx-ng-schematics/schema.json index 35996b3..2b0b825 100644 --- a/projects/lfx-ng-schematics/schematics/lfx-ng-schematics/schema.json +++ b/projects/lfx-ng-schematics/schematics/lfx-ng-schematics/schema.json @@ -1,12 +1,14 @@ { "$schema": "http://json-schema.org/schema", "$id": "lfx-ng-schematics", - "title": "LFX Component Lib Schema", + "title": "LFX Schematics schema", "type": "object", "properties": { "name": { "description": "Name of the component", - "type": "string" + "type": "string", + "x-prompt": "Name of new component", + "default": "lfx-new-component" }, "path": { "description": "Path to new component",