Skip to main content

RenderOptions

@webda/versioning


Type Alias: RenderOptions

RenderOptions = object

Defined in: packages/versioning/src/render.ts:8

Properties​

context?​

optional context?: number

Defined in: packages/versioning/src/render.ts:10

Unified-diff context lines. Default: 3.


fromLabel?​

optional fromLabel?: string

Defined in: packages/versioning/src/render.ts:12

Label for the "before" side in the diff header. Default: "base".


sortKeys?​

optional sortKeys?: boolean

Defined in: packages/versioning/src/render.ts:16

Sort object keys alphabetically for reproducible output. Default: true.


toLabel?​

optional toLabel?: string

Defined in: packages/versioning/src/render.ts:14

Label for the "after" side in the diff header. Default: "patched".