export const tripsQueryKeys = {
  getTripsYears: (token: string) => ['getTripsYears', { token }] as const,
  getTripsForYear: (token: string, year: string) => ['getTripsForYear', { token, year }] as const,
  setNewTrip: () => ['setNewTrip'] as const,
  updateTrip: () => ['updateTrip'] as const,
  deleteTrip: () => ['deleteTrip'] as const,
  getTrip: (token: string, trip_id: number) => ['getTrip', { token, trip_id }] as const,
  getRegionsForTrips: () => ['getRegionsForTrips'] as const,
  getTripsForRegion: (token: string, region: number) =>
    ['getTripsForRegion', { token, region }] as const,
  getRegionsThatHaveTrips: () => ['getRegionsThatHaveTrips'] as const
};
