From 3bda7ee741caf2ccfea249a42ed7512cda36bf0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20K=C5=99ivka?= Date: Thu, 28 Nov 2024 13:53:09 +0100 Subject: [PATCH] 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 --- src/resource_clients/actor.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/resource_clients/actor.ts b/src/resource_clients/actor.ts index 1b988057..aea23b5c 100644 --- a/src/resource_clients/actor.ts +++ b/src/resource_clients/actor.ts @@ -268,9 +268,7 @@ export interface ActorExampleRunInput { contentType: string; } -export interface ActorTaggedBuilds { - latest: ActorTaggedBuild; -} +export type ActorTaggedBuilds = Record export interface ActorTaggedBuild { buildId?: string;