package com.caliverse.admin.dynamodb.repository;

import com.caliverse.admin.domain.entity.EFilterOperator;
import com.caliverse.admin.dynamodb.domain.doc.ItemDoc;
import com.caliverse.admin.dynamodb.domain.doc.QuestDoc;
import com.caliverse.admin.dynamodb.dto.PageResult;
import software.amazon.awssdk.services.dynamodb.model.AttributeValue;

import java.util.Map;

public interface QuestRepository extends DynamoDBRepository<QuestDoc> {
    PageResult<QuestDoc> getQuestListWithPaging(
            String userGuid,
            String sortKeyPrefix,
            String filterAttributeName,
            EFilterOperator filterOperator,
            String filterAttributeValue,
            Map<String, AttributeValue> exclusiveStartKey,
            boolean sortIndex
    );
    void updateQuest(String guid, Integer questId);
    void deleteItem(String userGuid, Integer questId);

}
