UNPKG

@preboot.io/preboot-ui-community

Version:

A community-driven React component library to accelerate building modern SaaS applications, designed to work with PreBoot.io backend.

21 lines (20 loc) 655 B
export interface TableData { content: any[]; totalElements: number; number: number; size: number; last: boolean; } export interface FilterCriteria { field: string; operator: 'eq' | 'neq' | 'like' | 'gt' | 'lt' | 'gte' | 'lte' | 'between' | 'in' | 'ao' | 'isnull' | 'isnotnull'; value: any; } export interface SearchParams { page: number; size: number; sortField?: string; sortDirection?: 'ASC' | 'DESC'; filters: FilterCriteria[]; } export declare const createSearchRequest: (page?: number, size?: number, sortField?: string, sortDirection?: "ASC" | "DESC", filters?: FilterCriteria[]) => SearchParams;