퀘스트 목록 페이지 판정 · 다시 읽기 · 캠페인 응원 수를 고유 후원자 기준으로

This commit is contained in:
Sn-Kinos
2026-10-06 02:19:40 +09:00
parent 807e446b8b
commit 82662b9b9f
8 changed files with 164 additions and 18 deletions
+3
View File
@@ -561,6 +561,9 @@ class QuestDraft {
abstract interface class QuestRepository {
/// 명세 — *퀘스트 생성 최신순 소팅(최초 10개 노출, 스크롤 시 10개씩 로드)*.
///
/// [limit] 장보다 적게 돌려주면 더 읽을 문서가 없다는 뜻이다 — 화면은 이것으로 끝을 판정한다.
/// 구현은 걸러져 모자란 만큼 다음 페이지를 이어 읽어야 한다.
Future<List<QuestCard>> load({int limit = 10});
Future<List<QuestCard>> more({required int offset, int limit = 10});