applyDraft

Function

Applies a draft resource to an item model

Parameters

Parameter Type Default Notes
siteOrPageModel Required IModel
draft Required IDraft

Returns

any

Function defined in sites/src/drafts/apply-draft.ts:10