Skip to content

Commit 748e4f9

Browse files
authored
feat(serverless_jobs): add started_at in JobRun (#1205)
1 parent 571e7ff commit 748e4f9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ export const unmarshalJobRun = (data: unknown): JobRun => {
8282
memoryLimit: data.memory_limit,
8383
region: data.region,
8484
runDuration: data.run_duration,
85+
startedAt: unmarshalDate(data.started_at),
8586
state: data.state,
8687
terminatedAt: unmarshalDate(data.terminated_at),
8788
updatedAt: unmarshalDate(data.updated_at),

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ export interface JobRun {
6565
command: string
6666
environmentVariables: Record<string, string>
6767
localStorageCapacity: number
68+
startedAt?: Date
6869
/**
6970
* Region to target. If none is passed will use default region from the
7071
* config.

0 commit comments

Comments
 (0)