Feat: server-infoエンドポイント / Fix: logger.tsを追跡対象に / Feat: lynqchat-jsを利用可能に / Fix: lynqchat-jsに不足していたエンドポイントを追加
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import { InputError, InputNoneError } from "../../modules/error/input";
|
||||
import ErrorBase from "../../modules/error";
|
||||
import DatabaseError from "../../modules/error/database";
|
||||
import Success from "../../modules/response/success";
|
||||
import YetInitializationError from "../../modules/error/yet_init";
|
||||
import { UserSchema } from "./signup";
|
||||
|
||||
export default interface PrimarySignin {
|
||||
"primary/signin": {
|
||||
body: Pick<UserSchema, "userid" | "password">;
|
||||
response: (Success & {
|
||||
token: string;
|
||||
}) | DatabaseError | ErrorBase<{
|
||||
bad: "client",
|
||||
code: "auth_input_wrong",
|
||||
message: "ユーザー名かパスワードが違います。",
|
||||
}> | InputError | InputNoneError | YetInitializationError;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user