From cca72144463576d13e3cd0111a5118d7e60f0740 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Sun, 6 Aug 2023 12:40:09 +0000 Subject: [PATCH] =?UTF-8?q?=EC=A0=95=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/api/defs.ts | 2 +- server/apiStructure/defs.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/server/api/defs.ts b/server/api/defs.ts index 2b4c78f..24f2ef5 100644 --- a/server/api/defs.ts +++ b/server/api/defs.ts @@ -1,6 +1,6 @@ import type { Request, Response } from 'express'; -import type { APICallT, Callable, DefAPINamespace, DeleteAPICallT, EmptyAPICallT, GetAPICallT, HeadAPICallT, HttpMethod, InvalidResponse, PatchAPICallT, PostAPICallT, PutAPICallT, RawArgType, ValidResponse, recoveryMethod } from '../apiStructure/defs'; +import type { Callable, DefAPINamespace, DeleteAPICallT, GetAPICallT, HeadAPICallT, HttpMethod, InvalidResponse, PatchAPICallT, PostAPICallT, PutAPICallT, RawArgType, ValidResponse, recoveryMethod } from '../apiStructure/defs'; export const treatedSpecial = Symbol('treatedSpecial'); export type APINamespace = { diff --git a/server/apiStructure/defs.ts b/server/apiStructure/defs.ts index 2e24517..ebc30fc 100644 --- a/server/apiStructure/defs.ts +++ b/server/apiStructure/defs.ts @@ -1,5 +1,3 @@ -import { APIExecuter } from "../api/defs"; - export type HttpMethod = 'get' | 'post' | 'put' | 'delete' | 'patch' | 'head'; export type RawArgType = Record | Record[] | undefined;