refactor(core): simplify session pagination
This commit is contained in:
@@ -4342,14 +4342,13 @@ export class Session3 extends HeyApiClient {
|
||||
*/
|
||||
public list<ThrowOnError extends boolean = false>(
|
||||
parameters?: {
|
||||
directory?: string
|
||||
workspace?: string
|
||||
limit?: number
|
||||
order?: "asc" | "desc"
|
||||
path?: string
|
||||
roots?: boolean | "true" | "false"
|
||||
start?: number
|
||||
search?: string
|
||||
directory?: string
|
||||
project?: string
|
||||
subpath?: string
|
||||
cursor?: string
|
||||
},
|
||||
options?: Options<never, ThrowOnError>,
|
||||
@@ -4359,14 +4358,13 @@ export class Session3 extends HeyApiClient {
|
||||
[
|
||||
{
|
||||
args: [
|
||||
{ in: "query", key: "directory" },
|
||||
{ in: "query", key: "workspace" },
|
||||
{ in: "query", key: "limit" },
|
||||
{ in: "query", key: "order" },
|
||||
{ in: "query", key: "path" },
|
||||
{ in: "query", key: "roots" },
|
||||
{ in: "query", key: "start" },
|
||||
{ in: "query", key: "search" },
|
||||
{ in: "query", key: "directory" },
|
||||
{ in: "query", key: "project" },
|
||||
{ in: "query", key: "subpath" },
|
||||
{ in: "query", key: "cursor" },
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user