feat(app): add manual entry and sharing flows
This commit is contained in:
@@ -5,7 +5,9 @@ abstract class RecommendationRepository {
|
||||
Future<List<RecommendationRecord>> getAllRecommendationRecords();
|
||||
|
||||
/// 특정 맛집의 추천 기록을 가져옵니다
|
||||
Future<List<RecommendationRecord>> getRecommendationsByRestaurantId(String restaurantId);
|
||||
Future<List<RecommendationRecord>> getRecommendationsByRestaurantId(
|
||||
String restaurantId,
|
||||
);
|
||||
|
||||
/// 날짜별 추천 기록을 가져옵니다
|
||||
Future<List<RecommendationRecord>> getRecommendationsByDate(DateTime date);
|
||||
@@ -36,4 +38,4 @@ abstract class RecommendationRepository {
|
||||
|
||||
/// 월별 추천 통계를 가져옵니다
|
||||
Future<Map<String, int>> getMonthlyRecommendationStats(int year, int month);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -44,6 +44,16 @@ abstract class RestaurantRepository {
|
||||
/// 네이버 지도 URL로부터 맛집을 추가합니다
|
||||
Future<Restaurant> addRestaurantFromUrl(String url);
|
||||
|
||||
/// 네이버 지도 URL로부터 식당 정보를 미리보기로 가져옵니다
|
||||
Future<Restaurant> previewRestaurantFromUrl(String url);
|
||||
|
||||
/// 네이버 로컬 검색에서 식당을 검색합니다
|
||||
Future<List<Restaurant>> searchRestaurantsFromNaver({
|
||||
required String query,
|
||||
double? latitude,
|
||||
double? longitude,
|
||||
});
|
||||
|
||||
/// 네이버 Place ID로 맛집을 찾습니다
|
||||
Future<Restaurant?> getRestaurantByNaverPlaceId(String naverPlaceId);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,4 +57,4 @@ abstract class SettingsRepository {
|
||||
|
||||
/// UserSettings 변경사항을 스트림으로 감시합니다
|
||||
Stream<UserSettings> watchUserSettings();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,4 +39,4 @@ abstract class VisitRepository {
|
||||
|
||||
/// 카테고리별 방문 통계를 가져옵니다
|
||||
Future<Map<String, int>> getCategoryVisitStats();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,4 +18,4 @@ abstract class WeatherRepository {
|
||||
|
||||
/// 날씨 정보 업데이트가 필요한지 확인합니다
|
||||
Future<bool> isWeatherUpdateNeeded();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user