fix: add title to FomoEvent to fix type error in route.ts
Some checks failed
Deploy to 110 WOOO Server / deploy (push) Failing after 6s
Some checks failed
Deploy to 110 WOOO Server / deploy (push) Failing after 6s
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
import { sendTrafficAlert } from "./traffic-alert";
|
||||
import { TwitterApi } from "twitter-api-v2";
|
||||
|
||||
export type FomoEventType = "HIGH_VALUE_BOUNTY" | "SPEED_RUN" | "A2A_SUBCONTRACT";
|
||||
export type FomoEventType = "HIGH_VALUE_BOUNTY" | "SPEED_RUN" | "A2A_SUBCONTRACT" | "NEW_BOUNTY_CREATED";
|
||||
|
||||
export interface FomoEvent {
|
||||
type: FomoEventType;
|
||||
taskId: string;
|
||||
amountFormatted: string; // e.g., "$500"
|
||||
title?: string;
|
||||
agentId?: string;
|
||||
timeToSolveMinutes?: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user