diff --git a/server/api/Login/LoginByID.ts b/server/api/Login/LoginByID.ts index 2f8c624..9b741af 100644 --- a/server/api/Login/LoginByID.ts +++ b/server/api/Login/LoginByID.ts @@ -7,7 +7,12 @@ type RType = ExtractResponse; type EType = ExtractError; type QType = ExtractQuery; +class Q implements QType { + username: string; + password: string; +} export class LoginByID extends POST{ + readonly argValidator = undefined; protected LoginByID = Symbol("LoginByID");//TODO: remove this protected override async api(query: QType): Promise { throw new Error("Method not implemented."); diff --git a/server/api/Login/LoginByToken.ts b/server/api/Login/LoginByToken.ts index 1ec7953..36ba39d 100644 --- a/server/api/Login/LoginByToken.ts +++ b/server/api/Login/LoginByToken.ts @@ -8,6 +8,7 @@ type EType = ExtractError; type QType = ExtractQuery; export class LoginByToken extends POST{ + readonly argValidator = undefined; protected LoginByToken = Symbol("LoginByToken");//TODO: remove this protected override async api(query: QType): Promise { throw new Error("Method not implemented."); diff --git a/server/api/Login/ReqNonce.ts b/server/api/Login/ReqNonce.ts index 8adc15a..ed5c8bd 100644 --- a/server/api/Login/ReqNonce.ts +++ b/server/api/Login/ReqNonce.ts @@ -8,6 +8,7 @@ type EType = ExtractError; type QType = ExtractQuery; export class ReqNonce extends GET{ + readonly argValidator = undefined; protected ReqNonce = Symbol("ReqNonce");//TODO: remove this protected override async api(query: QType): Promise { throw new Error("Method not implemented."); diff --git a/server/api/Login/test.ts b/server/api/Login/test.ts index 006096e..cf3bfbb 100644 --- a/server/api/Login/test.ts +++ b/server/api/Login/test.ts @@ -8,6 +8,7 @@ type EType = ExtractError; type QType = ExtractQuery; export class test extends GET{ + readonly argValidator = undefined; protected ReqNonce = Symbol("ReqNonce");//TODO: remove this protected override async api(query: QType): Promise { return {