UNPKG

@deltares/fews-pi-requests

Version:

Library for making requests to the FEWS PI webservice

29 lines (28 loc) 871 B
import type { FailoverPolicy } from "./failoverPolicy"; import type { TaskStatus } from "./taskStatus"; import type { WhatifID } from "./whatIfID"; export interface Task { taskId: string; description: string; workflowId: string; whatifId: WhatifID; whatifName: null; tag: string; mcId: null; priority: number; interval: string; nextDueTime: number | null; endTime: null; taskStatus: TaskStatus; latestTaskRunDispatchTime: number | null; latestTaskRunStatus: TaskStatus | null; latestTaskRunTime: number | null; latestTaskRunScheduledTime: number | null; latestTaskRunCompletionTime: number | null; runOnFailover: number; approve: number; taskRepeatTime: null; currentForecastDispatchTime: null; currentForecastDispatchTimeBackgroundColor: null; failoverPolicy: FailoverPolicy; }