-
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move mapping method to private place, update code and remove unused c…
…lass
- Loading branch information
Showing
8 changed files
with
98 additions
and
172 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
app/src/main/java/com/hieuwu/groceriesstore/data/network/RemoteTable.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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package com.hieuwu.groceriesstore.data.network | ||
|
||
enum class RemoteTable(val tableName: String) { | ||
Product("products"), | ||
Categories("categories"), | ||
Orders("orders"), | ||
Users("users"), | ||
LineItems("line_items"), | ||
} |
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
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
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
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
45 changes: 0 additions & 45 deletions
45
app/src/main/java/com/hieuwu/groceriesstore/utilities/FirebaseStoreConstant.kt
This file was deleted.
Oops, something went wrong.
99 changes: 0 additions & 99 deletions
99
app/src/main/java/com/hieuwu/groceriesstore/utilities/SupabaseMapper.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.