17 lines
620 B
TypeScript
17 lines
620 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.ReqNonce;
|
|
type RType = ExtractResponse<BaseAPI>;
|
|
type EType = ExtractError<BaseAPI>;
|
|
type QType = ExtractQuery<BaseAPI>;
|
|
const argValidator = undefined;
|
|
|
|
export const ReqNonce = GET<RType, EType, QType>
|
|
(argValidator)
|
|
(declProcDecorators([] as const))
|
|
(() => {
|
|
throw new Error("Method not implemented.");
|
|
}); |