Subd/server/controllers/query-param.types.ts

5 lines
192 B
TypeScript
Raw Normal View History

2024-04-23 12:08:46 +04:00
export type RangeQueryParamType = [number, number];
export type SortQueryParamType = [string, string] | Array<[string, string]>;
export type FilterQueryParamType = {
[key: string]: unknown
}