Package dev.inmo.micro_utils.repos.ktor.client.crud

Types

KtorCRUDRepoClient
Link copied to clipboard
KtorReadCRUDRepoClient
Link copied to clipboard
class KtorReadCRUDRepoClient<ObjectType, IdType>(    baseUrl: String,     httpClient: <ERROR CLASS>,     objectType: <ERROR CLASS>,     paginationObjectType: <ERROR CLASS>,     contentType: <ERROR CLASS>,     idSerializer: suspend (IdType) -> String) : ReadCRUDRepo<ObjectType, IdType>
class KtorReadCRUDRepoClient<ObjectType, IdType>(    baseUrl: String,     httpClient: <ERROR CLASS>,     objectType: <ERROR CLASS>,     paginationObjectType: <ERROR CLASS>,     contentType: <ERROR CLASS>,     idSerializer: suspend (IdType) -> String) : ReadCRUDRepo<ObjectType, IdType>
class KtorReadCRUDRepoClient<ObjectType, IdType>(    baseUrl: String,     httpClient: <ERROR CLASS>,     objectType: <ERROR CLASS>,     paginationObjectType: <ERROR CLASS>,     contentType: <ERROR CLASS>,     idSerializer: suspend (IdType) -> String) : ReadCRUDRepo<ObjectType, IdType>
KtorWriteCrudRepoClient
Link copied to clipboard
class KtorWriteCrudRepoClient<ObjectType, IdType, InputValue>(    baseUrl: String,     httpClient: <ERROR CLASS>,     val newObjectsFlow: Flow<ObjectType>,     val updatedObjectsFlow: Flow<ObjectType>,     val deletedObjectsIdsFlow: Flow<IdType>,     createSetup: suspend <ERROR CLASS>.(List<InputValue>) -> Unit,     updateSetup: suspend <ERROR CLASS>.(List<UpdatedValuePair<IdType, InputValue>>) -> Unit,     deleteByIdSetup: suspend <ERROR CLASS>.(List<IdType>) -> Unit,     createBodyGetter: suspend <ERROR CLASS>.() -> List<ObjectType>,     updateBodyGetter: suspend <ERROR CLASS>.() -> List<ObjectType>) : WriteCRUDRepo<ObjectType, IdType, InputValue>
class KtorWriteCrudRepoClient<ObjectType, IdType, InputValue>(    baseUrl: String,     httpClient: <ERROR CLASS>,     val newObjectsFlow: Flow<ObjectType>,     val updatedObjectsFlow: Flow<ObjectType>,     val deletedObjectsIdsFlow: Flow<IdType>,     createSetup: suspend <ERROR CLASS>.(List<InputValue>) -> Unit,     updateSetup: suspend <ERROR CLASS>.(List<UpdatedValuePair<IdType, InputValue>>) -> Unit,     deleteByIdSetup: suspend <ERROR CLASS>.(List<IdType>) -> Unit,     createBodyGetter: suspend <ERROR CLASS>.() -> List<ObjectType>,     updateBodyGetter: suspend <ERROR CLASS>.() -> List<ObjectType>) : WriteCRUDRepo<ObjectType, IdType, InputValue>
class KtorWriteCrudRepoClient<ObjectType, IdType, InputValue>(    baseUrl: String,     httpClient: <ERROR CLASS>,     val newObjectsFlow: Flow<ObjectType>,     val updatedObjectsFlow: Flow<ObjectType>,     val deletedObjectsIdsFlow: Flow<IdType>,     createSetup: suspend <ERROR CLASS>.(List<InputValue>) -> Unit,     updateSetup: suspend <ERROR CLASS>.(List<UpdatedValuePair<IdType, InputValue>>) -> Unit,     deleteByIdSetup: suspend <ERROR CLASS>.(List<IdType>) -> Unit,     createBodyGetter: suspend <ERROR CLASS>.() -> List<ObjectType>,     updateBodyGetter: suspend <ERROR CLASS>.() -> List<ObjectType>) : WriteCRUDRepo<ObjectType, IdType, InputValue>

Functions

KtorCRUDRepoClient
Link copied to clipboard
inline fun <ObjectType, IdType, InputValue> KtorCRUDRepoClient(    baseUrl: String,     httpClient: <ERROR CLASS>,     idsSerializer: <ERROR CLASS><IdType>,     serialFormat: <ERROR CLASS>,     contentType: <ERROR CLASS>): KtorCRUDRepoClient<ObjectType, IdType, InputValue>
inline fun <ObjectType, IdType, InputValue> KtorCRUDRepoClient(    baseUrl: String,     httpClient: <ERROR CLASS>,     idsSerializer: <ERROR CLASS><IdType>,     serialFormat: <ERROR CLASS>,     contentType: <ERROR CLASS>): KtorCRUDRepoClient<ObjectType, IdType, InputValue>
inline fun <ObjectType, IdType, InputValue> KtorCRUDRepoClient(    baseUrl: String,     subpart: String,     httpClient: <ERROR CLASS>,     contentType: <ERROR CLASS>,     noinline idSerializer: suspend (IdType) -> String): KtorCRUDRepoClient<ObjectType, IdType, InputValue>
inline fun <ObjectType, IdType, InputValue> KtorCRUDRepoClient(    baseUrl: String,     subpart: String,     httpClient: <ERROR CLASS>,     idsSerializer: <ERROR CLASS><IdType>,     serialFormat: <ERROR CLASS>,     contentType: <ERROR CLASS>): <ERROR CLASS>
inline fun <ObjectType, IdType, InputValue> KtorCRUDRepoClient(    baseUrl: String,     subpart: String,     httpClient: <ERROR CLASS>,     idsSerializer: <ERROR CLASS><IdType>,     serialFormat: <ERROR CLASS>,     contentType: <ERROR CLASS>): <ERROR CLASS>
inline fun <ObjectType, IdType, InputValue> KtorCRUDRepoClient(    baseUrl: String,     httpClient: <ERROR CLASS>,     idsSerializer: <ERROR CLASS><IdType>,     serialFormat: <ERROR CLASS>,     contentType: <ERROR CLASS>): KtorCRUDRepoClient<ObjectType, IdType, InputValue>
inline fun <ObjectType, IdType, InputValue> KtorCRUDRepoClient(    baseUrl: String,     httpClient: <ERROR CLASS>,     idsSerializer: <ERROR CLASS><IdType>,     serialFormat: <ERROR CLASS>,     contentType: <ERROR CLASS>): KtorCRUDRepoClient<ObjectType, IdType, InputValue>
inline fun <ObjectType, IdType, InputValue> KtorCRUDRepoClient(    baseUrl: String,     subpart: String,     httpClient: <ERROR CLASS>,     contentType: <ERROR CLASS>,     noinline idSerializer: suspend (IdType) -> String): KtorCRUDRepoClient<ObjectType, IdType, InputValue>
inline fun <ObjectType, IdType, InputValue> KtorCRUDRepoClient(    baseUrl: String,     subpart: String,     httpClient: <ERROR CLASS>,     idsSerializer: <ERROR CLASS><IdType>,     serialFormat: <ERROR CLASS>,     contentType: <ERROR CLASS>): <ERROR CLASS>
inline fun <ObjectType, IdType, InputValue> KtorCRUDRepoClient(    baseUrl: String,     subpart: String,     httpClient: <ERROR CLASS>,     idsSerializer: <ERROR CLASS><IdType>,     serialFormat: <ERROR CLASS>,     contentType: <ERROR CLASS>): <ERROR CLASS>
inline fun <ObjectType, IdType, InputValue> KtorCRUDRepoClient(    baseUrl: String,     httpClient: <ERROR CLASS>,     idsSerializer: <ERROR CLASS><IdType>,     serialFormat: <ERROR CLASS>,     contentType: <ERROR CLASS>): KtorCRUDRepoClient<ObjectType, IdType, InputValue>
inline fun <ObjectType, IdType, InputValue> KtorCRUDRepoClient(    baseUrl: String,     httpClient: <ERROR CLASS>,     idsSerializer: <ERROR CLASS><IdType>,     serialFormat: <ERROR CLASS>,     contentType: <ERROR CLASS>): KtorCRUDRepoClient<ObjectType, IdType, InputValue>
inline fun <ObjectType, IdType, InputValue> KtorCRUDRepoClient(    baseUrl: String,     subpart: String,     httpClient: <ERROR CLASS>,     contentType: <ERROR CLASS>,     noinline idSerializer: suspend (IdType) -> String): KtorCRUDRepoClient<ObjectType, IdType, InputValue>
inline fun <ObjectType, IdType, InputValue> KtorCRUDRepoClient(    baseUrl: String,     subpart: String,     httpClient: <ERROR CLASS>,     idsSerializer: <ERROR CLASS><IdType>,     serialFormat: <ERROR CLASS>,     contentType: <ERROR CLASS>): <ERROR CLASS>
inline fun <ObjectType, IdType, InputValue> KtorCRUDRepoClient(    baseUrl: String,     subpart: String,     httpClient: <ERROR CLASS>,     idsSerializer: <ERROR CLASS><IdType>,     serialFormat: <ERROR CLASS>,     contentType: <ERROR CLASS>): <ERROR CLASS>
KtorReadCRUDRepoClient
Link copied to clipboard
inline fun <ObjectType, IdType> KtorReadCRUDRepoClient(    baseUrl: String,     httpClient: <ERROR CLASS>,     contentType: <ERROR CLASS>,     noinline idSerializer: suspend (IdType) -> String): KtorReadCRUDRepoClient<ObjectType, IdType>
inline fun <ObjectType, IdType> KtorReadCRUDRepoClient(    baseUrl: String,     httpClient: <ERROR CLASS>,     idsSerializer: <ERROR CLASS><IdType>,     serialFormat: <ERROR CLASS>,     contentType: <ERROR CLASS>): KtorReadCRUDRepoClient<ObjectType, IdType>
inline fun <ObjectType, IdType> KtorReadCRUDRepoClient(    baseUrl: String,     httpClient: <ERROR CLASS>,     idsSerializer: <ERROR CLASS><IdType>,     serialFormat: <ERROR CLASS>,     contentType: <ERROR CLASS>): KtorReadCRUDRepoClient<ObjectType, IdType>
inline fun <ObjectType, IdType> KtorReadCRUDRepoClient(    baseUrl: String,     httpClient: <ERROR CLASS>,     contentType: <ERROR CLASS>,     noinline idSerializer: suspend (IdType) -> String): KtorReadCRUDRepoClient<ObjectType, IdType>
inline fun <ObjectType, IdType> KtorReadCRUDRepoClient(    baseUrl: String,     httpClient: <ERROR CLASS>,     idsSerializer: <ERROR CLASS><IdType>,     serialFormat: <ERROR CLASS>,     contentType: <ERROR CLASS>): KtorReadCRUDRepoClient<ObjectType, IdType>
inline fun <ObjectType, IdType> KtorReadCRUDRepoClient(    baseUrl: String,     httpClient: <ERROR CLASS>,     idsSerializer: <ERROR CLASS><IdType>,     serialFormat: <ERROR CLASS>,     contentType: <ERROR CLASS>): KtorReadCRUDRepoClient<ObjectType, IdType>
inline fun <ObjectType, IdType> KtorReadCRUDRepoClient(    baseUrl: String,     httpClient: <ERROR CLASS>,     contentType: <ERROR CLASS>,     noinline idSerializer: suspend (IdType) -> String): KtorReadCRUDRepoClient<ObjectType, IdType>
inline fun <ObjectType, IdType> KtorReadCRUDRepoClient(    baseUrl: String,     httpClient: <ERROR CLASS>,     idsSerializer: <ERROR CLASS><IdType>,     serialFormat: <ERROR CLASS>,     contentType: <ERROR CLASS>): KtorReadCRUDRepoClient<ObjectType, IdType>
inline fun <ObjectType, IdType> KtorReadCRUDRepoClient(    baseUrl: String,     httpClient: <ERROR CLASS>,     idsSerializer: <ERROR CLASS><IdType>,     serialFormat: <ERROR CLASS>,     contentType: <ERROR CLASS>): KtorReadCRUDRepoClient<ObjectType, IdType>