Repo created

This commit is contained in:
Fr4nz D13trich 2025-11-22 13:56:56 +01:00
parent 75dc487a7a
commit 39c29d175b
6317 changed files with 388324 additions and 2 deletions

View file

@ -0,0 +1,15 @@
plugins {
id(ThunderbirdPlugins.Library.kmp)
}
android {
namespace = "net.thunderbird.account.fake"
}
kotlin {
sourceSets {
commonMain.dependencies {
api(projects.feature.account.api)
}
}
}

View file

@ -0,0 +1,12 @@
package net.thunderbird.account.fake
import net.thunderbird.feature.account.profile.AccountAvatar
object FakeAccountAvatarData {
const val AVATAR_IMAGE_URI = "https://example.com/avatar.png"
val ACCOUNT_AVATAR = AccountAvatar.Image(
uri = AVATAR_IMAGE_URI,
)
}

View file

@ -0,0 +1,11 @@
package net.thunderbird.account.fake
import net.thunderbird.feature.account.AccountIdFactory
object FakeAccountData {
const val ACCOUNT_ID_RAW = "bc722927-9197-417d-919e-6fd702038de1"
val ACCOUNT_ID = AccountIdFactory.of(ACCOUNT_ID_RAW)
const val ACCOUNT_ID_OTHER_RAW = "c2890a43-0f54-4a69-a0af-bdfce8d831ad"
val ACCOUNT_ID_OTHER = AccountIdFactory.of(ACCOUNT_ID_OTHER_RAW)
}

View file

@ -0,0 +1,26 @@
package net.thunderbird.account.fake
import net.thunderbird.account.fake.FakeAccountAvatarData.ACCOUNT_AVATAR
import net.thunderbird.feature.account.AccountId
import net.thunderbird.feature.account.profile.AccountAvatar
import net.thunderbird.feature.account.profile.AccountProfile
object FakeAccountProfileData {
const val PROFILE_NAME = "AccountProfileName"
const val PROFILE_COLOR = 0xFF0000
fun createAccountProfile(
id: AccountId = FakeAccountData.ACCOUNT_ID,
name: String = PROFILE_NAME,
color: Int = PROFILE_COLOR,
avatar: AccountAvatar = ACCOUNT_AVATAR,
): AccountProfile {
return AccountProfile(
id = id,
name = name,
color = color,
avatar = avatar,
)
}
}