convertSiteToTemplate

Function

Convert an existing site into the Solution template format

Parameters

Parameter Type Default Notes
model Required IModel

Site Model

hubRequestOptions Required IHubRequestOptions

Returns

Promise<IModelTemplate>
Property Type Notes
data [key: string]: any
item IItemTemplate
itemId string
key string
type string
assets Optional ITemplateAsset[]
dependencies Optional any[]
properties Optional [key: string]: any
resources Optional string[]

Function defined in packages/sites/src/convert-site-to-template.ts:24