Files
core_ng/server/api/Login/test.ts
T
2023-08-08 17:46:39 +00:00

14 lines
510 B
TypeScript

import { ngGET } from "../defs";
import type { structure } from "../../apiStructure/sammoRootAPI";
import type { ExtractError, ExtractQuery, ExtractResponse } from "../../apiStructure/defs";
type BaseAPI = typeof structure.Login.test;
type RType = ExtractResponse<BaseAPI>;
type EType = ExtractError<BaseAPI>;
type QType = ExtractQuery<BaseAPI>;
export const test = ngGET<RType, EType, QType>(undefined)(undefined)(
(query, ctx, req, res) => {
throw new Error("Method not implemented.");
}
);