@kenniy/godeye-data-contracts
Version:
Enterprise-grade base repository architecture for GOD-EYE microservices with zero overhead and maximum code reuse
18 lines (17 loc) • 632 B
TypeScript
/**
* Pagination constants for consistent pagination across all services
*/
export declare const PAGINATION_DEFAULTS: {
readonly DEFAULT_LIMIT: 10;
readonly MAX_LIMIT: 100;
readonly DEFAULT_PAGE: 1;
readonly MIN_PAGE: 1;
readonly MIN_LIMIT: 1;
};
export declare const PAGINATION_MESSAGES: {
readonly INVALID_LIMIT: "Limit must be between 1 and 100";
readonly INVALID_PAGE: "Page must be greater than 0";
readonly NO_RESULTS: "No results found";
readonly LIMIT_EXCEEDED: "Limit exceeds maximum allowed value";
readonly INVALID_PAGINATION_PARAMS: "Invalid pagination parameters provided";
};