Skip to content

Commit 0ce574a

Browse files
authored
feat(serverless_jobs): add state filter to list job runs (#1719)
1 parent 9760f7f commit 0ce574a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/clients/src/api/jobs/v1alpha1/api.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ export class API extends ParentAPI {
325325
request.pageSize ?? this.client.settings.defaultPageSize,
326326
],
327327
['project_id', request.projectId],
328+
['state', request.state],
328329
),
329330
},
330331
unmarshalListJobRunsResponse,

packages/clients/src/api/jobs/v1alpha1/types.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ export type ListJobRunsRequest = {
289289
jobDefinitionId?: string
290290
projectId?: string
291291
organizationId?: string
292+
state?: JobRunState
292293
}
293294

294295
export interface ListJobRunsResponse {

0 commit comments

Comments
 (0)