Merge branch 'master' into fix/ui-editor-minor-adjusts
This commit is contained in:
@@ -102,6 +102,7 @@ test('builds wallet ledger presentation with stable source fallbacks', () => {
|
||||
'资产操作消耗',
|
||||
);
|
||||
expect(getWalletLedgerSourceLabel('future_source')).toBe('future_source');
|
||||
expect(getWalletLedgerSourceLabel('llm_router_consume')).toBe('LLM 调用消耗');
|
||||
expect(getWalletLedgerSourceLabel('')).toBe('未知来源');
|
||||
expect(formatWalletLedgerDate('not-a-date')).toBe('not-a-date');
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@ const PROFILE_WALLET_LEDGER_SOURCE_LABELS = {
|
||||
daily_free_grant: '每日免费发放',
|
||||
daily_free_reset: '每日免费重置',
|
||||
asset_operation_consume: '资产操作消耗',
|
||||
llm_router_consume: 'LLM 调用消耗',
|
||||
asset_operation_refund: '资产操作退回',
|
||||
recharge_refund_recovery: '充值退款追回',
|
||||
redeem_code_reward: '兑换码奖励',
|
||||
|
||||
@@ -77,6 +77,7 @@ export type ProfileWalletLedgerEntry = {
|
||||
| 'daily_free_grant'
|
||||
| 'daily_free_reset'
|
||||
| 'asset_operation_consume'
|
||||
| 'llm_router_consume'
|
||||
| 'asset_operation_refund'
|
||||
| 'recharge_refund_recovery'
|
||||
| 'redeem_code_reward'
|
||||
|
||||
Reference in New Issue
Block a user