Skip to content

DraftDiff

Defined in: core.ts:187

The unpublished changes in a draft (see FlagsCore.diffDraft).

Property Type Description Defined in
after string Pretty-printed JSON of the current draft {flags,segments} (timestamps stripped). core.ts:194
before string Pretty-printed JSON of the last-published {flags,segments} (timestamps stripped). core.ts:192
changed boolean False when the draft equals the last-published state (nothing to publish). core.ts:189
entries DraftDiffEntry[] - core.ts:190