export type Cargo = 'auto' | 'avia';

export interface CargoItem {
  party: string;
  cargo: Cargo;
  start: string[] | string;
  end: string;
  isAni: boolean;
}
export const fakeDataList: CargoItem[] = [
  {
    party: 'CP21',
    cargo: 'auto',
    start: [
      '2025-07-26', // Shanba
      '2025-07-27', // Yakshanba
      '2025-07-28', // Dushanba
      '2025-07-29', // Seshanba
      '2025-07-30', // Chorshanba
      '2025-07-31', // Payshanba
      '2025-08-01', // Juma
    ],
    end: '2025-07-25',
    isAni: true,
  },
  {
    party: 'CP21',
    cargo: 'auto',
    start: [
      '2025-07-26', // Shanba
      '2025-07-27', // Yakshanba
      '2025-07-28', // Dushanba
      '2025-07-29', // Seshanba
      '2025-07-30', // Chorshanba
      '2025-07-31', // Payshanba
      '2025-08-01', // Juma
    ],
    end: '2025-07-25',
    isAni: true,
  },
  {
    party: 'CP22',
    cargo: 'auto',
    start: '16.06.2025',
    isAni: false,
    end: '22.06.2025',
  },
  {
    party: 'CP20',
    cargo: 'avia',
    end: '2025-08-04',
    start: [
      '2025-07-26', // Shanba
      '2025-07-27', // Yakshanba
      '2025-07-28', // Dushanba
      '2025-07-29', // Seshanba
      '2025-07-30', // Chorshanba
      '2025-07-31', // Payshanba
      '2025-08-01', // Juma
    ],
    isAni: true,
  },
];

interface Branch {
  id: number;
  name: string;
  latitude: number;
  longitude: number;
  address: string;
}

export const fakeBranches: Branch[] = [
  {
    id: 1,
    name: 'Toshkent Filiali',
    latitude: 41.311081,
    longitude: 69.240562,
    address: 'Amir Temur ko‘chasi, 12-uy',
  },
  {
    id: 2,
    name: 'Farg‘ona Filiali',
    latitude: 40.384213,
    longitude: 71.784287,
    address: 'Mustaqillik ko‘chasi, 45-uy',
  },
  {
    id: 3,
    name: 'Samarqand Filiali',
    latitude: 39.654166,
    longitude: 66.959722,
    address: 'Registon ko‘chasi, 10-uy',
  },
];
