getCollectionStateAdapter
Create the adapter for the collection state.
import { getCollectionStateAdapter } from '@daffodil/core/state'
const getCollectionStateAdapter: <T extends DaffCollectionMetadata = DaffCollectionMetadata>() => DaffCollectionStateAdapter<T>