New: (UI) Indexer privacy label

Fixes #2132
This commit is contained in:
Bogdan
2024-06-28 05:35:13 +03:00
parent 715ce1fc6c
commit 9c599a6be4
7 changed files with 67 additions and 8 deletions
+3 -1
View File
@@ -24,6 +24,8 @@ export interface IndexerCapabilities extends ModelBase {
categories: IndexerCategory[];
}
export type IndexerPrivacy = 'public' | 'semiPrivate' | 'private';
export interface IndexerField extends ModelBase {
order: number;
name: string;
@@ -47,7 +49,7 @@ interface Indexer extends ModelBase {
supportsRedirect: boolean;
supportsPagination: boolean;
protocol: string;
privacy: string;
privacy: IndexerPrivacy;
priority: number;
fields: IndexerField[];
tags: number[];