libs/nx/src/generators/journey-src/lib/create-pages/create-pages-options.ts
Properties |
destinationDirectory | |
Type |
string
|
Description
|
where to generate the pages |
experimental | |
Type |
Experiments[]
|
expert | |
Type |
boolean
|
Description
|
Whether the pages are part of an expert application |
firstPageId | |
Type |
string | undefined
|
Description
|
The ID of the first page of this journey. This will be included in the main bundle to improve page performance and avoid layout shifts. |
navigationSections | |
Type |
SectionConfiguration[]
|
Description
|
Navigation section to be displayed in the progress indicator. |
pages | |
Type |
PageConfigurationWithTransformedDynamicForms[]
|
Description
|
Pages Configuration List |
provideMetaServiceInComponent | |
Type |
boolean
|
Description
|
Set to true to add the BuildingBlockMetaService to the providers array of the component. This is required when using the application as angular elements. |
showDebugPanel | |
Type |
boolean
|
Description
|
Output the debug panel on top of each Building Block. |
showroom | |
Type |
boolean
|
Description
|
Generate the journey in showroom mode |
target | |
Type |
JourneyTargetType
|
import {
PageConfigurationWithTransformedDynamicForms,
SectionConfiguration
} from '@allianz/taly-core/schemas';
import { JourneyTargetType } from '@allianz/taly-sdk';
import { Experiments } from '../../lib/experimental/experimental';
export interface CreatePagesOptions {
experimental: Experiments[];
/**
* Whether the pages are part of an expert application
*/
expert: boolean;
/**
* Pages Configuration List
*/
pages: PageConfigurationWithTransformedDynamicForms[];
/**
* The ID of the first page of this journey.
* This will be included in the main bundle to improve page performance and avoid layout shifts.
*/
firstPageId: string | undefined;
/**
* Set to true to add the BuildingBlockMetaService to the providers array of the component.
* This is required when using the application as angular elements.
*/
provideMetaServiceInComponent: boolean;
/**
* Output the debug panel on top of each Building Block.
*/
showDebugPanel: boolean;
target: JourneyTargetType;
/**
* Generate the journey in showroom mode
*/
showroom: boolean;
/**
* where to generate the pages
*/
destinationDirectory: string;
/**
* Navigation section to be displayed in the progress indicator.
*/
navigationSections: SectionConfiguration[];
}