package com.anytypeio.anytype.domain.library

import com.anytypeio.anytype.core_models.DVFilter
import com.anytypeio.anytype.core_models.DVSort
import com.anytypeio.anytype.core_models.Id
import com.anytypeio.anytype.core_models.Key
import com.anytypeio.anytype.core_models.primitives.SpaceId

data class StoreSearchParams(
    val space: SpaceId,
    val subscription: Id,
    val sorts: List<DVSort> = emptyList(),
    val filters: List<DVFilter> = emptyList(),
    val source: List<String> = emptyList(),
    val offset: Long = 0,
    val limit: Int = 0,
    val keys: List<String> = emptyList(),
    val collection: Id? = null
)

data class StoreSearchByIdsParams(
    val space: SpaceId,
    val subscription: Id,
    val keys: List<Key>,
    val targets: List<Id>,
)