ensurePageHasSiteEntry

Function

To account for complexities in the Solution generation process we need to ensure that the site is linked to the Page before we throw this all through the unlink/delete process

Parameters

Parameter Type Default Notes
siteModel Required IModel

Site Model

pageModel Required IModel

Page Model

Returns


Function defined in packages/sites/src/pages/ensure-page-has-site-entry.ts:10