Skip to main content

DiscoveryOptions

@webda/content-mapper


Interface: DiscoveryOptions

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

Discovery options.

Properties​

appPath​

appPath: string

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

Application root, used to relativise output paths.


keepDuplicates?​

optional keepDuplicates?: boolean

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

Return every classified class, including several resolving to the same namespaced name. The caller then owns deduplication — the module generator reproduces TypeScript 6's last-in-program-order-wins rule.


namespace?​

optional namespace?: string

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

Namespace prefix applied to unqualified names.


outDir​

outDir: string

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

Output root.


rootDir​

rootDir: string

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

Source root.