mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
fix: removing unused navigate
This commit is contained in:
parent
c59b039eb4
commit
8b47082047
7 changed files with 74 additions and 0 deletions
23
src/types/level.types.ts
Normal file
23
src/types/level.types.ts
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
export type SubscriptionStatus = "active" | "pending" | "cancelled";
|
||||
|
||||
export interface Subscription {
|
||||
id: string;
|
||||
status: SubscriptionStatus;
|
||||
plan: { id: string; name: string };
|
||||
expiresAt: string | null;
|
||||
paymentMethod: "pix" | "paypal";
|
||||
}
|
||||
|
||||
export interface Auth {
|
||||
accessToken: string;
|
||||
refreshToken: string;
|
||||
tokenExpirationTimestamp: number;
|
||||
}
|
||||
|
||||
export interface User {
|
||||
id: string;
|
||||
displayName: string;
|
||||
profileImageUrl: string | null;
|
||||
backgroundImageUrl: string | null;
|
||||
subscription: Subscription | null;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue