꼬이네..

This commit is contained in:
2023-08-08 15:41:08 +00:00
parent 96b18ad5ff
commit deb989e45b
4 changed files with 172 additions and 153 deletions
+6 -2
View File
@@ -11,10 +11,14 @@ class Q implements QType {
username!: string;
password!: string;
}
export class LoginByID extends POST<RType, EType, QType>{
const procDecorator = [] as const;
export class LoginByID extends POST<RType, EType, QType, typeof procDecorator>{
readonly argValidator = Q;
readonly procDecorator = procDecorator;
protected LoginByID = Symbol("LoginByID");//TODO: remove this
protected override async api(query: QType): Promise<RType | EType | true> {
protected override async api(query: QType, ctx,): Promise<RType | EType | true> {
throw new Error("Method not implemented.");
}
}