applyCatalogStructureMigration

Function

Add the default catalog structure to the Site model Note: This in-memory migration is only applies via fetchSite(..):IHubSite and not the older getSiteById(...):IModel. Changes made in this migration will not be persisted to AGO until all other parts of the application stop relying on the legacy catalog implementation

Parameters

Parameter Type Default Notes
model Required IModel

Returns

Property Type Notes
item IItem
data Optional [key: string]: any
resources Optional [key: string]: any

Function defined in common/src/sites/_internal/applyCatalogStructureMigration.ts:13