change: Move MediaUploadApi to the correct package
This commit is contained in:
parent
2d0cf6c17e
commit
286a152fde
|
@ -31,8 +31,8 @@ import app.pachli.R
|
||||||
import app.pachli.components.compose.ComposeActivity.QueuedMedia
|
import app.pachli.components.compose.ComposeActivity.QueuedMedia
|
||||||
import app.pachli.core.common.string.randomAlphanumericString
|
import app.pachli.core.common.string.randomAlphanumericString
|
||||||
import app.pachli.core.data.model.InstanceInfo
|
import app.pachli.core.data.model.InstanceInfo
|
||||||
import app.pachli.core.mastodon.model.MediaUploadApi
|
|
||||||
import app.pachli.core.network.extensions.getServerErrorMessage
|
import app.pachli.core.network.extensions.getServerErrorMessage
|
||||||
|
import app.pachli.core.network.model.MediaUploadApi
|
||||||
import app.pachli.network.ProgressRequestBody
|
import app.pachli.network.ProgressRequestBody
|
||||||
import app.pachli.util.MEDIA_SIZE_UNKNOWN
|
import app.pachli.util.MEDIA_SIZE_UNKNOWN
|
||||||
import app.pachli.util.getImageSquarePixels
|
import app.pachli.util.getImageSquarePixels
|
||||||
|
|
|
@ -17,9 +17,9 @@
|
||||||
|
|
||||||
package app.pachli.core.network.di.test
|
package app.pachli.core.network.di.test
|
||||||
|
|
||||||
import app.pachli.core.mastodon.model.MediaUploadApi
|
|
||||||
import app.pachli.core.network.di.NetworkModule
|
import app.pachli.core.network.di.NetworkModule
|
||||||
import app.pachli.core.network.json.Guarded
|
import app.pachli.core.network.json.Guarded
|
||||||
|
import app.pachli.core.network.model.MediaUploadApi
|
||||||
import com.squareup.moshi.Moshi
|
import com.squareup.moshi.Moshi
|
||||||
import com.squareup.moshi.adapters.Rfc3339DateJsonAdapter
|
import com.squareup.moshi.adapters.Rfc3339DateJsonAdapter
|
||||||
import dagger.Module
|
import dagger.Module
|
||||||
|
|
|
@ -20,13 +20,13 @@ package app.pachli.core.network.di
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.os.Build
|
import android.os.Build
|
||||||
import app.pachli.core.common.util.versionName
|
import app.pachli.core.common.util.versionName
|
||||||
import app.pachli.core.mastodon.model.MediaUploadApi
|
|
||||||
import app.pachli.core.network.BuildConfig
|
import app.pachli.core.network.BuildConfig
|
||||||
import app.pachli.core.network.json.BooleanIfNull
|
import app.pachli.core.network.json.BooleanIfNull
|
||||||
import app.pachli.core.network.json.DefaultIfNull
|
import app.pachli.core.network.json.DefaultIfNull
|
||||||
import app.pachli.core.network.json.EnumConstantConverterFactory
|
import app.pachli.core.network.json.EnumConstantConverterFactory
|
||||||
import app.pachli.core.network.json.Guarded
|
import app.pachli.core.network.json.Guarded
|
||||||
import app.pachli.core.network.json.HasDefault
|
import app.pachli.core.network.json.HasDefault
|
||||||
|
import app.pachli.core.network.model.MediaUploadApi
|
||||||
import app.pachli.core.network.retrofit.InstanceSwitchAuthInterceptor
|
import app.pachli.core.network.retrofit.InstanceSwitchAuthInterceptor
|
||||||
import app.pachli.core.network.retrofit.MastodonApi
|
import app.pachli.core.network.retrofit.MastodonApi
|
||||||
import app.pachli.core.network.retrofit.apiresult.ApiResultCallAdapterFactory
|
import app.pachli.core.network.retrofit.apiresult.ApiResultCallAdapterFactory
|
||||||
|
|
|
@ -15,9 +15,8 @@
|
||||||
* see <http://www.gnu.org/licenses>.
|
* see <http://www.gnu.org/licenses>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package app.pachli.core.mastodon.model
|
package app.pachli.core.network.model
|
||||||
|
|
||||||
import app.pachli.core.network.model.MediaUploadResult
|
|
||||||
import okhttp3.MultipartBody
|
import okhttp3.MultipartBody
|
||||||
import retrofit2.Response
|
import retrofit2.Response
|
||||||
import retrofit2.http.Multipart
|
import retrofit2.http.Multipart
|
||||||
|
|
Loading…
Reference in New Issue