checkpoint 0 #5
@ -0,0 +1,12 @@
|
||||
package ru.myitschool.work.domain.auth
|
||||
|
||||
class CheckCodeFormatUseCase {
|
||||
operator fun invoke(
|
||||
text: String
|
||||
): Boolean {
|
||||
return text.length == 4 && text.all { char ->
|
||||
char.isLetterOrDigit() &&
|
||||
((char in 'A'..'Z') || (char >= 'a' && char <= 'z') || char.isDigit())
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,4 +1,10 @@
|
||||
package ru.myitschool.work.ui.screen.meetings
|
||||
|
||||
class MeetingIntent {
|
||||
sealed interface MeetingIntent {
|
||||
data object Refresh: MeetingIntent
|
||||
data object Logout: MeetingIntent
|
||||
data class Add(
|
||||
val date: String,
|
||||
val placeId: String
|
||||
): MeetingIntent
|
||||
}
|
||||
@ -1,8 +1,6 @@
|
||||
package ru.myitschool.work.ui.screen.meetings
|
||||
|
||||
import kotlinx.collections.immutable.PersistentList
|
||||
import ru.myitschool.work.ui.screen.book.BookState
|
||||
import ru.myitschool.work.ui.screen.main.MainState
|
||||
|
||||
sealed interface MeetingsState {
|
||||
data object Loading: MeetingsState
|
||||
|
||||
8
local.properties
Normal file
8
local.properties
Normal file
@ -0,0 +1,8 @@
|
||||
## This file must *NOT* be checked into Version Control Systems,
|
||||
# as it contains information specific to your local configuration.
|
||||
#
|
||||
# Location of the SDK. This is only used by Gradle.
|
||||
# For customization when using a Version Control System, please read the
|
||||
# header note.
|
||||
#Tue Feb 24 18:06:36 MSK 2026
|
||||
sdk.dir=C\:\\Users\\Samsung\\AppData\\Local\\Android\\Sdk
|
||||
Loading…
x
Reference in New Issue
Block a user