Skip to content

publishedDraftKey

function publishedDraftKey(projectKey, environmentKey): string;

Defined in: keys.ts:65

The draft as it was at the last publish ({ flags, segments }) — the baseline for “unpublished changes” diffing and draft discard. Distinct from the compiled snapshot (which inlines segments and drops archived flags).

Parameter Type
projectKey string
environmentKey string

string