web/src/types/Service.ts
44 lines · 746 bytes
1
2
3export interface ShortService {
4 name: string;
5 description: string;
6 url: string;
7}
8
9export interface Service {
10 name: string;
11 description: string;
12 url: string;
13 github?: string;
14 icon?: string;
15 followWith?: string;
16 securityAudited?: boolean;
17 openSource?: boolean;
18 acceptsCrypto?: boolean;
19 tosdrId?: string;
20 iosApp?: string;
21}
22
23export interface Section {
24 name: string;
25 services: Service[];
26 intro?: string;
27 notableMentions?: ShortService[] | string;
28 furtherInfo?: string;
29 wordOfWarning?: string;
30 alternativeTo?: string[];
31}
32
33export interface Category {
34 name: string;
35 sections: Section[];
36}
37
38
39export interface AwesomePrivacy {
40 categories: Array<{
41 name: string;
42 sections: Array<Section>;
43 }>;
44}