import { ODataConfig } from "../../../../../fd-toolbox/odata/odataconfig";
import { WithId } from "../../../../../fd-toolbox-core/types/resource-with-id";
/**
 * Crud handler for Get operation
 * @template T resource type
 * @param oDataConfig optional {@link ODataConfig} that you can read to modify your return
 * @returns an array of resources T
 */
export type GetHandler<T extends WithId = WithId> = (oDataConfig?: ODataConfig) => Promise<T[]>;
