http-check-config.d.ts 357 B

12345678910111213141516
  1. type CheckDisjunction = Array<string | string[] | CheckConjunction>;
  2. type CheckConjunction = { and: string[] };
  3. type HttpCheckConfig = {
  4. id: number;
  5. serverId?: number;
  6. title: string;
  7. type: 'http';
  8. url: string;
  9. active: boolean;
  10. interval: number;
  11. timeout?: number;
  12. notify: boolean;
  13. notifyThreshold: number;
  14. checks: CheckDisjunction;
  15. };