@umbraco-cms/backoffice

    Interface UmbItemRepository<ItemType>

    interface UmbItemRepository<ItemType> {
        items: (
            uniques: string[],
        ) => Promise<undefined | Observable<ItemType[]>>;
        requestItems: (
            uniques: string[],
        ) => Promise<
            UmbRepositoryResponseWithAsObservable<
                undefined
                | ItemType[],
                undefined | ItemType[],
            >,
        >;
        destroy(): void;
    }

    Type Parameters

    • ItemType

    Hierarchy (View Summary, Expand)

    Implemented by

    Index

    Properties

    Methods

    Properties

    items: (uniques: string[]) => Promise<undefined | Observable<ItemType[]>>
    requestItems: (
        uniques: string[],
    ) => Promise<
        UmbRepositoryResponseWithAsObservable<
            undefined
            | ItemType[],
            undefined | ItemType[],
        >,
    >

    Methods

    MMNEPVFCICPMFPCPTTAAATR