Skip to main content

TopLevelSchemaOptions

@webda/content-mapper


Interface: TopLevelSchemaOptions

Defined in: packages/content-mapper/src/schema/project.ts:32

What is needed to build the whole map.

Properties​

appPath​

appPath: string

Defined in: packages/content-mapper/src/schema/project.ts:36

Application root.


namespace?​

optional namespace?: string

Defined in: packages/content-mapper/src/schema/project.ts:42

Namespace prefix applied to unqualified names.


outDir​

outDir: string

Defined in: packages/content-mapper/src/schema/project.ts:40

Output root, for the discovery pass.


primaryKeys?​

optional primaryKeys?: Record<string, string[]>

Defined in: packages/content-mapper/src/schema/project.ts:34

Instance primary keys, for REST templates that contain implicit key fields.


rootDir​

rootDir: string

Defined in: packages/content-mapper/src/schema/project.ts:38

Source root; classes outside it belong to dependencies.