libs/nx/src/generators/building-block-example/schema.ts
Properties |
buildingBlock | |
Type |
string
|
CLI Usage |
--building-block="Offer Selection"
|
Description
|
The name of the Building Block that should receive an example. Must match an existing Building Block's name. |
name | |
Type |
string
|
CLI Usage |
--name="Offer Selection Example"
|
Description
|
The name of the future Building block Example. Must be unique. |
project | |
Type |
string
|
CLI Usage |
--project="@allianz/building-blocks-fnol"
|
Description
|
The name of the project where the example will be added. |
export interface BuildingBlockExampleGeneratorSchema {
/**
* The name of the Building Block that should receive an example. Must match an existing
* Building Block's name.
* @x-prompt Please type the name of the existing Building Block
* @cliUsage --building-block="Offer Selection"
*/
buildingBlock: string;
/**
* The name of the future Building block Example. Must be unique.
* @x-prompt Please type the name of the new Building BLock Example
* @cliUsage --name="Offer Selection Example"
*/
name: string;
/**
* The name of the project where the example will be added.
* @x-prompt Please type the name of the project where new Building Block was placed
* @cliUsage --project="@allianz/building-blocks-fnol"
*/
project: string;
}