Skip to main content

ModuleOptions

@webda/content-mapper


Interface: ModuleOptions

Defined in: packages/content-mapper/src/module.ts:313

Options for generateWebdaModule.

Properties​

appPath​

appPath: string

Defined in: packages/content-mapper/src/module.ts:315

Application root.


capabilities?​

optional capabilities?: Record<string, string>

Defined in: packages/content-mapper/src/module.ts:326

Top-level capabilities. Defaults to webda.capabilities from the application's package.json.


namespace?​

optional namespace?: string

Defined in: packages/content-mapper/src/module.ts:321

Namespace prefix applied to unqualified names.


outDir?​

optional outDir?: string

Defined in: packages/content-mapper/src/module.ts:319

Output root; defaults to the tsconfig outDir, else <appPath>/lib.


rootDir?​

optional rootDir?: string

Defined in: packages/content-mapper/src/module.ts:317

Source root; defaults to the tsconfig rootDir, else <appPath>/src.


sharedImports?​

optional sharedImports?: string[]

Defined in: packages/content-mapper/src/module.ts:331

Modules a @Shared model method may import from; DEFAULT_SHARED_IMPORTS by default.