mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-28 08:08:32 +00:00
Fix image billing size normalization
This commit is contained in:
@@ -1154,6 +1154,8 @@ export interface CodexSessionImportResult {
|
||||
|
||||
export type RedeemCodeType = 'balance' | 'concurrency' | 'subscription' | 'invitation'
|
||||
export type UsageRequestType = 'unknown' | 'sync' | 'stream' | 'ws_v2'
|
||||
export type ImageSizeSource = 'output' | 'input' | 'default' | 'legacy'
|
||||
export type ImageSizeBreakdown = Record<string, number>
|
||||
|
||||
export interface UsageLog {
|
||||
id: number
|
||||
@@ -1195,6 +1197,10 @@ export interface UsageLog {
|
||||
// 图片生成字段
|
||||
image_count: number
|
||||
image_size: string | null
|
||||
image_input_size: string | null
|
||||
image_output_size: string | null
|
||||
image_size_source: ImageSizeSource | null
|
||||
image_size_breakdown: ImageSizeBreakdown | null
|
||||
|
||||
// User-Agent
|
||||
user_agent: string | null
|
||||
|
||||
Reference in New Issue
Block a user