From abff0a399e842cb717c878649fa4b8db879e7be5 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Wed, 12 Jun 2024 02:06:53 +0800 Subject: [PATCH] feat: get and put actions api --- src/renderer/src/hono.ts | 229 +++++++++++++++++++++++++-------------- 1 file changed, 148 insertions(+), 81 deletions(-) diff --git a/src/renderer/src/hono.ts b/src/renderer/src/hono.ts index ec35c5850..237d6aea8 100644 --- a/src/renderer/src/hono.ts +++ b/src/renderer/src/hono.ts @@ -3,6 +3,73 @@ import * as hono_utils_http_status from 'hono/utils/http-status'; import * as hono from 'hono'; declare const routes: hono_hono_base.HonoBase; code: 0; + data: Record; }; outputFormat: "json"; status: 200; @@ -46,8 +113,8 @@ declare const routes: hono_hono_base.HonoBase