Feat: server-infoエンドポイント / Fix: logger.tsを追跡対象に / Feat: lynqchat-jsを利用可能に / Fix: lynqchat-jsに不足していたエンドポイントを追加

This commit is contained in:
2026-03-19 15:12:26 +09:00
parent bb0bfc1dfd
commit 9e106c14f5
24 changed files with 544 additions and 94 deletions
@@ -5,9 +5,9 @@ type ErrorType<R = unknown> = {
reason?: R,
}
type ErrorBase<E extends ErrorType<any>> = {
type ErrorBase<E extends ErrorType<any> = ErrorType> = {
success: false;
error: E;
}
};
export default ErrorBase;
@@ -1,3 +1,5 @@
import ErrorBase from ".";
export type InputError = ErrorBase<{
bad: "client";
code: "input_wrong";
@@ -0,0 +1,7 @@
type YetInitializationError = ErrorBase<{
bad: "client";
code: "yet_initialization";
message: "初期設定が行われていません。";
}>;
export default YetInitializationError;