async def list_destinations(
    db: AsyncSession = Depends(deps.get_db),
    user: schemas.User = Depends(deps.get_user),
) -> list[schemas.Destination]:
    """Get all available destinations.

    Args:
    -----
        db: The database session
        user: The current user

    Returns:
    --------
        List[schemas.Destination]: A list of destinations
    """
    destinations = await crud.destination.get_all(db)
    return destinations
Get all available destinations.

    Args:
    -----
        db: The database session
        user: The current user

    Returns:
    --------
        List[schemas.Destination]: A list of destinations
    
backend/airweave/api/v1/endpoints/destinations.py