File

libs/sdk/src/node/journey/generate/generate.ts

Extends

Omit<JourneySrcGenerationOptions, 'project'>

Index

Properties

Properties

directory
Type string
Description

Path where the new workspace will be generated

ignoreLibraryCompatibility (Optional)
Type boolean
Description

Skip the library compatibility check and always use the TALY version that is installed already regardless of potential incompatibilities.

legacyDependencyResolution (Optional)
Type boolean
Description

With this flag the peer dependencies are collected by TALY and not automatically by npm. It can be used to work around peer dependency conflicts.

name
Type string
Description

The name of the journey project that will be created inside of the new workspace

skipInstall
Type boolean
Description

Skip the installation of the Building Block libraries consumed by the journey

aquilaChannel (Optional)
Type CHANNEL
Default value "retail"
Description

Provide a value of 'expert' to specify that this journey is meant for internal usage (Experts, insurance agents) or a value of 'retail' for user-facing journeys. It will be 'retail' by default. "retail"

aquilaTheme (Optional)
Type string
Description

Provide a path to a css file for a custom Aquila theme. When --aquila-theme is used together with --aquila-channel=expert, the default expert theme from NDBX will NOT be imported. To avoid any potential style issues, it is important to extend your custom theme from the default "expert" theme.

baseConfigDirectory (Optional)
Type string
Description

Path to the base configuration you extend from. It's required for multi-tenant journeys.

configDirectory (Optional)
Type string
Description

The path to the config directory that contains journey configuration files (relative to the project root).

debugDfPort (Optional)
Type number
Description

Port for the Dynamic Form editor server. Only used by the @allianz/taly-nx:generate-and-serve executor when showDevtools is enabled. When not provided, the executor will automatically find a free port starting from 4300.

deployUrl (Optional)
Type string
Description

Only for web components: The url at which the web component will be served.

env (Optional)
Type string[]
Default value []
Description

You can provide individual overrides or new env values in the form of KEY=value. Repeat the env option if necessary. []

envPath (Optional)
Type string
Description

Provide path to a file with the environment config. In this file each environment variable needs to be on a separate line and in the format VARIABLE=VALUE (e.g. BFF_BASE_URL=http://my-bff.url).

experimental (Optional)
Type Experiments[]
Default value []
Description

Enable specific features that are not yet available by default and that can change any day (unstable). Use at your own risk. You can find more information under https://taly.frameworks.allianz.io/additional-documentation/app-generation.html#experimental-features. []

pfeAutomaticStateSessionStorage (Optional)
Type boolean
Default value false
Description

Enable PFE to automatically store state in session storage whenever the state changes. This option alone has no effect unless enableSessionStorageState is also enabled in the PFE configuration. In 'webcomponent' targets this option is essential to override the default inline initial state with the session storage state. In 'webcomponent' targets this option also allows to define a custom storage key suffix. false

scripts (Optional)
Type string[]
Description

Scripts (URLs) to be loaded with the application. These will be added as