mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 05:12:14 +00:00
refactor(api): drop the list query re-exports nothing imports
This commit is contained in:
1 parent
534523c462
commit
c73c6a7b1e
1 file changed
-7
@@ -30,8 +30,6 @@ import { capRows, overfetch, type ListCap } from "@/lib/api/list-cap";
|
||||
|
||||
import { listLimitField, listOffsetField } from "./list-query-fields";
|
||||
|
||||
export { listLimitField, listOffsetField } from "./list-query-fields";
|
||||
|
||||
export interface ListQueryOptions {
|
||||
/** The limit when the request names none. */
|
||||
defaultLimit: number;
|
||||
@@ -41,11 +39,6 @@ export interface ListQueryOptions {
|
||||
offset?: boolean;
|
||||
}
|
||||
|
||||
export interface ListQuery {
|
||||
limit: number;
|
||||
offset: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Read `limit` (and `offset`) from a request's query string.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user