checkpoint 0 #5

Open
student-e-klyukin wants to merge 15 commits from WindWin-org/NTO-2026-Android-TeamTask-Template:main into main
4 changed files with 27 additions and 3 deletions
Showing only changes of commit b4176ae36a - Show all commits

View File

@ -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())
}
}
}

View File

@ -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
}

View File

@ -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
View 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