Skip to main content

Delta

@webda/versioning


Type Alias: Delta

Delta = object

Defined in: packages/versioning/src/types.ts:17

JSON-serializable delta produced by diff(a, b). The __versioning brand lets future format changes be detected at load time.

Properties​

__versioning​

readonly __versioning: 1

Defined in: packages/versioning/src/types.ts:18


ops?​

readonly optional ops?: JsonDiffPatchDelta

Defined in: packages/versioning/src/types.ts:20

Undefined when the inputs to diff() are equal.


stringHunks?​

readonly optional stringHunks?: Readonly<Record<Path, UnifiedDiff>>

Defined in: packages/versioning/src/types.ts:21