2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 15:50:56 +00:00
books/backend/database/types.ts
2022-05-23 16:18:21 +05:30

12 lines
302 B
TypeScript

export type RawType = string | number | boolean;
export type RawData = Record<string, RawType>[];
export type QueryFilter = Record<string, string | string[]>;
export interface GetQueryBuilderOptions {
offset: number;
limit: number;
groupBy: string;
orderBy: string;
order: 'desc' | 'asc';
}