feat: ZNS-Cloud-Sync und manuellen Veranstalter-Button im Wizard hinzugefügt
Desktop CI — Headless Tests & Build / Compose Desktop — Tests (headless) & Build (push) Failing after 59s
Build and Publish Docker Images / build-and-push (., backend/infrastructure/gateway/Dockerfile, api-gateway, api-gateway) (push) Successful in 6m6s
Build and Publish Docker Images / build-and-push (., backend/services/ping/Dockerfile, ping-service, ping-service) (push) Successful in 6m10s
Build and Publish Docker Images / build-and-push (., config/docker/caddy/web-app/Dockerfile, web-app, web-app) (push) Failing after 1m13s
Build and Publish Docker Images / build-and-push (., config/docker/keycloak/Dockerfile, keycloak, keycloak) (push) Successful in 1m51s

Signed-off-by: StefanMoCoAt <stefan.mo.co@gmail.com>
This commit is contained in:
2026-04-17 00:31:35 +02:00
parent a1194adeac
commit 4b6a242372
7 changed files with 346 additions and 4 deletions
@@ -10,11 +10,25 @@ data class ZnsImportState(
val errors: List<String> = emptyList(),
val errorMessage: String? = null,
val isFinished: Boolean = false,
val remoteResults: List<ZnsRemoteVerein> = emptyList(),
val isSearching: Boolean = false,
val lastSyncVersion: String? = null,
val isSyncing: Boolean = false,
)
data class ZnsRemoteVerein(
val id: String,
val name: String,
val oepsNummer: String,
val ort: String?,
val bundesland: String?,
)
interface ZnsImportProvider {
val state: ZnsImportState
fun onFileSelected(path: String)
fun startImport(mode: String = "FULL")
fun searchRemote(query: String)
fun syncFromCloud(onResult: (List<ZnsRemoteVerein>) -> Unit)
fun reset()
}