web/src/types/Service.ts
43 lines · 727 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}
21
22export interface Section {
23 name: string;
24 services: Service[];
25 intro?: string;
26 notableMentions?: ShortService[] | string;
27 furtherInfo?: string;
28 wordOfWarning?: string;
29 alternativeTo?: string[];
30}
31
32export interface Category {
33 name: string;
34 sections: Section[];
35}
36
37
38export interface AwesomePrivacy {
39 categories: Array<{
40 name: string;
41 sections: Array<Section>;
42 }>;
43}