mirror of https://github.com/tasks/tasks
Move some more filters to kmp
parent
e78d452d7b
commit
17af8ab373
@ -1,10 +1,8 @@
|
||||
package com.todoroo.astrid.api
|
||||
package org.tasks.filters
|
||||
|
||||
import kotlinx.parcelize.Parcelize
|
||||
import org.tasks.filters.Filter
|
||||
import org.tasks.filters.FilterListItem
|
||||
import org.tasks.CommonParcelize
|
||||
|
||||
@Parcelize
|
||||
@CommonParcelize
|
||||
class EmptyFilter(
|
||||
override val sql: String? = "WHERE 0",
|
||||
override val title: String? = null
|
@ -1,21 +1,17 @@
|
||||
package com.todoroo.astrid.api
|
||||
package org.tasks.filters
|
||||
|
||||
import org.tasks.data.sql.Criterion.Companion.and
|
||||
import org.tasks.data.sql.Join.Companion.left
|
||||
import org.tasks.data.sql.QueryTemplate
|
||||
import com.todoroo.andlib.utility.AndroidUtilities
|
||||
import org.tasks.data.entity.Task
|
||||
import kotlinx.parcelize.Parcelize
|
||||
import org.tasks.data.entity.CaldavCalendar
|
||||
import org.tasks.data.entity.CaldavTask
|
||||
import org.tasks.CommonParcelize
|
||||
import org.tasks.data.GoogleTask
|
||||
import org.tasks.data.NO_COUNT
|
||||
import org.tasks.data.dao.TaskDao.TaskCriteria.activeAndVisible
|
||||
import org.tasks.filters.Filter
|
||||
import org.tasks.filters.FilterListItem
|
||||
import org.tasks.filters.mapToSerializedString
|
||||
import org.tasks.data.entity.CaldavCalendar
|
||||
import org.tasks.data.entity.CaldavTask
|
||||
import org.tasks.data.entity.Task
|
||||
import org.tasks.data.sql.Criterion.Companion.and
|
||||
import org.tasks.data.sql.Join.Companion.left
|
||||
import org.tasks.data.sql.QueryTemplate
|
||||
|
||||
@Parcelize
|
||||
@CommonParcelize
|
||||
data class GtasksFilter(
|
||||
val list: CaldavCalendar,
|
||||
override val count: Int = NO_COUNT,
|
Loading…
Reference in New Issue