14 lines
408 B
TypeScript
14 lines
408 B
TypeScript
import type { ActionId } from './ActionId';
|
|
import type { PackageId } from './PackageId';
|
|
import type { TaskInput } from './TaskInput';
|
|
import type { TaskSeverity } from './TaskSeverity';
|
|
import type { TaskTrigger } from './TaskTrigger';
|
|
export type Task = {
|
|
packageId: PackageId;
|
|
actionId: ActionId;
|
|
severity: TaskSeverity;
|
|
reason?: string;
|
|
when?: TaskTrigger;
|
|
input?: TaskInput;
|
|
};
|