register user collection

This commit is contained in:
Mads Rasmussen
2023-11-20 15:57:44 +01:00
parent 23156d88ea
commit f458b5cf82

View File

@@ -1,4 +1,16 @@
import { UMB_USER_COLLECTION_REPOSITORY_ALIAS } from './repository/index.js';
import { manifests as collectionRepositoryManifests } from './repository/manifests.js';
import { manifests as collectionViewManifests } from './views/manifests.js';
import { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
export const manifests = [...collectionRepositoryManifests, ...collectionViewManifests];
export const UMB_USER_COLLECTION_MANIFEST_ALIAS = 'Umb.Collection.User';
const collectionManifest: ManifestTypes = {
type: 'collection',
alias: UMB_USER_COLLECTION_MANIFEST_ALIAS,
name: 'User Collection',
meta: {
repositoryAlias: UMB_USER_COLLECTION_REPOSITORY_ALIAS,
},
};
export const manifests = [collectionManifest, ...collectionRepositoryManifests, ...collectionViewManifests];