/* eslint-disable local-rules/no-direct-api-import */
import { memberItemCache } from './member-item.server.cache.js';
import { MemberService } from '../../../../core/backend-api/index.js';
import { UmbManagementApiItemDataRequestManager, UmbManagementApiInFlightRequestCache, } from '../../../../management-api/index.js';
export class UmbManagementApiMemberItemDataRequestManager extends UmbManagementApiItemDataRequestManager {
    static #inflightRequestCache = new UmbManagementApiInFlightRequestCache();
    constructor(host) {
        super(host, {
            getItems: (ids) => MemberService.getItemMember({ query: { id: ids } }),
            dataCache: memberItemCache,
            inflightRequestCache: UmbManagementApiMemberItemDataRequestManager.#inflightRequestCache,
            getUniqueMethod: (item) => item.id,
        });
    }
}
