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

Functions

Link copied to clipboard
inline fun <ObjectType : Any, IdType : Any, InputValue : Any> <ERROR CLASS>.configureCRUDRepoRoutes(originalRepo: CRUDRepo<ObjectType, IdType, InputValue>, noinline idDeserializer: suspend (String) -> IdType)
inline fun <ObjectType : Any, IdType : Any, InputValue : Any> <ERROR CLASS>.configureCRUDRepoRoutes(    originalRepo: CRUDRepo<ObjectType, IdType, InputValue>,     idsSerializer: <ERROR CLASS><IdType>,     serialFormat: <ERROR CLASS>): <ERROR CLASS>
inline fun <ObjectType : Any, IdType : Any, InputValue : Any> <ERROR CLASS>.configureCRUDRepoRoutes(    originalRepo: CRUDRepo<ObjectType, IdType, InputValue>,     idsSerializer: <ERROR CLASS><IdType>,     serialFormat: <ERROR CLASS>): <ERROR CLASS>
fun <ObjectType, IdType, InputValue> <ERROR CLASS>.configureCRUDRepoRoutes(    baseSubpart: String,     originalRepo: CRUDRepo<ObjectType, IdType, InputValue>,     objectsSerializer: <ERROR CLASS><ObjectType>,     objectsNullableSerializer: <ERROR CLASS><ObjectType?>,     inputsSerializer: <ERROR CLASS><InputValue>,     idsSerializer: <ERROR CLASS><IdType>,     unifiedRouter: UnifiedRouter)
fun <ObjectType, IdType, InputValue> <ERROR CLASS>.configureCRUDRepoRoutes(    baseSubpart: String,     originalRepo: CRUDRepo<ObjectType, IdType, InputValue>,     objectsSerializer: <ERROR CLASS><ObjectType>,     objectsNullableSerializer: <ERROR CLASS><ObjectType?>,     inputsSerializer: <ERROR CLASS><InputValue>,     idsSerializer: <ERROR CLASS><IdType>,     serialFormat: <ERROR CLASS> = standardKtorSerialFormat,     serialFormatContentType: <ERROR CLASS> = standardKtorSerialFormatContentType): <ERROR CLASS>
Link copied to clipboard
inline fun <ObjectType, IdType> <ERROR CLASS>.configureReadCRUDRepoRoutes(originalRepo: ReadCRUDRepo<ObjectType, IdType>, noinline idDeserializer: suspend (String) -> IdType)
inline fun <ObjectType, IdType> <ERROR CLASS>.configureReadCRUDRepoRoutes(    originalRepo: ReadCRUDRepo<ObjectType, IdType>,     idsSerializer: <ERROR CLASS><IdType>,     serialFormat: <ERROR CLASS>): <ERROR CLASS>
inline fun <ObjectType, IdType> <ERROR CLASS>.configureReadCRUDRepoRoutes(    originalRepo: ReadCRUDRepo<ObjectType, IdType>,     idsSerializer: <ERROR CLASS><IdType>,     serialFormat: <ERROR CLASS>): <ERROR CLASS>
fun <ObjectType, IdType> <ERROR CLASS>.configureReadCRUDRepoRoutes(    originalRepo: ReadCRUDRepo<ObjectType, IdType>,     objectsSerializer: <ERROR CLASS><ObjectType>,     objectsNullableSerializer: <ERROR CLASS><ObjectType?>,     idsSerializer: <ERROR CLASS><IdType>,     unifiedRouter: UnifiedRouter)
inline fun <ObjectType, IdType> <ERROR CLASS>.configureReadCRUDRepoRoutes(    originalRepo: ReadCRUDRepo<ObjectType, IdType>,     objectsSerializer: <ERROR CLASS><ObjectType>,     objectsNullableSerializer: <ERROR CLASS><ObjectType?>,     idsSerializer: <ERROR CLASS><IdType>,     serialFormat: <ERROR CLASS> = standardKtorSerialFormat,     serialFormatContentType: <ERROR CLASS> = standardKtorSerialFormatContentType): <ERROR CLASS>
Link copied to clipboard
inline fun <ObjectType : Any, IdType : Any, InputValue : Any> <ERROR CLASS>.configureWriteCRUDRepoRoutes(originalRepo: WriteCRUDRepo<ObjectType, IdType, InputValue>)
fun <ObjectType, IdType, InputValue> <ERROR CLASS>.configureWriteCRUDRepoRoutes(    originalRepo: WriteCRUDRepo<ObjectType, IdType, InputValue>,     objectsSerializer: <ERROR CLASS><ObjectType>,     objectsNullableSerializer: <ERROR CLASS><ObjectType?>,     inputsSerializer: <ERROR CLASS><InputValue>,     idsSerializer: <ERROR CLASS><IdType>,     unifiedRouter: UnifiedRouter)
fun <ObjectType, IdType, InputValue> <ERROR CLASS>.configureWriteCRUDRepoRoutes(    originalRepo: WriteCRUDRepo<ObjectType, IdType, InputValue>,     objectsSerializer: <ERROR CLASS><ObjectType>,     objectsNullableSerializer: <ERROR CLASS><ObjectType?>,     inputsSerializer: <ERROR CLASS><InputValue>,     idsSerializer: <ERROR CLASS><IdType>,     serialFormat: <ERROR CLASS> = standardKtorSerialFormat,     serialFormatContentType: <ERROR CLASS> = standardKtorSerialFormatContentType): <ERROR CLASS>