fix
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import { GET } from "../defs";
|
||||
import type { structure } from "../../apiStructure/sammoRootAPI";
|
||||
import type { ExtractError, ExtractQuery, ExtractResponse } from "../../apiStructure/defs";
|
||||
import { declProcDecorators } from "../ProcDecorator/base";
|
||||
import { GET } from "../defs.js";
|
||||
import type { structure } from "../../apiStructure/sammoRootAPI.js";
|
||||
import type { ExtractError, ExtractQuery, ExtractResponse } from "../../apiStructure/defs.js";
|
||||
import { declProcDecorators } from "../ProcDecorator/base.js";
|
||||
import { ReqLogin } from "../ProcDecorator/ReqLogin.js";
|
||||
import { StartSession } from "../ProcDecorator/StartSession.js";
|
||||
|
||||
type BaseAPI = typeof structure.Login.ReqNonce;
|
||||
type RType = ExtractResponse<BaseAPI>;
|
||||
@@ -11,7 +13,10 @@ const argValidator = undefined;
|
||||
|
||||
export const ReqNonce = GET<RType, EType, QType>
|
||||
(argValidator)
|
||||
(declProcDecorators([] as const))
|
||||
(() => {
|
||||
(declProcDecorators([
|
||||
StartSession,
|
||||
ReqLogin,
|
||||
] as const))
|
||||
((query, ctx) => {
|
||||
throw new Error("Method not implemented.");
|
||||
});
|
||||
Reference in New Issue
Block a user