mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-29 00:10:31 +00:00
feat(usage): add account cost to breakdown sub-table and admin usage log
- UserBreakdownItem: add AccountCost field + SQL aggregation - UserBreakdownSubTable: add orange account cost column - Admin usage table: add account_cost column (after cost, default visible) - Column settings: add account_cost toggle option
This commit is contained in:
@@ -1245,6 +1245,7 @@ export interface UserBreakdownItem {
|
||||
total_tokens: number
|
||||
cost: number
|
||||
actual_cost: number
|
||||
account_cost: number
|
||||
}
|
||||
|
||||
export interface UserUsageTrendPoint {
|
||||
|
||||
Reference in New Issue
Block a user