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