Skip to content

Commit 874c0a2

Browse files
committed
fix(apify-schema): make build number nullable
1 parent 24bc92e commit 874c0a2

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/deep-plants-spend.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@systemfsoftware/apify-schema": patch
3+
---
4+
5+
fix: make build number nullable

packages/apify-schema/src/mod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const ActorRunResult = S.Struct({
5454
buildId: S.String,
5555
startedAt: S.Date,
5656
finishedAt: S.Date,
57-
buildNumber: S.String,
57+
buildNumber: S.optionalWith(S.String, { nullable: true }),
5858
usageTotalUsd: S.optionalWith(S.Number, { nullable: true }),
5959
defaultDatasetId: S.String,
6060
defaultRequestQueueId: S.String,

0 commit comments

Comments
 (0)