This commit is contained in:
sdarbinyan
2026-06-01 00:47:26 +04:00
parent 49f69f6af0
commit 4d8dc6b59c
22 changed files with 1266 additions and 353 deletions

View File

@@ -7,6 +7,11 @@ export interface AuthSession {
expiresAt: string;
}
export interface WebSessionStart {
webSessionID: string;
url: string;
}
export interface TelegramAuthData {
id: number;
first_name: string;
@@ -17,9 +22,4 @@ export interface TelegramAuthData {
hash: string;
}
export interface QrPollResponse {
status: 'pending' | 'confirmed' | 'expired';
session?: AuthSession;
}
export type AuthStatus = 'unknown' | 'checking' | 'authenticated' | 'expired' | 'unauthenticated';