Remove domain models and services related to Abteilung, AbteilungsRegelService, and Bewerb: cleanup unnecessary entities, validation logic, and tests across backend modules.

This commit is contained in:
2026-04-13 21:58:06 +02:00
parent 76d7019d30
commit fb1c1ee4ce
76 changed files with 1091 additions and 267 deletions
@@ -1,5 +1,7 @@
package at.mocode.turnier.feature.domain
import at.mocode.zns.parser.ZnsBewerb
data class Bewerb(
val id: Long,
val turnierId: Long,
@@ -44,5 +46,5 @@ interface BewerbRepository {
suspend fun getAuditLog(bewerbId: Long): Result<List<AuditLogEntry>>
suspend fun exportZnsBSatz(turnierId: Long): Result<String>
suspend fun delete(id: Long): Result<Unit>
suspend fun importBewerbe(turnierId: Long, bewerbe: List<at.mocode.zns.parser.ZnsBewerb>): Result<Unit>
suspend fun importBewerbe(turnierId: Long, bewerbe: List<ZnsBewerb>): Result<Unit>
}
@@ -0,0 +1,7 @@
package at.mocode.turnier.feature.di
import org.koin.dsl.module
actual val turnierFeatureModule = module {
// No-op or minimal for JS/Web
}
@@ -14,6 +14,7 @@ import androidx.compose.ui.graphics.Color
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
import com.sun.tools.javac.code.Type
import java.time.LocalDate
private val PrimaryBlue = Color(0xFF1E3A8A)
@@ -27,6 +28,7 @@ private val AccentBlue = Color(0xFF3B82F6)
* - Turnier-Beschreibung: Titel, Sub-Titel
* - Sponsoren
*/
@OptIn(ExperimentalMaterial3Api::class)
@Composable
fun StammdatenTabContent(