chore(契约): 生成产物不进 prettier,恢复逐字节一致

- .prettierignore 排除 packages/shared/src/contracts/generated/:prettier 重排会让 check:generated-bindings 的「重新生成逐字节比对」永远失败
- 按 ts-rs 实际输出重新生成 ProfileMudPointBalanceResponse.ts(含字段文档注释)

Co-authored-by: Junie <junie@jetbrains.com>
This commit is contained in:
2026-10-02 19:05:57 +08:00
parent a7cde25b28
commit 5bb98fd8fc
2 changed files with 15 additions and 17 deletions
+2
View File
@@ -2,6 +2,8 @@ dist
node_modules
.git
.codex-logs
# ts-rs 生成产物:必须与 Rust 声明逐字节一致,`check:generated-bindings` 会重新生成并比对。
packages/shared/src/contracts/generated/
public/Icons
apps/ai-game-creator-shell/src/features/ui-editor/types/
apps/ai-game-creator-shell/src-tauri/resources/agc-skills/
@@ -1,19 +1,15 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type ProfileMudPointBalanceResponse = {
/**
* 每日免费泥点:北京业务日有效,跨日清零并重置。
*/
dailyFreePoints: number;
dailyFreeResetPoints: number;
dailyFreeResetsAt: string;
/**
* 月度泥点:会员每期额度,到刷新时刻清零再发新额度。
*/
monthlyPoints: number;
monthlyResetsAt: string | null;
/**
* 永久泥点:不过期,创作照常扣点。
*/
permanentPoints: number;
};
export type ProfileMudPointBalanceResponse = {
/**
* 每日免费泥点:北京业务日有效,跨日清零并重置。
*/
dailyFreePoints: number, dailyFreeResetPoints: number, dailyFreeResetsAt: string,
/**
* 月度泥点:会员每期额度,到刷新时刻清零再发新额度。
*/
monthlyPoints: number, monthlyResetsAt: string | null,
/**
* 永久泥点:不过期,创作照常扣点。
*/
permanentPoints: number, };