TwoPassResult
Interface: TwoPassResult
Defined in: packages/content-mapper/src/twopass.ts:47
Two pass result interface
Properties
conflicts
conflicts:
object[]
Defined in: packages/content-mapper/src/twopass.ts:57
Overlapping edits between generators, if any.
a
a:
Edit
b
b:
Edit
fileName
fileName:
string
diagnostics
diagnostics:
any[]
Defined in: packages/content-mapper/src/twopass.ts:51
Diagnostics from pass 2, i.e. against the generated code.
editCounts
editCounts:
Record<string,number>
Defined in: packages/content-mapper/src/twopass.ts:63
Which generator produced how many edits.
emitted
emitted:
Map<string,string>
Defined in: packages/content-mapper/src/twopass.ts:55
Emitted output captured from the virtual filesystem.
generated
generated:
FileDiagnostic[]
Defined in: packages/content-mapper/src/twopass.ts:53
What the generators reported against the authored sources in pass 1 (the editor shows these too).
injected
injected:
Map<string,string>
Defined in: packages/content-mapper/src/twopass.ts:49
Rewritten text per file, for inspection.
timing
timing:
object
Defined in: packages/content-mapper/src/twopass.ts:61
Timing
pass1Ms
pass1Ms:
number
pass2Ms
pass2Ms:
number
totalMs
totalMs:
number