Subd/server/controllers/query-param.types.ts
2024-04-23 12:08:46 +04:00

5 lines
192 B
TypeScript

export type RangeQueryParamType = [number, number];
export type SortQueryParamType = [string, string] | Array<[string, string]>;
export type FilterQueryParamType = {
[key: string]: unknown
}