This commit is contained in:
Trey t
2025-11-04 12:19:17 -06:00
parent ba27ddda71
commit f2ade0a1e2
5 changed files with 3067 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ import kotlinx.serialization.Serializable
@Serializable
data class Residence(
val id: Int,
val owner: Int,
val owner: Int? = null,
@SerialName("owner_username") val ownerUsername: String,
val name: String,
@SerialName("property_type") val propertyType: String,

View File

@@ -4,6 +4,7 @@ package com.mycrib.storage
* Platform-specific token manager interface for persistent storage.
* Each platform implements this using their native storage mechanisms.
*/
@Suppress("NO_ACTUAL_FOR_EXPECT")
expect class TokenManager {
fun saveToken(token: String)
fun getToken(): String?

View File

@@ -337,7 +337,7 @@ fun AddResidenceScreen(
}
},
modifier = Modifier.fillMaxWidth(),
enabled = createState !is ApiResult.Loading
enabled = validateForm()
) {
if (createState is ApiResult.Loading) {
CircularProgressIndicator(

View File

@@ -0,0 +1,13 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
"@js-joda/core@3.2.0":
version "3.2.0"
resolved "https://registry.yarnpkg.com/@js-joda/core/-/core-3.2.0.tgz#3e61e21b7b2b8a6be746df1335cf91d70db2a273"
integrity sha512-PMqgJ0sw5B7FKb2d5bWYIoxjri+QlW/Pys7+Rw82jSH0QN3rB05jZ/VrrsUdh1w4+i2kw9JOejXGq/KhDOX7Kg==
ws@8.18.3:
version "8.18.3"
resolved "https://registry.yarnpkg.com/ws/-/ws-8.18.3.tgz#b56b88abffde62791c639170400c93dcb0c95472"
integrity sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg==

3051
kotlin-js-store/yarn.lock Normal file

File diff suppressed because it is too large Load Diff