Package dev. inmo. micro_utils. repos. ktor. server. crud
Functions
configure Read Standard Crud Repo Routes
Link copied to clipboard
fun <ObjectType, IdType> <ERROR CLASS>.configureReadStandardCrudRepoRoutes(originalRepo: ReadStandardCRUDRepo<ObjectType, IdType>, objectsSerializer: KSerializer<ObjectType>, objectsNullableSerializer: KSerializer<ObjectType?>, idsSerializer: KSerializer<IdType>, unifiedRouter: UnifiedRouter)
Content copied to clipboard
inline fun <ObjectType, IdType> <ERROR CLASS>.configureReadStandardCrudRepoRoutes(originalRepo: ReadStandardCRUDRepo<ObjectType, IdType>, objectsSerializer: KSerializer<ObjectType>, objectsNullableSerializer: KSerializer<ObjectType?>, idsSerializer: KSerializer<IdType>, serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat, serialFormatContentType: <ERROR CLASS> = standardKtorSerialFormatContentType): <ERROR CLASS>
Content copied to clipboard
configure Standard Crud Repo Routes
Link copied to clipboard
fun <ObjectType, IdType, InputValue> <ERROR CLASS>.configureStandardCrudRepoRoutes(baseSubpart: String, originalRepo: StandardCRUDRepo<ObjectType, IdType, InputValue>, objectsSerializer: KSerializer<ObjectType>, objectsNullableSerializer: KSerializer<ObjectType?>, inputsSerializer: KSerializer<InputValue>, idsSerializer: KSerializer<IdType>, unifiedRouter: UnifiedRouter)
Content copied to clipboard
fun <ObjectType, IdType, InputValue> <ERROR CLASS>.configureStandardCrudRepoRoutes(baseSubpart: String, originalRepo: StandardCRUDRepo<ObjectType, IdType, InputValue>, objectsSerializer: KSerializer<ObjectType>, objectsNullableSerializer: KSerializer<ObjectType?>, inputsSerializer: KSerializer<InputValue>, idsSerializer: KSerializer<IdType>, serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat, serialFormatContentType: <ERROR CLASS> = standardKtorSerialFormatContentType): <ERROR CLASS>
Content copied to clipboard
configure Write Standard Crud Repo Routes
Link copied to clipboard
fun <ObjectType, IdType, InputValue> <ERROR CLASS>.configureWriteStandardCrudRepoRoutes(originalRepo: WriteStandardCRUDRepo<ObjectType, IdType, InputValue>, objectsSerializer: KSerializer<ObjectType>, objectsNullableSerializer: KSerializer<ObjectType?>, inputsSerializer: KSerializer<InputValue>, idsSerializer: KSerializer<IdType>, unifiedRouter: UnifiedRouter)
Content copied to clipboard
fun <ObjectType, IdType, InputValue> <ERROR CLASS>.configureWriteStandardCrudRepoRoutes(originalRepo: WriteStandardCRUDRepo<ObjectType, IdType, InputValue>, objectsSerializer: KSerializer<ObjectType>, objectsNullableSerializer: KSerializer<ObjectType?>, inputsSerializer: KSerializer<InputValue>, idsSerializer: KSerializer<IdType>, serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat, serialFormatContentType: <ERROR CLASS> = standardKtorSerialFormatContentType): <ERROR CLASS>
Content copied to clipboard