/**
 * @ai-summary Mock station data for tests
 */

import { Station, SavedStation } from '../../domain/stations.types';

export const mockStations: Station[] = [
  {
    id: 'station-1',
    placeId: 'ChIJN1blFMzZrIEElx_JXUzRLdc',
    name: 'Shell Gas Station - Downtown',
    address: '123 Main St, San Francisco, CA 94105',
    latitude: 37.7749,
    longitude: -122.4194,
    rating: 4.2,
    distance: 250,
    photoReference: 'mock-photo-reference-shell',
    priceRegular: 4.29,
    pricePremium: 4.79,
    priceDiesel: 4.49
  },
  {
    id: 'station-2',
    placeId: 'ChIJN1blFMzZrIEElx_JXUzRLde',
    name: 'Chevron Station - Financial District',
    address: '456 Market St, San Francisco, CA 94102',
    latitude: 37.7923,
    longitude: -122.3989,
    rating: 4.5,
    distance: 1200,
    photoReference: 'mock-photo-reference-chevron',
    priceRegular: 4.39,
    pricePremium: 4.89
  },
  {
    id: 'station-3',
    placeId: 'ChIJN1blFMzZrIEElx_JXUzRLdf',
    name: 'Exxon Mobile - Mission',
    address: '789 Valencia St, San Francisco, CA 94103',
    latitude: 37.7599,
    longitude: -122.4148,
    rating: 3.8,
    distance: 1850,
    photoReference: 'mock-photo-reference-exxon',
    priceRegular: 4.19,
    priceDiesel: 4.39
  }
];

export const mockSavedStations: SavedStation[] = [
  {
    id: '550e8400-e29b-41d4-a716-446655440000',
    userId: 'user123',
    stationId: mockStations[0].placeId,
    placeId: mockStations[0].placeId,
    nickname: 'Work Gas Station',
    notes: 'Usually has good prices, rewards program available',
    isFavorite: true,
    has93Octane: true,
    has93OctaneEthanolFree: true,
    createdAt: new Date('2024-01-01'),
    updatedAt: new Date('2024-01-15')
  },
  {
    id: '550e8400-e29b-41d4-a716-446655440001',
    userId: 'user123',
    stationId: mockStations[1].placeId,
    placeId: mockStations[1].placeId,
    nickname: 'Home Station',
    notes: 'Closest to apartment',
    isFavorite: true,
    has93Octane: true,
    has93OctaneEthanolFree: false,
    createdAt: new Date('2024-01-05'),
    updatedAt: new Date('2024-01-10')
  }
];

export const searchCoordinates = {
  sanFrancisco: { latitude: 37.7749, longitude: -122.4194 },
  losAngeles: { latitude: 34.0522, longitude: -118.2437 },
  seattle: { latitude: 47.6062, longitude: -122.3321 }
};

export const mockUserId = 'user123';
