Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
6c86cf76
Commit
6c86cf76
authored
Jan 03, 2026
by
yangjianbo
Browse files
Merge branch 'main' into test-dev
parents
e51a3288
631ba25e
Changes
21
Show whitespace changes
Inline
Side-by-side
frontend/src/types/index.ts
View file @
6c86cf76
...
...
@@ -376,6 +376,12 @@ export interface UsageProgress {
window_stats
?:
WindowStats
|
null
// 窗口期统计(从窗口开始到当前的使用量)
}
// Antigravity 单个模型的配额信息
export
interface
AntigravityModelQuota
{
utilization
:
number
// 使用率 0-100
reset_time
:
string
// 重置时间 ISO8601
}
export
interface
AccountUsageInfo
{
updated_at
:
string
|
null
five_hour
:
UsageProgress
|
null
...
...
@@ -383,6 +389,7 @@ export interface AccountUsageInfo {
seven_day_sonnet
:
UsageProgress
|
null
gemini_pro_daily
?:
UsageProgress
|
null
gemini_flash_daily
?:
UsageProgress
|
null
antigravity_quota
?:
Record
<
string
,
AntigravityModelQuota
>
|
null
}
// OpenAI Codex usage snapshot (from response headers)
...
...
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment