15 lines
582 B
TypeScript
15 lines
582 B
TypeScript
import { GET } from "../../defs.js";
|
|
import type { structure } from "../../../apiStructure/sammoRootAPI.js";
|
|
import type { ExtractError, ExtractQuery, ExtractResponse } from "../../../apiStructure/defs.js";
|
|
import { EmptyProcDecorator } from "../../../ProcDecorator/base.js";
|
|
|
|
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)(EmptyProcDecorator)(
|
|
() => {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
); |