diff --git a/src/common.ts b/src/common.ts index 9fb32cb..bdf4dd1 100644 --- a/src/common.ts +++ b/src/common.ts @@ -186,3 +186,11 @@ export function RouteScope>>( ): GetScope { return new Scope(conf) as GetScope; } + +export class Paginated { + data: T[]; + count: number; + total: number; + page: number; + pageCount: number; +}