From 8d300bddd074053337628527662422293e936aa9 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Fri, 28 Jul 2023 10:34:30 +1000 Subject: [PATCH] feat(ui): alias existing type for `UpdateLoRAModelResponse` --- invokeai/frontend/web/src/services/api/endpoints/models.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/invokeai/frontend/web/src/services/api/endpoints/models.ts b/invokeai/frontend/web/src/services/api/endpoints/models.ts index 6fa7f60d08..9cdded4f85 100644 --- a/invokeai/frontend/web/src/services/api/endpoints/models.ts +++ b/invokeai/frontend/web/src/services/api/endpoints/models.ts @@ -61,8 +61,7 @@ type UpdateLoRAModelArg = { type UpdateMainModelResponse = paths['/api/v1/models/{base_model}/{model_type}/{model_name}']['patch']['responses']['200']['content']['application/json']; -type UpdateLoRAModelResponse = - paths['/api/v1/models/{base_model}/{model_type}/{model_name}']['patch']['responses']['200']['content']['application/json']; +type UpdateLoRAModelResponse = UpdateMainModelResponse; type DeleteMainModelArg = { base_model: BaseModelType;