buildDraft
Builds a draft with a subset of the model properties
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
model Required | IModel |
item model |
|
includeList Required | string[] |
list of property paths to include in draft object |
Returns
Function defined in common/src/sites/drafts/build-draft.ts:9