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).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
projectKey |
string |
environmentKey |
string |
Returns
Section titled “Returns”string