74e7209c31
- auth_error:服务端原文缺失说明从 None 改成 TS 读得懂的 null(PasswordLoginRejected / SendCodeRejected / PhoneCodeLoginRejected) - auth_error:AuthResponseInvalid.server_message 的说明从 AuthResponseInvalidReason::ServerRejected 改成线上字面量 serverRejected - ts-rs 重新生成 4 份载荷绑定
12 lines
354 B
TypeScript
12 lines
354 B
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
|
|
/**
|
|
* `/api/auth/phone/login` 返回 400 时服务端给的原文。
|
|
*/
|
|
export type PhoneCodeLoginRejected = {
|
|
/**
|
|
* 服务端原文可能缺失:缺失是 `null`,Rust 不编造兜底文案。
|
|
*/
|
|
serverMessage: string | null;
|
|
};
|