Package-level declarations

Types

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

Functions

Link copied to clipboard
inline fun <ObjectType, IdType, InputValue> KtorCRUDRepoClient(baseUrl: String, httpClient: <Error class: unknown class>, idsSerializer: KSerializer<IdType>, serialFormat: BinaryFormat, contentType: <Error class: unknown class>): KtorCRUDRepoClient<ObjectType, IdType, InputValue>
inline fun <ObjectType, IdType, InputValue> KtorCRUDRepoClient(baseUrl: String, httpClient: <Error class: unknown class>, idsSerializer: KSerializer<IdType>, serialFormat: StringFormat, contentType: <Error class: unknown class>): KtorCRUDRepoClient<ObjectType, IdType, InputValue>
inline fun <ObjectType, IdType, InputValue> KtorCRUDRepoClient(baseUrl: String, subpart: String, httpClient: <Error class: unknown class>, idsSerializer: KSerializer<IdType>, serialFormat: BinaryFormat, contentType: <Error class: unknown class>): KtorCRUDRepoClient<ObjectType, IdType, InputValue>
inline fun <ObjectType, IdType, InputValue> KtorCRUDRepoClient(baseUrl: String, subpart: String, httpClient: <Error class: unknown class>, idsSerializer: KSerializer<IdType>, serialFormat: StringFormat, contentType: <Error class: unknown class>): KtorCRUDRepoClient<ObjectType, IdType, InputValue>
inline fun <ObjectType, IdType, InputValue> KtorCRUDRepoClient(baseUrl: String, subpart: String, httpClient: <Error class: unknown class>, contentType: <Error class: unknown class>, newObjectsFlow: Flow<ObjectType> = httpClient.createStandardWebsocketFlow( buildStandardUrl(baseUrl, newObjectsFlowRouting), ), updatedObjectsFlow: Flow<ObjectType> = httpClient.createStandardWebsocketFlow( buildStandardUrl(baseUrl, updatedObjectsFlowRouting), ), deletedObjectsIdsFlow: Flow<IdType> = httpClient.createStandardWebsocketFlow( buildStandardUrl(baseUrl, deletedObjectsIdsFlowRouting), ), noinline idSerializer: suspend (IdType) -> String): KtorCRUDRepoClient<ObjectType, IdType, InputValue>
Link copied to clipboard
inline fun <ObjectType, IdType> KtorReadCRUDRepoClient(baseUrl: String, httpClient: <Error class: unknown class>, contentType: <Error class: unknown class>, noinline idSerializer: suspend (IdType) -> String): KtorReadCRUDRepoClient<ObjectType, IdType>
inline fun <ObjectType, IdType> KtorReadCRUDRepoClient(baseUrl: String, httpClient: <Error class: unknown class>, idsSerializer: KSerializer<IdType>, serialFormat: BinaryFormat, contentType: <Error class: unknown class>): KtorReadCRUDRepoClient<ObjectType, IdType>
inline fun <ObjectType, IdType> KtorReadCRUDRepoClient(baseUrl: String, httpClient: <Error class: unknown class>, idsSerializer: KSerializer<IdType>, serialFormat: StringFormat, contentType: <Error class: unknown class>): KtorReadCRUDRepoClient<ObjectType, IdType>