-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feat] UserCodeDataStore - userId 추가 (#30)
[feat] userId 추가
- Loading branch information
Showing
2 changed files
with
24 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 8 additions & 5 deletions
13
core/datastore/src/main/java/com/moya/funch/datastore/UserCodeDataStore.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
package com.moya.funch.datastore | ||
|
||
abstract class UserCodeDataStore { | ||
interface UserCodeDataStore { | ||
|
||
abstract var userId: String | ||
abstract var userCode: String | ||
var userId: String | ||
var userCode: String | ||
var deviceId: String | ||
|
||
abstract fun hasUserCode(): Boolean | ||
fun hasUserCode(): Boolean | ||
|
||
abstract fun clear() | ||
fun hasUserId(): Boolean | ||
|
||
fun clear() | ||
} |