From 500515a3a0b4ea95fcc935a6afeb1127ed29434c Mon Sep 17 00:00:00 2001 From: Wesley Reitzfeld <1568246+WesleyKapow@users.noreply.github.com> Date: Sun, 6 Oct 2024 16:18:11 -0400 Subject: [PATCH 1/2] Update Typing, versions.list returns Page'd results --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 45a2430..0b1f3b9 100644 --- a/index.d.ts +++ b/index.d.ts @@ -284,7 +284,7 @@ declare module "replicate" { } ): Promise; versions: { - list(model_owner: string, model_name: string): Promise; + list(model_owner: string, model_name: string): Promise>; get( model_owner: string, model_name: string, From bb5f1d159456f142f5ae107c1c3d572e1af44d6f Mon Sep 17 00:00:00 2001 From: Wesley Reitzfeld <1568246+WesleyKapow@users.noreply.github.com> Date: Sun, 6 Oct 2024 16:20:39 -0400 Subject: [PATCH 2/2] Fix array type --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 0b1f3b9..a123d11 100644 --- a/index.d.ts +++ b/index.d.ts @@ -284,7 +284,7 @@ declare module "replicate" { } ): Promise; versions: { - list(model_owner: string, model_name: string): Promise>; + list(model_owner: string, model_name: string): Promise>; get( model_owner: string, model_name: string,