| 99 | } |
| 100 | |
| 101 | interface UserPreferences { |
| 102 | /** |
| 103 | * - all: all categories were accepted |
| 104 | * - necessary: only the necessary (if any) categories were accepted |
| 105 | * - custom: a custom selection of categories was accepted |
| 106 | */ |
| 107 | acceptType: AcceptType |
| 108 | |
| 109 | acceptedCategories: string[] |
| 110 | rejectedCategories: string[] |
| 111 | |
| 112 | acceptedServices: {[key: string]: string[]} |
| 113 | rejectedServices: {[key: string]: string[]} |
| 114 | } |
| 115 | |
| 116 | interface Category { |
| 117 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…