/*
 * Test-only activity feed for validating the Locations directory sort behavior.
 * These figures are fictional UI fixtures, not housing-market statistics, leads,
 * sales activity, or a production market-data integration.
 */

export type MockMarketActivity = {
  stateSlug: string;
  county: string;
  activityScore: number;
};

export const mockMarketActivityFeed: MockMarketActivity[] = [
  { stateSlug: "texas", county: "harris", activityScore: 96 },
  { stateSlug: "arizona", county: "maricopa", activityScore: 91 },
  { stateSlug: "florida", county: "miami-dade", activityScore: 88 },
  { stateSlug: "california", county: "los-angeles", activityScore: 84 },
  { stateSlug: "georgia", county: "fulton", activityScore: 79 },
  { stateSlug: "illinois", county: "cook", activityScore: 75 },
  { stateSlug: "washington", county: "king", activityScore: 70 },
  { stateSlug: "nevada", county: "clark", activityScore: 67 },
];

export function getMockMarketActivity(stateSlug: string, county: string) {
  return mockMarketActivityFeed.find((item) => item.stateSlug === stateSlug && item.county === county);
}
