Skip to content

Instantly share code, notes, and snippets.

data class DocumentListFilterOptions(
val allAccounts: Set<Account>,
val selectedAccountsIds: Set<AccountId>,
val allTypes: Set<DocumentType>,
val selectedTypes: Set<DocumentType>,
val allYears: Set<Year>,
val selectedYears: Set<Year>
)
fun DocumentListFilterOptions.filterPreviewText(): String {