import { Mission } from "../../generated/client";

interface ValidationFailed {
	type: "hpg-validation";
	status: "failed";
	message: string;
	data: {
		mission: Mission;
	};
}

interface ValidationSuccess {
	type: "hpg-validation";
	status: "success";
	message: string;
	data: {
		mission: Mission;
	};
}

export type NotificationPayload = ValidationFailed | ValidationSuccess;
