Ragequit.

This commit is contained in:
2026-05-13 23:51:00 +03:00
parent efa3cb63b9
commit 547a77d52a
25 changed files with 425 additions and 156 deletions
@@ -1,6 +1,6 @@
package commands
import database.Repository
import collection.CollectionManager
import kotlinx.serialization.Contextual
import kotlinx.serialization.Serializable
import models.HumanBeing
@@ -10,7 +10,7 @@ import network.Response
* Выводит любой элемент с минимальным значением поля [HumanBeing.name].
*/
@Serializable
class MinByNameCommand(@Contextual private val manager: Repository) : Command {
class MinByNameCommand(@Contextual private val manager: CollectionManager) : Command {
override val name = "min_by_name"
override val description = "вывести элемент с минимальным именем"
override val type = CommandType.SIMPLE