16 lines
577 B
TypeScript
16 lines
577 B
TypeScript
import { GET } from "../defs";
|
|
import type { structure } from "../../apiStructure/sammoRootAPI";
|
|
import type { ExtractError, ExtractQuery, ExtractResponse } from "../../apiStructure/defs";
|
|
import { declProcDecorators } from "../ProcDecorator/base";
|
|
|
|
type BaseAPI = typeof structure.Login.test;
|
|
type RType = ExtractResponse<BaseAPI>;
|
|
type EType = ExtractError<BaseAPI>;
|
|
type QType = ExtractQuery<BaseAPI>;
|
|
|
|
export const test = GET<RType, EType, QType>
|
|
(undefined)
|
|
(declProcDecorators([] as const))
|
|
(() => {
|
|
throw new Error("Method not implemented.");
|
|
}); |