Skip to content

Commit 3bda7ee

Browse files
fix(actor): correctly set type for ActorTaggedBuilds (#612)
I have no idea why we had such a wrong type there. 1. There doesn't have to be `latest` tag 2. Tags are arbitrary strings
1 parent 123c2b8 commit 3bda7ee

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/resource_clients/actor.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,9 +268,7 @@ export interface ActorExampleRunInput {
268268
contentType: string;
269269
}
270270

271-
export interface ActorTaggedBuilds {
272-
latest: ActorTaggedBuild;
273-
}
271+
export type ActorTaggedBuilds = Record<string, ActorTaggedBuild>
274272

275273
export interface ActorTaggedBuild {
276274
buildId?: string;

0 commit comments

Comments
 (0)