15 lines
400 B
TypeScript
15 lines
400 B
TypeScript
/**
|
|
* Los parametros según entran por la query pueden ser de tipo string
|
|
*/
|
|
export type QueryPaginationArgs = {
|
|
limit?: string,
|
|
offset?: string,
|
|
start?: string// start = offset; Por compatibilidad, normalmente solo limit y offset
|
|
}
|
|
|
|
export type PaginationArgs = {
|
|
limit?: number,
|
|
offset?: number,
|
|
start?: number // start = offset; Por compatibilidad, normalmente solo limit y offset
|
|
}
|