fix: update application namespace and clean up deprecated files
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 45s

- Changed application namespace from `de.tt_tagebuch.app` to `de.tsschulz.tt_tagebuch` in build.gradle.kts and AndroidManifest.xml for consistency.
- Updated DEVELOPMENT.md to reflect the correct package name for the app.
- Removed deprecated files related to AppDependencies, MainActivity, MainApplication, and PDF generation, streamlining the codebase.
- Enhanced TODO.md to reflect the current status of the Android team planning phase implementation.
This commit is contained in:
Torsten Schulz (local)
2026-05-14 19:17:51 +02:00
parent e0196a6617
commit 56ebffce69
201 changed files with 1816 additions and 984 deletions

View File

@@ -47,7 +47,7 @@ kotlin {
}
android {
namespace = "de.tt_tagebuch.shared"
namespace = "de.tsschulz.tt_tagebuch.shared"
compileSdk = libs.versions.android.compileSdk.get().toInt()
defaultConfig {
minSdk = libs.versions.android.minSdk.get().toInt()

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.http
package de.tsschulz.tt_tagebuch.shared.api.http
import io.ktor.client.engine.HttpClientEngine
import io.ktor.client.engine.okhttp.OkHttp

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.state
package de.tsschulz.tt_tagebuch.shared.state
import android.content.Context
import androidx.security.crypto.EncryptedSharedPreferences

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.state
package de.tsschulz.tt_tagebuch.shared.state
import android.content.Context
import kotlinx.coroutines.Dispatchers

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.state
package de.tsschulz.tt_tagebuch.shared.state
import android.content.Context
import androidx.security.crypto.EncryptedSharedPreferences

View File

@@ -1,8 +1,8 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.AccidentReportDto
import de.tt_tagebuch.shared.api.models.CreateAccidentBody
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.AccidentReportDto
import de.tsschulz.tt_tagebuch.shared.api.models.CreateAccidentBody
import io.ktor.client.call.body
import io.ktor.client.request.get
import io.ktor.client.request.post

View File

@@ -1,6 +1,6 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.models.*
import de.tsschulz.tt_tagebuch.shared.models.*
import io.ktor.client.*
import io.ktor.client.call.*
import io.ktor.client.plugins.contentnegotiation.*

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
data class ApiConfig(
val baseUrl: String,

View File

@@ -1,11 +1,11 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.ApiLogDetailDto
import de.tt_tagebuch.shared.api.models.ApiLogDetailEnvelopeDto
import de.tt_tagebuch.shared.api.models.ApiLogsListEnvelopeDto
import de.tt_tagebuch.shared.api.models.ApiLogsListPageDto
import de.tt_tagebuch.shared.api.models.SchedulerLastExecutionsEnvelopeDto
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.ApiLogDetailDto
import de.tsschulz.tt_tagebuch.shared.api.models.ApiLogDetailEnvelopeDto
import de.tsschulz.tt_tagebuch.shared.api.models.ApiLogsListEnvelopeDto
import de.tsschulz.tt_tagebuch.shared.api.models.ApiLogsListPageDto
import de.tsschulz.tt_tagebuch.shared.api.models.SchedulerLastExecutionsEnvelopeDto
import io.ktor.client.call.body
import io.ktor.client.request.get
import io.ktor.client.request.parameter

View File

@@ -1,8 +1,8 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.LoginRequest
import de.tt_tagebuch.shared.api.models.LoginResponse
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.LoginRequest
import de.tsschulz.tt_tagebuch.shared.api.models.LoginResponse
import io.ktor.client.call.body
import io.ktor.client.request.post
import io.ktor.client.request.setBody

View File

@@ -1,14 +1,14 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.BillingCreateRunBody
import de.tt_tagebuch.shared.api.models.BillingCreateRunEnvelope
import de.tt_tagebuch.shared.api.models.BillingGenerateBody
import de.tt_tagebuch.shared.api.models.BillingGenerateEnvelope
import de.tt_tagebuch.shared.api.models.BillingHoursPreviewEnvelope
import de.tt_tagebuch.shared.api.models.BillingRunsEnvelope
import de.tt_tagebuch.shared.api.models.BillingSettingsEnvelope
import de.tt_tagebuch.shared.api.models.BillingTemplatesEnvelope
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.BillingCreateRunBody
import de.tsschulz.tt_tagebuch.shared.api.models.BillingCreateRunEnvelope
import de.tsschulz.tt_tagebuch.shared.api.models.BillingGenerateBody
import de.tsschulz.tt_tagebuch.shared.api.models.BillingGenerateEnvelope
import de.tsschulz.tt_tagebuch.shared.api.models.BillingHoursPreviewEnvelope
import de.tsschulz.tt_tagebuch.shared.api.models.BillingRunsEnvelope
import de.tsschulz.tt_tagebuch.shared.api.models.BillingSettingsEnvelope
import de.tsschulz.tt_tagebuch.shared.api.models.BillingTemplatesEnvelope
import io.ktor.client.call.body
import io.ktor.client.request.delete
import io.ktor.client.request.forms.MultiPartFormDataContent

View File

@@ -1,7 +1,7 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.ClubCalendarHolidaysEnvelope
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.ClubCalendarHolidaysEnvelope
import io.ktor.client.call.body
import io.ktor.client.request.get
import io.ktor.client.request.parameter

View File

@@ -1,12 +1,12 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.ClickTtAccountEnvelope
import de.tt_tagebuch.shared.api.models.ClickTtAccountSaveResponse
import de.tt_tagebuch.shared.api.models.ClickTtAccountStatusDto
import de.tt_tagebuch.shared.api.models.ClickTtAccountUpsertBody
import de.tt_tagebuch.shared.api.models.ClickTtVerifyBody
import de.tt_tagebuch.shared.api.models.ClickTtVerifyResponseDto
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.ClickTtAccountEnvelope
import de.tsschulz.tt_tagebuch.shared.api.models.ClickTtAccountSaveResponse
import de.tsschulz.tt_tagebuch.shared.api.models.ClickTtAccountStatusDto
import de.tsschulz.tt_tagebuch.shared.api.models.ClickTtAccountUpsertBody
import de.tsschulz.tt_tagebuch.shared.api.models.ClickTtVerifyBody
import de.tsschulz.tt_tagebuch.shared.api.models.ClickTtVerifyResponseDto
import io.ktor.client.call.body
import io.ktor.client.request.delete
import io.ktor.client.request.get

View File

@@ -1,8 +1,8 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.ClubAccessDecisionBody
import de.tt_tagebuch.shared.api.models.PendingUserClubJoinDto
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.ClubAccessDecisionBody
import de.tsschulz.tt_tagebuch.shared.api.models.PendingUserClubJoinDto
import io.ktor.client.call.body
import io.ktor.client.request.get
import io.ktor.client.request.post

View File

@@ -1,12 +1,12 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.ClubLeagueOptionDto
import de.tt_tagebuch.shared.api.models.ClubTeamCreateBody
import de.tt_tagebuch.shared.api.models.ClubTeamDto
import de.tt_tagebuch.shared.api.models.ClubTeamLineupRowDto
import de.tt_tagebuch.shared.api.models.ClubTeamUpdateBody
import de.tt_tagebuch.shared.api.models.TeamLineupUpdateBody
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.ClubLeagueOptionDto
import de.tsschulz.tt_tagebuch.shared.api.models.ClubTeamCreateBody
import de.tsschulz.tt_tagebuch.shared.api.models.ClubTeamDto
import de.tsschulz.tt_tagebuch.shared.api.models.ClubTeamLineupRowDto
import de.tsschulz.tt_tagebuch.shared.api.models.ClubTeamUpdateBody
import de.tsschulz.tt_tagebuch.shared.api.models.TeamLineupUpdateBody
import io.ktor.client.call.body
import io.ktor.client.request.delete
import io.ktor.client.request.get

View File

@@ -1,8 +1,8 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.Club
import de.tt_tagebuch.shared.api.models.UpdateClubSettingsBody
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.Club
import de.tsschulz.tt_tagebuch.shared.api.models.UpdateClubSettingsBody
import io.ktor.client.call.body
import io.ktor.client.request.get
import io.ktor.client.request.post

View File

@@ -1,21 +1,21 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.AddDiaryNoteRequest
import de.tt_tagebuch.shared.api.models.AddFreeformActivityBody
import de.tt_tagebuch.shared.api.models.AddDiaryPlanGroupActivityRequest
import de.tt_tagebuch.shared.api.models.CreateDiaryDateRequest
import de.tt_tagebuch.shared.api.models.CreateDiaryPlanActivityRequest
import de.tt_tagebuch.shared.api.models.DiaryDate
import de.tt_tagebuch.shared.api.models.DiaryDateActivityItem
import de.tt_tagebuch.shared.api.models.DiaryFreeformActivity
import de.tt_tagebuch.shared.api.models.DiaryNote
import de.tt_tagebuch.shared.api.models.DiaryTag
import de.tt_tagebuch.shared.api.models.LinkDiaryTagRequest
import de.tt_tagebuch.shared.api.models.UpdateDiaryPlanActivityOrderRequest
import de.tt_tagebuch.shared.api.models.UpdateDiaryPlanActivityRequest
import de.tt_tagebuch.shared.api.models.UpdateDiaryTimesRequest
import de.tt_tagebuch.shared.api.models.UpdateNestedPlanGroupActivityRequest
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.AddDiaryNoteRequest
import de.tsschulz.tt_tagebuch.shared.api.models.AddFreeformActivityBody
import de.tsschulz.tt_tagebuch.shared.api.models.AddDiaryPlanGroupActivityRequest
import de.tsschulz.tt_tagebuch.shared.api.models.CreateDiaryDateRequest
import de.tsschulz.tt_tagebuch.shared.api.models.CreateDiaryPlanActivityRequest
import de.tsschulz.tt_tagebuch.shared.api.models.DiaryDate
import de.tsschulz.tt_tagebuch.shared.api.models.DiaryDateActivityItem
import de.tsschulz.tt_tagebuch.shared.api.models.DiaryFreeformActivity
import de.tsschulz.tt_tagebuch.shared.api.models.DiaryNote
import de.tsschulz.tt_tagebuch.shared.api.models.DiaryTag
import de.tsschulz.tt_tagebuch.shared.api.models.LinkDiaryTagRequest
import de.tsschulz.tt_tagebuch.shared.api.models.UpdateDiaryPlanActivityOrderRequest
import de.tsschulz.tt_tagebuch.shared.api.models.UpdateDiaryPlanActivityRequest
import de.tsschulz.tt_tagebuch.shared.api.models.UpdateDiaryTimesRequest
import de.tsschulz.tt_tagebuch.shared.api.models.UpdateNestedPlanGroupActivityRequest
import io.ktor.client.call.body
import io.ktor.client.request.delete
import io.ktor.client.request.get

View File

@@ -1,8 +1,8 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.AddMemberActivityParticipantsBody
import de.tt_tagebuch.shared.api.models.DiaryMemberActivityLink
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.AddMemberActivityParticipantsBody
import de.tsschulz.tt_tagebuch.shared.api.models.DiaryMemberActivityLink
import io.ktor.client.call.body
import io.ktor.client.request.delete
import io.ktor.client.request.get

View File

@@ -1,10 +1,10 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.AddDiaryMemberNoteBody
import de.tt_tagebuch.shared.api.models.DiaryMemberNoteDto
import de.tt_tagebuch.shared.api.models.DiaryMemberTagLinkDto
import de.tt_tagebuch.shared.api.models.DiaryMemberTagMutationBody
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.AddDiaryMemberNoteBody
import de.tsschulz.tt_tagebuch.shared.api.models.DiaryMemberNoteDto
import de.tsschulz.tt_tagebuch.shared.api.models.DiaryMemberTagLinkDto
import de.tsschulz.tt_tagebuch.shared.api.models.DiaryMemberTagMutationBody
import io.ktor.client.call.body
import io.ktor.client.request.delete
import io.ktor.client.request.get

View File

@@ -1,10 +1,10 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.CreateTrainingGroupBody
import de.tt_tagebuch.shared.api.models.DeleteTrainingGroupBody
import de.tt_tagebuch.shared.api.models.DiaryPlanGroup
import de.tt_tagebuch.shared.api.models.UpdateTrainingGroupBody
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.CreateTrainingGroupBody
import de.tsschulz.tt_tagebuch.shared.api.models.DeleteTrainingGroupBody
import de.tsschulz.tt_tagebuch.shared.api.models.DiaryPlanGroup
import de.tsschulz.tt_tagebuch.shared.api.models.UpdateTrainingGroupBody
import io.ktor.client.call.body
import io.ktor.client.request.delete
import io.ktor.client.request.get

View File

@@ -1,10 +1,10 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.LeaguePlayerStatDto
import de.tt_tagebuch.shared.api.models.LeagueTableRowDto
import de.tt_tagebuch.shared.api.models.ScheduleMatchDto
import de.tt_tagebuch.shared.api.models.UpdateMatchPlayersBody
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.LeaguePlayerStatDto
import de.tsschulz.tt_tagebuch.shared.api.models.LeagueTableRowDto
import de.tsschulz.tt_tagebuch.shared.api.models.ScheduleMatchDto
import de.tsschulz.tt_tagebuch.shared.api.models.UpdateMatchPlayersBody
import io.ktor.client.call.body
import io.ktor.client.request.get
import io.ktor.client.request.parameter

View File

@@ -1,8 +1,8 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.MemberActivityStatDto
import de.tt_tagebuch.shared.api.models.MemberLastParticipationDto
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.MemberActivityStatDto
import de.tsschulz.tt_tagebuch.shared.api.models.MemberLastParticipationDto
import io.ktor.client.call.body
import io.ktor.client.request.get
import io.ktor.client.request.parameter

View File

@@ -1,8 +1,8 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.MemberGroupPhotoDto
import de.tt_tagebuch.shared.api.models.MemberGroupPhotoListResponse
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.MemberGroupPhotoDto
import de.tsschulz.tt_tagebuch.shared.api.models.MemberGroupPhotoListResponse
import io.ktor.client.call.body
import io.ktor.client.request.delete
import io.ktor.client.request.forms.MultiPartFormDataContent

View File

@@ -1,10 +1,10 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.MemberOrderCreateBody
import de.tt_tagebuch.shared.api.models.MemberOrderEnvelope
import de.tt_tagebuch.shared.api.models.MemberOrderPatchBody
import de.tt_tagebuch.shared.api.models.MemberOrdersListEnvelope
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.MemberOrderCreateBody
import de.tsschulz.tt_tagebuch.shared.api.models.MemberOrderEnvelope
import de.tsschulz.tt_tagebuch.shared.api.models.MemberOrderPatchBody
import de.tsschulz.tt_tagebuch.shared.api.models.MemberOrdersListEnvelope
import io.ktor.client.call.body
import io.ktor.client.request.get
import io.ktor.client.request.patch

View File

@@ -1,9 +1,9 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.ApiException
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.MemberTransferConfigEnvelope
import de.tt_tagebuch.shared.api.models.MemberTransferConfigSaveBody
import de.tsschulz.tt_tagebuch.shared.api.http.ApiException
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.MemberTransferConfigEnvelope
import de.tsschulz.tt_tagebuch.shared.api.models.MemberTransferConfigSaveBody
import io.ktor.client.call.body
import io.ktor.client.request.delete
import io.ktor.client.request.get

View File

@@ -1,10 +1,12 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.Member
import de.tt_tagebuch.shared.api.models.MemberQuickMutationResponse
import de.tt_tagebuch.shared.api.models.MemberSetBody
import de.tt_tagebuch.shared.api.models.MemberTransferRunBody
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.Member
import de.tsschulz.tt_tagebuch.shared.api.models.MemberPlayInterestRowDto
import de.tsschulz.tt_tagebuch.shared.api.models.MemberPlayInterestSetBody
import de.tsschulz.tt_tagebuch.shared.api.models.MemberQuickMutationResponse
import de.tsschulz.tt_tagebuch.shared.api.models.MemberSetBody
import de.tsschulz.tt_tagebuch.shared.api.models.MemberTransferRunBody
import io.ktor.client.call.body
import io.ktor.client.request.forms.formData
import io.ktor.client.request.get
@@ -25,6 +27,19 @@ class MembersApi(
return client.http.get("/api/clubmembers/get/$clubId/$showAll").body()
}
suspend fun listPlayInterests(clubId: Int, seasonId: Int, lineupHalf: String): List<MemberPlayInterestRowDto> {
return client.http.get("/api/clubmembers/play-interest/$clubId") {
parameter("seasonId", seasonId)
parameter("lineupHalf", lineupHalf)
}.body()
}
suspend fun setPlayInterest(clubId: Int, body: MemberPlayInterestSetBody) {
client.http.post("/api/clubmembers/play-interest/$clubId") {
setBody(body)
}
}
suspend fun setMember(clubId: Int, body: MemberSetBody) {
client.http.post("/api/clubmembers/set/$clubId") {
setBody(body)

View File

@@ -1,18 +1,18 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.MyTtConfigureLeagueBody
import de.tt_tagebuch.shared.api.models.MyTtConfigureTeamBody
import de.tt_tagebuch.shared.api.models.MyTtFetchJobEnvelopeDto
import de.tt_tagebuch.shared.api.models.MyTtFetchJobStartDto
import de.tt_tagebuch.shared.api.models.MyTtFetchTeamDataBody
import de.tt_tagebuch.shared.api.models.MyTtParseUrlBody
import de.tt_tagebuch.shared.api.models.MyTischtennisAccountEnvelope
import de.tt_tagebuch.shared.api.models.MyTischtennisAccountSaveResponse
import de.tt_tagebuch.shared.api.models.MyTischtennisAccountUpsertBody
import de.tt_tagebuch.shared.api.models.MyTischtennisStatusDto
import de.tt_tagebuch.shared.api.models.MyTischtennisVerifyBody
import de.tt_tagebuch.shared.api.models.MyTischtennisVerifyResponseDto
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.MyTtConfigureLeagueBody
import de.tsschulz.tt_tagebuch.shared.api.models.MyTtConfigureTeamBody
import de.tsschulz.tt_tagebuch.shared.api.models.MyTtFetchJobEnvelopeDto
import de.tsschulz.tt_tagebuch.shared.api.models.MyTtFetchJobStartDto
import de.tsschulz.tt_tagebuch.shared.api.models.MyTtFetchTeamDataBody
import de.tsschulz.tt_tagebuch.shared.api.models.MyTtParseUrlBody
import de.tsschulz.tt_tagebuch.shared.api.models.MyTischtennisAccountEnvelope
import de.tsschulz.tt_tagebuch.shared.api.models.MyTischtennisAccountSaveResponse
import de.tsschulz.tt_tagebuch.shared.api.models.MyTischtennisAccountUpsertBody
import de.tsschulz.tt_tagebuch.shared.api.models.MyTischtennisStatusDto
import de.tsschulz.tt_tagebuch.shared.api.models.MyTischtennisVerifyBody
import de.tsschulz.tt_tagebuch.shared.api.models.MyTischtennisVerifyResponseDto
import io.ktor.client.call.body
import io.ktor.client.request.delete
import io.ktor.client.request.get

View File

@@ -1,15 +1,15 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.OfficialParticipationBucketDto
import de.tt_tagebuch.shared.api.models.OfficialParsedTournamentEnvelopeDto
import de.tt_tagebuch.shared.api.models.OfficialPatchTournamentBody
import de.tt_tagebuch.shared.api.models.OfficialParticipantStatusBody
import de.tt_tagebuch.shared.api.models.OfficialParticipantStatusResponseDto
import de.tt_tagebuch.shared.api.models.OfficialTournamentListRowDto
import de.tt_tagebuch.shared.api.models.OfficialTournamentUploadResultDto
import de.tt_tagebuch.shared.api.models.OfficialUpsertParticipationBody
import de.tt_tagebuch.shared.api.models.OfficialUpsertParticipationResponseDto
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.OfficialParticipationBucketDto
import de.tsschulz.tt_tagebuch.shared.api.models.OfficialParsedTournamentEnvelopeDto
import de.tsschulz.tt_tagebuch.shared.api.models.OfficialPatchTournamentBody
import de.tsschulz.tt_tagebuch.shared.api.models.OfficialParticipantStatusBody
import de.tsschulz.tt_tagebuch.shared.api.models.OfficialParticipantStatusResponseDto
import de.tsschulz.tt_tagebuch.shared.api.models.OfficialTournamentListRowDto
import de.tsschulz.tt_tagebuch.shared.api.models.OfficialTournamentUploadResultDto
import de.tsschulz.tt_tagebuch.shared.api.models.OfficialUpsertParticipationBody
import de.tsschulz.tt_tagebuch.shared.api.models.OfficialUpsertParticipationResponseDto
import io.ktor.client.call.body
import io.ktor.client.request.delete
import io.ktor.client.request.forms.MultiPartFormDataContent

View File

@@ -1,11 +1,11 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.DiaryTrainingParticipant
import de.tt_tagebuch.shared.api.models.ParticipantGroupRequest
import de.tt_tagebuch.shared.api.models.ParticipantMutationRequest
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.DiaryTrainingParticipant
import de.tsschulz.tt_tagebuch.shared.api.models.ParticipantGroupRequest
import de.tsschulz.tt_tagebuch.shared.api.models.ParticipantMutationRequest
import io.ktor.client.call.body
import de.tt_tagebuch.shared.api.models.ParticipantStatusRequest
import de.tsschulz.tt_tagebuch.shared.api.models.ParticipantStatusRequest
import io.ktor.client.request.get
import io.ktor.client.request.post
import io.ktor.client.request.put

View File

@@ -1,13 +1,13 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.AvailableRoleDto
import de.tt_tagebuch.shared.api.models.ClubPermissionMemberDto
import de.tt_tagebuch.shared.api.models.PermissionResourceDto
import de.tt_tagebuch.shared.api.models.UpdateUserApprovedBody
import de.tt_tagebuch.shared.api.models.UpdateUserCustomPermissionsBody
import de.tt_tagebuch.shared.api.models.UpdateUserRoleBody
import de.tt_tagebuch.shared.api.models.UserClubPermissions
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.AvailableRoleDto
import de.tsschulz.tt_tagebuch.shared.api.models.ClubPermissionMemberDto
import de.tsschulz.tt_tagebuch.shared.api.models.PermissionResourceDto
import de.tsschulz.tt_tagebuch.shared.api.models.UpdateUserApprovedBody
import de.tsschulz.tt_tagebuch.shared.api.models.UpdateUserCustomPermissionsBody
import de.tsschulz.tt_tagebuch.shared.api.models.UpdateUserRoleBody
import de.tsschulz.tt_tagebuch.shared.api.models.UserClubPermissions
import io.ktor.client.call.body
import io.ktor.client.request.get
import io.ktor.client.request.parameter

View File

@@ -1,8 +1,8 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.PredefinedActivityDto
import de.tt_tagebuch.shared.api.models.PredefinedActivityUpsertBody
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.PredefinedActivityDto
import de.tsschulz.tt_tagebuch.shared.api.models.PredefinedActivityUpsertBody
import io.ktor.client.call.body
import io.ktor.client.request.get
import io.ktor.client.request.parameter

View File

@@ -1,10 +1,10 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.PublicHttpClient
import de.tt_tagebuch.shared.api.models.ForgotPasswordRequest
import de.tt_tagebuch.shared.api.models.MessageResponse
import de.tt_tagebuch.shared.api.models.RegisterRequest
import de.tt_tagebuch.shared.api.models.ResetPasswordRequest
import de.tsschulz.tt_tagebuch.shared.api.http.PublicHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.ForgotPasswordRequest
import de.tsschulz.tt_tagebuch.shared.api.models.MessageResponse
import de.tsschulz.tt_tagebuch.shared.api.models.RegisterRequest
import de.tsschulz.tt_tagebuch.shared.api.models.ResetPasswordRequest
import io.ktor.client.call.body
import io.ktor.client.request.get
import io.ktor.client.request.post

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
/**
* Rollen-Standardrechte (analog [backend/services/permissionService.js] ROLE_PERMISSIONS)

View File

@@ -1,8 +1,8 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.models.ClubTeamDto
import de.tt_tagebuch.shared.api.models.ScheduleMatchDto
import de.tt_tagebuch.shared.api.models.ScheduleMatchScope
import de.tsschulz.tt_tagebuch.shared.api.models.ClubTeamDto
import de.tsschulz.tt_tagebuch.shared.api.models.ScheduleMatchDto
import de.tsschulz.tt_tagebuch.shared.api.models.ScheduleMatchScope
object ScheduleLogic {

View File

@@ -1,7 +1,7 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.SeasonDto
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.SeasonDto
import io.ktor.client.call.body
import io.ktor.client.request.get

View File

@@ -1,7 +1,7 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.SessionStatusResponse
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.SessionStatusResponse
import io.ktor.client.call.body
import io.ktor.client.request.get

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import io.socket.client.IO
import io.socket.client.Socket

View File

@@ -1,8 +1,8 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.TeamDocumentDto
import de.tt_tagebuch.shared.api.models.TeamDocumentParseEnvelopeDto
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.TeamDocumentDto
import de.tsschulz.tt_tagebuch.shared.api.models.TeamDocumentParseEnvelopeDto
import io.ktor.client.call.body
import io.ktor.client.request.delete
import io.ktor.client.request.forms.MultiPartFormDataContent

View File

@@ -1,49 +1,49 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.AddExternalTournamentParticipantBody
import de.tt_tagebuch.shared.api.models.AddMiniChampionshipBody
import de.tt_tagebuch.shared.api.models.AddStandardTournamentBody
import de.tt_tagebuch.shared.api.models.AddTournamentClassBody
import de.tt_tagebuch.shared.api.models.AssignParticipantToGroupBody
import de.tt_tagebuch.shared.api.models.CreateTournamentPairingBody
import de.tt_tagebuch.shared.api.models.GaveUpFlagBody
import de.tt_tagebuch.shared.api.models.InternalTournamentDetailDto
import de.tt_tagebuch.shared.api.models.InternalTournamentStatsDto
import de.tt_tagebuch.shared.api.models.InternalTournamentSummaryDto
import de.tt_tagebuch.shared.api.models.MergeTournamentPoolBody
import de.tt_tagebuch.shared.api.models.RemoveExternalTournamentParticipantBody
import de.tt_tagebuch.shared.api.models.ResetTournamentPoolBody
import de.tt_tagebuch.shared.api.models.SeededFlagBody
import de.tt_tagebuch.shared.api.models.SetTournamentModusBody
import de.tt_tagebuch.shared.api.models.TournamentAddInternalParticipantBody
import de.tt_tagebuch.shared.api.models.TournamentAddMatchResultBody
import de.tt_tagebuch.shared.api.models.TournamentAdvanceStageBody
import de.tt_tagebuch.shared.api.models.TournamentClassDto
import de.tt_tagebuch.shared.api.models.TournamentCleanupOrphanedBody
import de.tt_tagebuch.shared.api.models.TournamentClubTournamentBody
import de.tt_tagebuch.shared.api.models.TournamentCreateGroupMatchesBody
import de.tt_tagebuch.shared.api.models.TournamentCreateGroupsBody
import de.tt_tagebuch.shared.api.models.TournamentCreateGroupsPerClassBody
import de.tt_tagebuch.shared.api.models.TournamentDeleteKnockoutBody
import de.tt_tagebuch.shared.api.models.TournamentDeleteMatchResultBody
import de.tt_tagebuch.shared.api.models.TournamentExternalParticipantRowDto
import de.tt_tagebuch.shared.api.models.TournamentFinishMatchBody
import de.tt_tagebuch.shared.api.models.TournamentGetExternalParticipantsBody
import de.tt_tagebuch.shared.api.models.TournamentGetParticipantsBody
import de.tt_tagebuch.shared.api.models.TournamentManualAssignGroupsBody
import de.tt_tagebuch.shared.api.models.TournamentMatchActiveBody
import de.tt_tagebuch.shared.api.models.TournamentMatchDto
import de.tt_tagebuch.shared.api.models.TournamentMatchTableBody
import de.tt_tagebuch.shared.api.models.TournamentParticipantRowDto
import de.tt_tagebuch.shared.api.models.TournamentRemoveInternalParticipantBody
import de.tt_tagebuch.shared.api.models.TournamentReopenMatchBody
import de.tt_tagebuch.shared.api.models.TournamentStartKnockoutBody
import de.tt_tagebuch.shared.api.models.TournamentUpsertStagesBody
import de.tt_tagebuch.shared.api.models.UpdateParticipantClassBody
import de.tt_tagebuch.shared.api.models.UpdateTournamentClassBody
import de.tt_tagebuch.shared.api.models.UpdateTournamentMetaBody
import de.tt_tagebuch.shared.api.models.UpdateTournamentPairingBody
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.AddExternalTournamentParticipantBody
import de.tsschulz.tt_tagebuch.shared.api.models.AddMiniChampionshipBody
import de.tsschulz.tt_tagebuch.shared.api.models.AddStandardTournamentBody
import de.tsschulz.tt_tagebuch.shared.api.models.AddTournamentClassBody
import de.tsschulz.tt_tagebuch.shared.api.models.AssignParticipantToGroupBody
import de.tsschulz.tt_tagebuch.shared.api.models.CreateTournamentPairingBody
import de.tsschulz.tt_tagebuch.shared.api.models.GaveUpFlagBody
import de.tsschulz.tt_tagebuch.shared.api.models.InternalTournamentDetailDto
import de.tsschulz.tt_tagebuch.shared.api.models.InternalTournamentStatsDto
import de.tsschulz.tt_tagebuch.shared.api.models.InternalTournamentSummaryDto
import de.tsschulz.tt_tagebuch.shared.api.models.MergeTournamentPoolBody
import de.tsschulz.tt_tagebuch.shared.api.models.RemoveExternalTournamentParticipantBody
import de.tsschulz.tt_tagebuch.shared.api.models.ResetTournamentPoolBody
import de.tsschulz.tt_tagebuch.shared.api.models.SeededFlagBody
import de.tsschulz.tt_tagebuch.shared.api.models.SetTournamentModusBody
import de.tsschulz.tt_tagebuch.shared.api.models.TournamentAddInternalParticipantBody
import de.tsschulz.tt_tagebuch.shared.api.models.TournamentAddMatchResultBody
import de.tsschulz.tt_tagebuch.shared.api.models.TournamentAdvanceStageBody
import de.tsschulz.tt_tagebuch.shared.api.models.TournamentClassDto
import de.tsschulz.tt_tagebuch.shared.api.models.TournamentCleanupOrphanedBody
import de.tsschulz.tt_tagebuch.shared.api.models.TournamentClubTournamentBody
import de.tsschulz.tt_tagebuch.shared.api.models.TournamentCreateGroupMatchesBody
import de.tsschulz.tt_tagebuch.shared.api.models.TournamentCreateGroupsBody
import de.tsschulz.tt_tagebuch.shared.api.models.TournamentCreateGroupsPerClassBody
import de.tsschulz.tt_tagebuch.shared.api.models.TournamentDeleteKnockoutBody
import de.tsschulz.tt_tagebuch.shared.api.models.TournamentDeleteMatchResultBody
import de.tsschulz.tt_tagebuch.shared.api.models.TournamentExternalParticipantRowDto
import de.tsschulz.tt_tagebuch.shared.api.models.TournamentFinishMatchBody
import de.tsschulz.tt_tagebuch.shared.api.models.TournamentGetExternalParticipantsBody
import de.tsschulz.tt_tagebuch.shared.api.models.TournamentGetParticipantsBody
import de.tsschulz.tt_tagebuch.shared.api.models.TournamentManualAssignGroupsBody
import de.tsschulz.tt_tagebuch.shared.api.models.TournamentMatchActiveBody
import de.tsschulz.tt_tagebuch.shared.api.models.TournamentMatchDto
import de.tsschulz.tt_tagebuch.shared.api.models.TournamentMatchTableBody
import de.tsschulz.tt_tagebuch.shared.api.models.TournamentParticipantRowDto
import de.tsschulz.tt_tagebuch.shared.api.models.TournamentRemoveInternalParticipantBody
import de.tsschulz.tt_tagebuch.shared.api.models.TournamentReopenMatchBody
import de.tsschulz.tt_tagebuch.shared.api.models.TournamentStartKnockoutBody
import de.tsschulz.tt_tagebuch.shared.api.models.TournamentUpsertStagesBody
import de.tsschulz.tt_tagebuch.shared.api.models.UpdateParticipantClassBody
import de.tsschulz.tt_tagebuch.shared.api.models.UpdateTournamentClassBody
import de.tsschulz.tt_tagebuch.shared.api.models.UpdateTournamentMetaBody
import de.tsschulz.tt_tagebuch.shared.api.models.UpdateTournamentPairingBody
import io.ktor.client.call.body
import io.ktor.client.request.delete
import io.ktor.client.request.get

View File

@@ -1,8 +1,8 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.TrainingCancellationDto
import de.tt_tagebuch.shared.api.models.TrainingCancellationUpsertBody
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.TrainingCancellationDto
import de.tsschulz.tt_tagebuch.shared.api.models.TrainingCancellationUpsertBody
import io.ktor.client.call.body
import io.ktor.client.request.delete
import io.ktor.client.request.get

View File

@@ -1,9 +1,9 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.CreateClubTrainingGroupBody
import de.tt_tagebuch.shared.api.models.TrainingGroupDto
import de.tt_tagebuch.shared.api.models.UpdateClubTrainingGroupBody
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.CreateClubTrainingGroupBody
import de.tsschulz.tt_tagebuch.shared.api.models.TrainingGroupDto
import de.tsschulz.tt_tagebuch.shared.api.models.UpdateClubTrainingGroupBody
import io.ktor.client.call.body
import io.ktor.client.request.delete
import io.ktor.client.request.get

View File

@@ -1,7 +1,7 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.TrainingStats
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.TrainingStats
import io.ktor.client.call.body
import io.ktor.client.request.get

View File

@@ -1,10 +1,10 @@
package de.tt_tagebuch.shared.api
package de.tsschulz.tt_tagebuch.shared.api
import de.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tt_tagebuch.shared.api.models.CreateTrainingTimeBody
import de.tt_tagebuch.shared.api.models.TrainingGroupDto
import de.tt_tagebuch.shared.api.models.TrainingTimeDto
import de.tt_tagebuch.shared.api.models.UpdateTrainingTimeBody
import de.tsschulz.tt_tagebuch.shared.api.http.AuthedHttpClient
import de.tsschulz.tt_tagebuch.shared.api.models.CreateTrainingTimeBody
import de.tsschulz.tt_tagebuch.shared.api.models.TrainingGroupDto
import de.tsschulz.tt_tagebuch.shared.api.models.TrainingTimeDto
import de.tsschulz.tt_tagebuch.shared.api.models.UpdateTrainingTimeBody
import io.ktor.client.call.body
import io.ktor.client.request.delete
import io.ktor.client.request.get

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.http
package de.tsschulz.tt_tagebuch.shared.api.http
import io.ktor.client.statement.HttpResponse
import io.ktor.client.statement.bodyAsText

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.http
package de.tsschulz.tt_tagebuch.shared.api.http
class ApiException(
val statusCode: Int,

View File

@@ -1,7 +1,7 @@
package de.tt_tagebuch.shared.api.http
package de.tsschulz.tt_tagebuch.shared.api.http
import de.tt_tagebuch.shared.api.ApiConfig
import de.tt_tagebuch.shared.state.TokenProvider
import de.tsschulz.tt_tagebuch.shared.api.ApiConfig
import de.tsschulz.tt_tagebuch.shared.state.TokenProvider
import io.ktor.client.HttpClient
import io.ktor.client.plugins.DefaultRequest
import io.ktor.client.plugins.HttpResponseValidator

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.http
package de.tsschulz.tt_tagebuch.shared.api.http
import io.ktor.client.engine.HttpClientEngine

View File

@@ -1,6 +1,6 @@
package de.tt_tagebuch.shared.api.http
package de.tsschulz.tt_tagebuch.shared.api.http
import de.tt_tagebuch.shared.api.ApiConfig
import de.tsschulz.tt_tagebuch.shared.api.ApiConfig
import io.ktor.client.HttpClient
import io.ktor.client.plugins.DefaultRequest
import io.ktor.client.plugins.HttpResponseValidator

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable
import kotlinx.serialization.json.Json

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable
import kotlinx.serialization.json.JsonObject

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.json.JsonObject
import kotlinx.serialization.json.booleanOrNull

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
private val imageIdInPath = Regex("/image/(\\d+)")

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.KSerializer
import kotlinx.serialization.descriptors.PrimitiveKind

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable
import kotlinx.serialization.json.JsonArray

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
fun Member.toSetBody(
firstname: String,

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable
import kotlinx.serialization.json.JsonObject

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable
import kotlinx.serialization.json.JsonElement

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable

View File

@@ -1,6 +1,6 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import de.tt_tagebuch.shared.api.serialization.LenientIntListSerializer
import de.tsschulz.tt_tagebuch.shared.api.serialization.LenientIntListSerializer
import kotlinx.serialization.Serializable
@Serializable

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@@ -36,6 +36,23 @@ data class TeamLineupUpdateBody(
val lineupHalf: String,
)
/** Zeile aus `GET /api/clubmembers/play-interest/:clubId` (Sequelize `toJSON`). */
@Serializable
data class MemberPlayInterestRowDto(
val memberId: Int,
val seasonId: Int? = null,
val lineupHalf: String? = null,
val interested: Boolean? = null,
)
@Serializable
data class MemberPlayInterestSetBody(
val memberId: Int,
val seasonId: Int,
val lineupHalf: String,
val interested: Boolean = true,
)
@Serializable
data class TeamDocumentDto(
val id: Int,

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable
import kotlinx.serialization.json.JsonElement

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.models
package de.tsschulz.tt_tagebuch.shared.api.models
import kotlinx.serialization.Serializable
import kotlinx.serialization.json.JsonObject

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.api.serialization
package de.tsschulz.tt_tagebuch.shared.api.serialization
import kotlinx.serialization.KSerializer
import kotlinx.serialization.builtins.ListSerializer

View File

@@ -1,10 +1,10 @@
package de.tt_tagebuch.shared.di
package de.tsschulz.tt_tagebuch.shared.di
import de.tt_tagebuch.shared.api.ApiClient
import de.tt_tagebuch.shared.api.SocketService
import de.tt_tagebuch.shared.repository.AuthRepository
import de.tt_tagebuch.shared.repository.DiaryRepository
import de.tt_tagebuch.shared.repository.MemberRepository
import de.tsschulz.tt_tagebuch.shared.api.ApiClient
import de.tsschulz.tt_tagebuch.shared.api.SocketService
import de.tsschulz.tt_tagebuch.shared.repository.AuthRepository
import de.tsschulz.tt_tagebuch.shared.repository.DiaryRepository
import de.tsschulz.tt_tagebuch.shared.repository.MemberRepository
import org.koin.core.context.startKoin
import org.koin.dsl.KoinAppDeclaration
import org.koin.dsl.module

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.i18n
package de.tsschulz.tt_tagebuch.shared.i18n
data class SupportedLanguage(val code: String, val label: String)

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.models
package de.tsschulz.tt_tagebuch.shared.models
import kotlinx.serialization.Serializable

View File

@@ -1,7 +1,7 @@
package de.tt_tagebuch.shared.repository
package de.tsschulz.tt_tagebuch.shared.repository
import de.tt_tagebuch.shared.api.ApiClient
import de.tt_tagebuch.shared.models.LoginResponse
import de.tsschulz.tt_tagebuch.shared.api.ApiClient
import de.tsschulz.tt_tagebuch.shared.models.LoginResponse
class AuthRepository(private val apiClient: ApiClient) {
suspend fun login(email: String, password: String): LoginResponse {

View File

@@ -1,8 +1,8 @@
package de.tt_tagebuch.shared.repository
package de.tsschulz.tt_tagebuch.shared.repository
import de.tt_tagebuch.shared.api.ApiClient
import de.tt_tagebuch.shared.api.SocketService
import de.tt_tagebuch.shared.models.DiaryDate
import de.tsschulz.tt_tagebuch.shared.api.ApiClient
import de.tsschulz.tt_tagebuch.shared.api.SocketService
import de.tsschulz.tt_tagebuch.shared.models.DiaryDate
import kotlinx.coroutines.flow.Flow
import org.json.JSONObject
@@ -14,7 +14,7 @@ class DiaryRepository(
return apiClient.getDiaryDates(clubId)
}
suspend fun getParticipants(dateId: Int): List<de.tt_tagebuch.shared.models.Participant> {
suspend fun getParticipants(dateId: Int): List<de.tsschulz.tt_tagebuch.shared.models.Participant> {
return apiClient.getDiaryParticipants(dateId)
}
@@ -22,7 +22,7 @@ class DiaryRepository(
return apiClient.updateParticipantStatus(dateId, memberId, status)
}
suspend fun getMembers(clubId: Int): List<de.tt_tagebuch.shared.models.Member> {
suspend fun getMembers(clubId: Int): List<de.tsschulz.tt_tagebuch.shared.models.Member> {
return apiClient.getMembers(clubId)
}

View File

@@ -1,8 +1,8 @@
package de.tt_tagebuch.shared.repository
package de.tsschulz.tt_tagebuch.shared.repository
import de.tt_tagebuch.shared.api.ApiClient
import de.tt_tagebuch.shared.models.Member
import de.tt_tagebuch.shared.models.MemberContact
import de.tsschulz.tt_tagebuch.shared.api.ApiClient
import de.tsschulz.tt_tagebuch.shared.models.Member
import de.tsschulz.tt_tagebuch.shared.models.MemberContact
class MemberRepository(private val apiClient: ApiClient) {
suspend fun getMembers(clubId: Int): List<Member> {

View File

@@ -1,8 +1,8 @@
package de.tt_tagebuch.shared.state
package de.tsschulz.tt_tagebuch.shared.state
import de.tt_tagebuch.shared.api.ApiLogsApi
import de.tt_tagebuch.shared.api.models.ApiLogDetailDto
import de.tt_tagebuch.shared.api.models.ApiLogListRowDto
import de.tsschulz.tt_tagebuch.shared.api.ApiLogsApi
import de.tsschulz.tt_tagebuch.shared.api.models.ApiLogDetailDto
import de.tsschulz.tt_tagebuch.shared.api.models.ApiLogListRowDto
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
import kotlinx.coroutines.flow.asStateFlow

View File

@@ -1,7 +1,7 @@
package de.tt_tagebuch.shared.state
package de.tsschulz.tt_tagebuch.shared.state
import de.tt_tagebuch.shared.api.AuthApi
import de.tt_tagebuch.shared.api.SessionApi
import de.tsschulz.tt_tagebuch.shared.api.AuthApi
import de.tsschulz.tt_tagebuch.shared.api.SessionApi
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
import kotlinx.coroutines.flow.asStateFlow

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.state
package de.tsschulz.tt_tagebuch.shared.state
data class AuthState(
val token: String? = null,

View File

@@ -1,4 +1,4 @@
package de.tt_tagebuch.shared.state
package de.tsschulz.tt_tagebuch.shared.state
data class AuthTokens(
val token: String,

Some files were not shown because too many files have changed in this diff Show More