mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-12-27 00:34:30 +01:00
34 lines
737 B
TypeScript
34 lines
737 B
TypeScript
import ModelBase from 'App/ModelBase';
|
|
|
|
export interface Field {
|
|
order: number;
|
|
name: string;
|
|
label: string;
|
|
value: boolean | number | string;
|
|
type: string;
|
|
advanced: boolean;
|
|
privacy: string;
|
|
}
|
|
|
|
interface Notification extends ModelBase {
|
|
enable: boolean;
|
|
name: string;
|
|
onGrab: boolean;
|
|
onHealthIssue: boolean;
|
|
onHealthRestored: boolean;
|
|
includeHealthWarnings: boolean;
|
|
onApplicationUpdate: boolean;
|
|
supportsOnGrab: boolean;
|
|
supportsOnHealthIssue: boolean;
|
|
supportsOnHealthRestored: boolean;
|
|
supportsOnApplicationUpdate: boolean;
|
|
fields: Field[];
|
|
implementationName: string;
|
|
implementation: string;
|
|
configContract: string;
|
|
infoLink: string;
|
|
tags: number[];
|
|
}
|
|
|
|
export default Notification;
|