From 3256620276f4b23d373a2e86bdbc20413076448f Mon Sep 17 00:00:00 2001 From: Hide_D Date: Sun, 6 Aug 2023 13:22:21 +0000 Subject: [PATCH] =?UTF-8?q?argValidator=20=ED=83=80=EC=9E=85=20=EC=B2=98?= =?UTF-8?q?=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/api/Login/LoginByID.ts | 5 +++++ server/api/Login/LoginByToken.ts | 1 + server/api/Login/ReqNonce.ts | 1 + server/api/Login/test.ts | 1 + 4 files changed, 8 insertions(+) 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 {