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

Functions

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