17 lines
332 B
TypeScript
17 lines
332 B
TypeScript
export type Config = {
|
|
sources: string[];
|
|
query: string;
|
|
mapper: string;
|
|
databaseFile: string;
|
|
backend: Record<string, unknown>;
|
|
};
|
|
|
|
export type BackendSettings = {
|
|
enable?: boolean;
|
|
};
|
|
|
|
export type SupportedBackends = 'ntfy.sh';
|
|
export type BackendConfig = {
|
|
backend: SupportedBackends;
|
|
settings: BackendSettings;
|
|
} |