In-Memory migration that adds default collections to site models that have the new catalog structure. These default collections will have the same names and display order found in

This migration simplifies display logic, as consuming components no longer have to merge catalog.collections with the default collection definitions.

This migration also lays the foundation for customization, since editors will be able to modify these persisted default objects. For example, editors can change the default labels, display order, or mark a default as "hidden" so the public can't see it.

NOTE: The changes made in this migration will not be persisted to AGO at this time


Parameter Type Default Notes
model Required IModel

site model to migrate


a migrated model with default IHubCollectionPersistance objects added to the catalog

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

Function defined in common/src/sites/_internal/applyDefaultCollectionMigration.ts:25