aboutsummaryrefslogtreecommitdiff
path: root/src/models/app.ts
blob: 8ae71ecb48f8064c277427fde5656aca3c146a82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
export type Page = 'offerwall' | 'questions' | 'demographics' | 'task_attempts' | 'cashout_methods'  | 'transaction_history';

export interface App {
    targetId: string,
    bpid: string;
    bpuid: string;
    offerwall: string;
    walletMode: boolean;
    panelName: string | null;
    leaderboard: boolean;

    currentPage: Page

    //-- responses saved from the last OfferwallResponse
    availability_count: number | undefined;
    offerwall_id: string | undefined;
}