17 lines · 691 B
export const ABUSE_CATEGORIES = ["phishing", "malware", "spam", "illegal", "harassment", "copyright", "other"] as const;
export type AbuseCategory = (typeof ABUSE_CATEGORIES)[number];
export type AbuseStatus = "open" | "actioned" | "dismissed";
export type AbuseAction = "pause" | "restore" | "dismiss" | "resolve";

export const ABUSE_CATEGORY_LABELS: Record<AbuseCategory, string> = {
  phishing: "Phishing or credential theft",
  malware: "Malware or malicious downloads",
  spam: "Spam or SEO abuse",
  illegal: "Illegal content",
  harassment: "Harassment or threats",
  copyright: "Copyright or trademark",
  other: "Something else",
};

export const ABUSE_EMAIL = "abuse@gitfor.dev";