summaryrefslogtreecommitdiffstats
path: root/src/lib/types.ts
blob: 79783b3ee363c563a144283bc2e059762fc93a27 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
export interface Extension {
    pkg: string;
    name: string;
    version: string;
    lang: string;
    apk: string;
    nsfw: number;
    sourceName?: string;
}

export interface ExtensionRepo {
    source: string;
    name: string;
    path: string;
    commit: string;
}

export interface AppData {
    extensions: {
        [category: string]: ExtensionRepo[];
    };
    domains: string[];
    source: string;
    commitLink: string;
    latestCommitHash: string;
}