Skip to content

Commit

Permalink
feat(serverless_jobs): add state filter to list job runs (#1719)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored Jan 16, 2025
1 parent 9760f7f commit 0ce574a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/clients/src/api/jobs/v1alpha1/api.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ export class API extends ParentAPI {
request.pageSize ?? this.client.settings.defaultPageSize,
],
['project_id', request.projectId],
['state', request.state],
),
},
unmarshalListJobRunsResponse,
Expand Down
1 change: 1 addition & 0 deletions packages/clients/src/api/jobs/v1alpha1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ export type ListJobRunsRequest = {
jobDefinitionId?: string
projectId?: string
organizationId?: string
state?: JobRunState
}

export interface ListJobRunsResponse {
Expand Down

0 comments on commit 0ce574a

Please sign in to comment.