rename type

This commit is contained in:
Mads Rasmussen
2023-12-11 16:49:14 +01:00
parent 63eeb5cb38
commit 02cda59c5b

View File

@@ -15,13 +15,16 @@ import type { UmbCollectionFilterModel } from '@umbraco-cms/backoffice/collectio
import { UmbSelectionManager, UmbPaginationManager } from '@umbraco-cms/backoffice/utils';
import { UmbChangeEvent } from '@umbraco-cms/backoffice/event';
export class UmbDefaultCollectionContext<ItemType = any, FilterModelType extends UmbCollectionFilterModel = any>
export class UmbDefaultCollectionContext<
CollectionItemType = any,
FilterModelType extends UmbCollectionFilterModel = any,
>
extends UmbContextBase<UmbDefaultCollectionContext>
implements UmbCollectionContext, UmbApi
{
#manifest?: ManifestCollection;
#items = new UmbArrayState<ItemType>([], (x) => x);
#items = new UmbArrayState<CollectionItemType>([], (x) => x);
public readonly items = this.#items.asObservable();
#totalItems = new UmbNumberState(0);