AGC认证错误重新生成 ts-rs 绑定
- 新增有字段变体的载荷文件 PasswordLoginRejected/SendCodeRejected/PhoneCodeLoginRejected/AuthResponseServerRejected
- 删除改成无字段变体后不再生成的孤立载荷文件
- ClientAuthError 联合同步为 { type } 与 { type } & 载荷类型
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// 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 = {
|
||||
/**
|
||||
* 服务端原文可能缺失:缺失是 `None`,Rust 不编造兜底文案。
|
||||
*/
|
||||
serverMessage: string | null;
|
||||
};
|
||||
Reference in New Issue
Block a user