Skip to content

Commit

Permalink
fix(actor): correctly set type for ActorTaggedBuilds (#612)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
metalwarrior665 authored Nov 28, 2024
1 parent 123c2b8 commit 3bda7ee
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/resource_clients/actor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,7 @@ export interface ActorExampleRunInput {
contentType: string;
}

export interface ActorTaggedBuilds {
latest: ActorTaggedBuild;
}
export type ActorTaggedBuilds = Record<string, ActorTaggedBuild>

export interface ActorTaggedBuild {
buildId?: string;
Expand Down

0 comments on commit 3bda7ee

Please sign in to comment.