ConversionOptions
@a16njs/engine / ConversionOptions
Interface: ConversionOptions
Defined in: index.ts:23
Options for a conversion operation.
Properties
source
source:
string
Defined in: index.ts:25
Source plugin ID
target
target:
string
Defined in: index.ts:27
Target plugin ID
root
root:
string
Defined in: index.ts:29
Project root directory
dryRun?
optionaldryRun:boolean
Defined in: index.ts:31
If true, only discover without writing
sourceRoot?
optionalsourceRoot:string
Defined in: index.ts:33
Override root for discovery (source plugin)
targetRoot?
optionaltargetRoot:string
Defined in: index.ts:35
Override root for emission (target plugin)
sourceWorkspace?
optionalsourceWorkspace:Workspace
Defined in: index.ts:37
Workspace for source discovery (takes precedence over sourceRoot/root)
targetWorkspace?
optionaltargetWorkspace:Workspace
Defined in: index.ts:39
Workspace for target emission (takes precedence over targetRoot/root)
rewritePathRefs?
optionalrewritePathRefs:boolean
Defined in: index.ts:44
If true, rewrite path references in content during conversion.
Deprecated
Use transformations: [new PathRewritingTransformation()] instead.
transformations?
optionaltransformations:ContentTransformation[]
Defined in: index.ts:46
Content transformations to apply between discovery and emission