frontend/.pnpm-store/v3/files/0e/64215c6a35e6a978a1ee03308b5a1931f83495403a1d4c8fb77fa36cb9d6de172e1cc45e87fcc2bfd20ba9acedbbc876ace33a7f3c557b6aca9cfcc1905edc

21 lines
655 B
Plaintext

import {
PipelineProcessor,
PipelineProcessorProps,
ProcessorType,
} from '../processor';
import { ServerStorageOptions } from '../../storage/server';
interface ServerPaginationLimitProps extends PipelineProcessorProps {
page: number;
limit: number;
url?: (prevUrl: string, page: number, limit: number) => string;
body?: (prevBody: BodyInit, page: number, limit: number) => BodyInit;
}
declare class ServerPaginationLimit extends PipelineProcessor<
ServerStorageOptions,
ServerPaginationLimitProps
> {
get type(): ProcessorType;
_process(options?: ServerStorageOptions): ServerStorageOptions;
}
export default ServerPaginationLimit;