[skip ci] Initial commit — CodexBar Mobile Expo app
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
export interface CodexAuth {
|
||||
accessToken: string;
|
||||
accountId?: string;
|
||||
}
|
||||
|
||||
export interface UsageWindow {
|
||||
used_percent: number;
|
||||
reset_at: number;
|
||||
limit_window_seconds: number;
|
||||
}
|
||||
|
||||
export interface CodexUsageResponse {
|
||||
plan_type: string;
|
||||
rate_limit: {
|
||||
primary_window: UsageWindow;
|
||||
secondary_window: UsageWindow;
|
||||
};
|
||||
credits: {
|
||||
has_credits: boolean;
|
||||
unlimited: boolean;
|
||||
balance: number;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user