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;