v3.0.0 - Preset Phases and Better Dark Mode
This commit is contained in:
-96
@@ -1,96 +0,0 @@
|
||||
package com.crsmthw.phase10tracker.`data`.db
|
||||
|
||||
import androidx.room.EntityDeleteOrUpdateAdapter
|
||||
import androidx.room.EntityInsertAdapter
|
||||
import androidx.room.RoomDatabase
|
||||
import androidx.room.coroutines.createFlow
|
||||
import androidx.room.util.getColumnIndexOrThrow
|
||||
import androidx.room.util.performSuspending
|
||||
import androidx.sqlite.SQLiteStatement
|
||||
import com.crsmthw.phase10tracker.`data`.model.CustomRuleSetEntity
|
||||
import javax.`annotation`.processing.Generated
|
||||
import kotlin.Int
|
||||
import kotlin.Long
|
||||
import kotlin.String
|
||||
import kotlin.Suppress
|
||||
import kotlin.Unit
|
||||
import kotlin.collections.List
|
||||
import kotlin.collections.MutableList
|
||||
import kotlin.collections.mutableListOf
|
||||
import kotlin.reflect.KClass
|
||||
import kotlinx.coroutines.flow.Flow
|
||||
|
||||
@Generated(value = ["androidx.room.RoomProcessor"])
|
||||
@Suppress(names = ["UNCHECKED_CAST", "DEPRECATION", "REDUNDANT_PROJECTION", "REMOVAL"])
|
||||
public class CustomRuleSetDao_Impl(
|
||||
__db: RoomDatabase,
|
||||
) : CustomRuleSetDao {
|
||||
private val __db: RoomDatabase
|
||||
|
||||
private val __insertAdapterOfCustomRuleSetEntity: EntityInsertAdapter<CustomRuleSetEntity>
|
||||
|
||||
private val __deleteAdapterOfCustomRuleSetEntity: EntityDeleteOrUpdateAdapter<CustomRuleSetEntity>
|
||||
init {
|
||||
this.__db = __db
|
||||
this.__insertAdapterOfCustomRuleSetEntity = object : EntityInsertAdapter<CustomRuleSetEntity>() {
|
||||
protected override fun createQuery(): String = "INSERT OR REPLACE INTO `custom_rule_sets` (`id`,`name`,`rulesJson`,`createdAt`) VALUES (nullif(?, 0),?,?,?)"
|
||||
|
||||
protected override fun bind(statement: SQLiteStatement, entity: CustomRuleSetEntity) {
|
||||
statement.bindLong(1, entity.id)
|
||||
statement.bindText(2, entity.name)
|
||||
statement.bindText(3, entity.rulesJson)
|
||||
statement.bindLong(4, entity.createdAt)
|
||||
}
|
||||
}
|
||||
this.__deleteAdapterOfCustomRuleSetEntity = object : EntityDeleteOrUpdateAdapter<CustomRuleSetEntity>() {
|
||||
protected override fun createQuery(): String = "DELETE FROM `custom_rule_sets` WHERE `id` = ?"
|
||||
|
||||
protected override fun bind(statement: SQLiteStatement, entity: CustomRuleSetEntity) {
|
||||
statement.bindLong(1, entity.id)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override suspend fun insertRuleSet(ruleSet: CustomRuleSetEntity): Long = performSuspending(__db, false, true) { _connection ->
|
||||
val _result: Long = __insertAdapterOfCustomRuleSetEntity.insertAndReturnId(_connection, ruleSet)
|
||||
_result
|
||||
}
|
||||
|
||||
public override suspend fun deleteRuleSet(ruleSet: CustomRuleSetEntity): Unit = performSuspending(__db, false, true) { _connection ->
|
||||
__deleteAdapterOfCustomRuleSetEntity.handle(_connection, ruleSet)
|
||||
}
|
||||
|
||||
public override fun getAllRuleSets(): Flow<List<CustomRuleSetEntity>> {
|
||||
val _sql: String = "SELECT * FROM custom_rule_sets ORDER BY createdAt DESC"
|
||||
return createFlow(__db, false, arrayOf("custom_rule_sets")) { _connection ->
|
||||
val _stmt: SQLiteStatement = _connection.prepare(_sql)
|
||||
try {
|
||||
val _columnIndexOfId: Int = getColumnIndexOrThrow(_stmt, "id")
|
||||
val _columnIndexOfName: Int = getColumnIndexOrThrow(_stmt, "name")
|
||||
val _columnIndexOfRulesJson: Int = getColumnIndexOrThrow(_stmt, "rulesJson")
|
||||
val _columnIndexOfCreatedAt: Int = getColumnIndexOrThrow(_stmt, "createdAt")
|
||||
val _result: MutableList<CustomRuleSetEntity> = mutableListOf()
|
||||
while (_stmt.step()) {
|
||||
val _item: CustomRuleSetEntity
|
||||
val _tmpId: Long
|
||||
_tmpId = _stmt.getLong(_columnIndexOfId)
|
||||
val _tmpName: String
|
||||
_tmpName = _stmt.getText(_columnIndexOfName)
|
||||
val _tmpRulesJson: String
|
||||
_tmpRulesJson = _stmt.getText(_columnIndexOfRulesJson)
|
||||
val _tmpCreatedAt: Long
|
||||
_tmpCreatedAt = _stmt.getLong(_columnIndexOfCreatedAt)
|
||||
_item = CustomRuleSetEntity(_tmpId,_tmpName,_tmpRulesJson,_tmpCreatedAt)
|
||||
_result.add(_item)
|
||||
}
|
||||
_result
|
||||
} finally {
|
||||
_stmt.close()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public companion object {
|
||||
public fun getRequiredConverters(): List<KClass<*>> = emptyList()
|
||||
}
|
||||
}
|
||||
+17
-6
@@ -32,7 +32,7 @@ public class GameDao_Impl(
|
||||
init {
|
||||
this.__db = __db
|
||||
this.__insertAdapterOfGameEntity = object : EntityInsertAdapter<GameEntity>() {
|
||||
protected override fun createQuery(): String = "INSERT OR REPLACE INTO `games` (`id`,`startedAt`,`finishedAt`,`isComplete`,`winnerId`,`currentRound`,`currentDealerIndex`) VALUES (nullif(?, 0),?,?,?,?,?,?)"
|
||||
protected override fun createQuery(): String = "INSERT OR REPLACE INTO `games` (`id`,`startedAt`,`finishedAt`,`isComplete`,`winnerId`,`currentRound`,`currentDealerIndex`,`phaseSetId`) VALUES (nullif(?, 0),?,?,?,?,?,?,?)"
|
||||
|
||||
protected override fun bind(statement: SQLiteStatement, entity: GameEntity) {
|
||||
statement.bindLong(1, entity.id)
|
||||
@@ -53,10 +53,11 @@ public class GameDao_Impl(
|
||||
}
|
||||
statement.bindLong(6, entity.currentRound.toLong())
|
||||
statement.bindLong(7, entity.currentDealerIndex.toLong())
|
||||
statement.bindLong(8, entity.phaseSetId)
|
||||
}
|
||||
}
|
||||
this.__updateAdapterOfGameEntity = object : EntityDeleteOrUpdateAdapter<GameEntity>() {
|
||||
protected override fun createQuery(): String = "UPDATE OR ABORT `games` SET `id` = ?,`startedAt` = ?,`finishedAt` = ?,`isComplete` = ?,`winnerId` = ?,`currentRound` = ?,`currentDealerIndex` = ? WHERE `id` = ?"
|
||||
protected override fun createQuery(): String = "UPDATE OR ABORT `games` SET `id` = ?,`startedAt` = ?,`finishedAt` = ?,`isComplete` = ?,`winnerId` = ?,`currentRound` = ?,`currentDealerIndex` = ?,`phaseSetId` = ? WHERE `id` = ?"
|
||||
|
||||
protected override fun bind(statement: SQLiteStatement, entity: GameEntity) {
|
||||
statement.bindLong(1, entity.id)
|
||||
@@ -77,7 +78,8 @@ public class GameDao_Impl(
|
||||
}
|
||||
statement.bindLong(6, entity.currentRound.toLong())
|
||||
statement.bindLong(7, entity.currentDealerIndex.toLong())
|
||||
statement.bindLong(8, entity.id)
|
||||
statement.bindLong(8, entity.phaseSetId)
|
||||
statement.bindLong(9, entity.id)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -103,6 +105,7 @@ public class GameDao_Impl(
|
||||
val _columnIndexOfWinnerId: Int = getColumnIndexOrThrow(_stmt, "winnerId")
|
||||
val _columnIndexOfCurrentRound: Int = getColumnIndexOrThrow(_stmt, "currentRound")
|
||||
val _columnIndexOfCurrentDealerIndex: Int = getColumnIndexOrThrow(_stmt, "currentDealerIndex")
|
||||
val _columnIndexOfPhaseSetId: Int = getColumnIndexOrThrow(_stmt, "phaseSetId")
|
||||
val _result: GameEntity?
|
||||
if (_stmt.step()) {
|
||||
val _tmpId: Long
|
||||
@@ -129,7 +132,9 @@ public class GameDao_Impl(
|
||||
_tmpCurrentRound = _stmt.getLong(_columnIndexOfCurrentRound).toInt()
|
||||
val _tmpCurrentDealerIndex: Int
|
||||
_tmpCurrentDealerIndex = _stmt.getLong(_columnIndexOfCurrentDealerIndex).toInt()
|
||||
_result = GameEntity(_tmpId,_tmpStartedAt,_tmpFinishedAt,_tmpIsComplete,_tmpWinnerId,_tmpCurrentRound,_tmpCurrentDealerIndex)
|
||||
val _tmpPhaseSetId: Long
|
||||
_tmpPhaseSetId = _stmt.getLong(_columnIndexOfPhaseSetId)
|
||||
_result = GameEntity(_tmpId,_tmpStartedAt,_tmpFinishedAt,_tmpIsComplete,_tmpWinnerId,_tmpCurrentRound,_tmpCurrentDealerIndex,_tmpPhaseSetId)
|
||||
} else {
|
||||
_result = null
|
||||
}
|
||||
@@ -152,6 +157,7 @@ public class GameDao_Impl(
|
||||
val _columnIndexOfWinnerId: Int = getColumnIndexOrThrow(_stmt, "winnerId")
|
||||
val _columnIndexOfCurrentRound: Int = getColumnIndexOrThrow(_stmt, "currentRound")
|
||||
val _columnIndexOfCurrentDealerIndex: Int = getColumnIndexOrThrow(_stmt, "currentDealerIndex")
|
||||
val _columnIndexOfPhaseSetId: Int = getColumnIndexOrThrow(_stmt, "phaseSetId")
|
||||
val _result: GameEntity?
|
||||
if (_stmt.step()) {
|
||||
val _tmpId: Long
|
||||
@@ -178,7 +184,9 @@ public class GameDao_Impl(
|
||||
_tmpCurrentRound = _stmt.getLong(_columnIndexOfCurrentRound).toInt()
|
||||
val _tmpCurrentDealerIndex: Int
|
||||
_tmpCurrentDealerIndex = _stmt.getLong(_columnIndexOfCurrentDealerIndex).toInt()
|
||||
_result = GameEntity(_tmpId,_tmpStartedAt,_tmpFinishedAt,_tmpIsComplete,_tmpWinnerId,_tmpCurrentRound,_tmpCurrentDealerIndex)
|
||||
val _tmpPhaseSetId: Long
|
||||
_tmpPhaseSetId = _stmt.getLong(_columnIndexOfPhaseSetId)
|
||||
_result = GameEntity(_tmpId,_tmpStartedAt,_tmpFinishedAt,_tmpIsComplete,_tmpWinnerId,_tmpCurrentRound,_tmpCurrentDealerIndex,_tmpPhaseSetId)
|
||||
} else {
|
||||
_result = null
|
||||
}
|
||||
@@ -203,6 +211,7 @@ public class GameDao_Impl(
|
||||
val _columnIndexOfWinnerId: Int = getColumnIndexOrThrow(_stmt, "winnerId")
|
||||
val _columnIndexOfCurrentRound: Int = getColumnIndexOrThrow(_stmt, "currentRound")
|
||||
val _columnIndexOfCurrentDealerIndex: Int = getColumnIndexOrThrow(_stmt, "currentDealerIndex")
|
||||
val _columnIndexOfPhaseSetId: Int = getColumnIndexOrThrow(_stmt, "phaseSetId")
|
||||
val _result: GameEntity?
|
||||
if (_stmt.step()) {
|
||||
val _tmpId: Long
|
||||
@@ -229,7 +238,9 @@ public class GameDao_Impl(
|
||||
_tmpCurrentRound = _stmt.getLong(_columnIndexOfCurrentRound).toInt()
|
||||
val _tmpCurrentDealerIndex: Int
|
||||
_tmpCurrentDealerIndex = _stmt.getLong(_columnIndexOfCurrentDealerIndex).toInt()
|
||||
_result = GameEntity(_tmpId,_tmpStartedAt,_tmpFinishedAt,_tmpIsComplete,_tmpWinnerId,_tmpCurrentRound,_tmpCurrentDealerIndex)
|
||||
val _tmpPhaseSetId: Long
|
||||
_tmpPhaseSetId = _stmt.getLong(_columnIndexOfPhaseSetId)
|
||||
_result = GameEntity(_tmpId,_tmpStartedAt,_tmpFinishedAt,_tmpIsComplete,_tmpWinnerId,_tmpCurrentRound,_tmpCurrentDealerIndex,_tmpPhaseSetId)
|
||||
} else {
|
||||
_result = null
|
||||
}
|
||||
|
||||
+25
-24
@@ -43,24 +43,24 @@ public class Phase10Database_Impl : Phase10Database() {
|
||||
RoundDao_Impl(this)
|
||||
}
|
||||
|
||||
private val _customRuleSetDao: Lazy<CustomRuleSetDao> = lazy {
|
||||
CustomRuleSetDao_Impl(this)
|
||||
private val _customPhaseSetDao: Lazy<CustomPhaseSetDao> = lazy {
|
||||
CustomPhaseSetDao_Impl(this)
|
||||
}
|
||||
|
||||
protected override fun createOpenDelegate(): RoomOpenDelegate {
|
||||
val _openDelegate: RoomOpenDelegate = object : RoomOpenDelegate(2, "be786709a45966a71ad994200bfac1b8", "51f981e3a9729a09288d6faabd6b815f") {
|
||||
val _openDelegate: RoomOpenDelegate = object : RoomOpenDelegate(3, "bc3517b21292115f0cf175467ed1cdfd", "0ef263cff3e7a9428b68582d11d073fc") {
|
||||
public override fun createAllTables(connection: SQLiteConnection) {
|
||||
connection.execSQL("CREATE TABLE IF NOT EXISTS `players` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `name` TEXT NOT NULL, `gamesPlayed` INTEGER NOT NULL, `gamesWon` INTEGER NOT NULL, `createdAt` INTEGER NOT NULL)")
|
||||
connection.execSQL("CREATE TABLE IF NOT EXISTS `games` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `startedAt` INTEGER NOT NULL, `finishedAt` INTEGER, `isComplete` INTEGER NOT NULL, `winnerId` INTEGER, `currentRound` INTEGER NOT NULL, `currentDealerIndex` INTEGER NOT NULL)")
|
||||
connection.execSQL("CREATE TABLE IF NOT EXISTS `games` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `startedAt` INTEGER NOT NULL, `finishedAt` INTEGER, `isComplete` INTEGER NOT NULL, `winnerId` INTEGER, `currentRound` INTEGER NOT NULL, `currentDealerIndex` INTEGER NOT NULL, `phaseSetId` INTEGER NOT NULL)")
|
||||
connection.execSQL("CREATE TABLE IF NOT EXISTS `game_players` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `gameId` INTEGER NOT NULL, `playerId` INTEGER NOT NULL, `playerName` TEXT NOT NULL, `turnOrder` INTEGER NOT NULL, `currentPhase` INTEGER NOT NULL, `totalScore` INTEGER NOT NULL, `isEliminated` INTEGER NOT NULL, FOREIGN KEY(`gameId`) REFERENCES `games`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE , FOREIGN KEY(`playerId`) REFERENCES `players`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )")
|
||||
connection.execSQL("CREATE INDEX IF NOT EXISTS `index_game_players_gameId` ON `game_players` (`gameId`)")
|
||||
connection.execSQL("CREATE INDEX IF NOT EXISTS `index_game_players_playerId` ON `game_players` (`playerId`)")
|
||||
connection.execSQL("CREATE TABLE IF NOT EXISTS `rounds` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `gameId` INTEGER NOT NULL, `gamePlayerId` INTEGER NOT NULL, `roundNumber` INTEGER NOT NULL, `score` INTEGER NOT NULL, `phaseCompleted` INTEGER NOT NULL, `phaseAtRoundStart` INTEGER NOT NULL, FOREIGN KEY(`gameId`) REFERENCES `games`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE , FOREIGN KEY(`gamePlayerId`) REFERENCES `game_players`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )")
|
||||
connection.execSQL("CREATE INDEX IF NOT EXISTS `index_rounds_gameId` ON `rounds` (`gameId`)")
|
||||
connection.execSQL("CREATE INDEX IF NOT EXISTS `index_rounds_gamePlayerId` ON `rounds` (`gamePlayerId`)")
|
||||
connection.execSQL("CREATE TABLE IF NOT EXISTS `custom_rule_sets` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `name` TEXT NOT NULL, `rulesJson` TEXT NOT NULL, `createdAt` INTEGER NOT NULL)")
|
||||
connection.execSQL("CREATE TABLE IF NOT EXISTS `custom_phase_sets` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `name` TEXT NOT NULL, `rulesJson` TEXT NOT NULL, `createdAt` INTEGER NOT NULL)")
|
||||
connection.execSQL("CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)")
|
||||
connection.execSQL("INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'be786709a45966a71ad994200bfac1b8')")
|
||||
connection.execSQL("INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'bc3517b21292115f0cf175467ed1cdfd')")
|
||||
}
|
||||
|
||||
public override fun dropAllTables(connection: SQLiteConnection) {
|
||||
@@ -68,7 +68,7 @@ public class Phase10Database_Impl : Phase10Database() {
|
||||
connection.execSQL("DROP TABLE IF EXISTS `games`")
|
||||
connection.execSQL("DROP TABLE IF EXISTS `game_players`")
|
||||
connection.execSQL("DROP TABLE IF EXISTS `rounds`")
|
||||
connection.execSQL("DROP TABLE IF EXISTS `custom_rule_sets`")
|
||||
connection.execSQL("DROP TABLE IF EXISTS `custom_phase_sets`")
|
||||
}
|
||||
|
||||
public override fun onCreate(connection: SQLiteConnection) {
|
||||
@@ -114,6 +114,7 @@ public class Phase10Database_Impl : Phase10Database() {
|
||||
_columnsGames.put("winnerId", TableInfo.Column("winnerId", "INTEGER", false, 0, null, TableInfo.CREATED_FROM_ENTITY))
|
||||
_columnsGames.put("currentRound", TableInfo.Column("currentRound", "INTEGER", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
|
||||
_columnsGames.put("currentDealerIndex", TableInfo.Column("currentDealerIndex", "INTEGER", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
|
||||
_columnsGames.put("phaseSetId", TableInfo.Column("phaseSetId", "INTEGER", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
|
||||
val _foreignKeysGames: MutableSet<TableInfo.ForeignKey> = mutableSetOf()
|
||||
val _indicesGames: MutableSet<TableInfo.Index> = mutableSetOf()
|
||||
val _infoGames: TableInfo = TableInfo("games", _columnsGames, _foreignKeysGames, _indicesGames)
|
||||
@@ -178,23 +179,23 @@ public class Phase10Database_Impl : Phase10Database() {
|
||||
| Found:
|
||||
|""".trimMargin() + _existingRounds)
|
||||
}
|
||||
val _columnsCustomRuleSets: MutableMap<String, TableInfo.Column> = mutableMapOf()
|
||||
_columnsCustomRuleSets.put("id", TableInfo.Column("id", "INTEGER", true, 1, null, TableInfo.CREATED_FROM_ENTITY))
|
||||
_columnsCustomRuleSets.put("name", TableInfo.Column("name", "TEXT", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
|
||||
_columnsCustomRuleSets.put("rulesJson", TableInfo.Column("rulesJson", "TEXT", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
|
||||
_columnsCustomRuleSets.put("createdAt", TableInfo.Column("createdAt", "INTEGER", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
|
||||
val _foreignKeysCustomRuleSets: MutableSet<TableInfo.ForeignKey> = mutableSetOf()
|
||||
val _indicesCustomRuleSets: MutableSet<TableInfo.Index> = mutableSetOf()
|
||||
val _infoCustomRuleSets: TableInfo = TableInfo("custom_rule_sets", _columnsCustomRuleSets, _foreignKeysCustomRuleSets, _indicesCustomRuleSets)
|
||||
val _existingCustomRuleSets: TableInfo = read(connection, "custom_rule_sets")
|
||||
if (!_infoCustomRuleSets.equals(_existingCustomRuleSets)) {
|
||||
val _columnsCustomPhaseSets: MutableMap<String, TableInfo.Column> = mutableMapOf()
|
||||
_columnsCustomPhaseSets.put("id", TableInfo.Column("id", "INTEGER", true, 1, null, TableInfo.CREATED_FROM_ENTITY))
|
||||
_columnsCustomPhaseSets.put("name", TableInfo.Column("name", "TEXT", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
|
||||
_columnsCustomPhaseSets.put("rulesJson", TableInfo.Column("rulesJson", "TEXT", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
|
||||
_columnsCustomPhaseSets.put("createdAt", TableInfo.Column("createdAt", "INTEGER", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
|
||||
val _foreignKeysCustomPhaseSets: MutableSet<TableInfo.ForeignKey> = mutableSetOf()
|
||||
val _indicesCustomPhaseSets: MutableSet<TableInfo.Index> = mutableSetOf()
|
||||
val _infoCustomPhaseSets: TableInfo = TableInfo("custom_phase_sets", _columnsCustomPhaseSets, _foreignKeysCustomPhaseSets, _indicesCustomPhaseSets)
|
||||
val _existingCustomPhaseSets: TableInfo = read(connection, "custom_phase_sets")
|
||||
if (!_infoCustomPhaseSets.equals(_existingCustomPhaseSets)) {
|
||||
return RoomOpenDelegate.ValidationResult(false, """
|
||||
|custom_rule_sets(com.crsmthw.phase10tracker.data.model.CustomRuleSetEntity).
|
||||
|custom_phase_sets(com.crsmthw.phase10tracker.data.model.CustomPhaseSetEntity).
|
||||
| Expected:
|
||||
|""".trimMargin() + _infoCustomRuleSets + """
|
||||
|""".trimMargin() + _infoCustomPhaseSets + """
|
||||
|
|
||||
| Found:
|
||||
|""".trimMargin() + _existingCustomRuleSets)
|
||||
|""".trimMargin() + _existingCustomPhaseSets)
|
||||
}
|
||||
return RoomOpenDelegate.ValidationResult(true, null)
|
||||
}
|
||||
@@ -205,11 +206,11 @@ public class Phase10Database_Impl : Phase10Database() {
|
||||
protected override fun createInvalidationTracker(): InvalidationTracker {
|
||||
val _shadowTablesMap: MutableMap<String, String> = mutableMapOf()
|
||||
val _viewTables: MutableMap<String, Set<String>> = mutableMapOf()
|
||||
return InvalidationTracker(this, _shadowTablesMap, _viewTables, "players", "games", "game_players", "rounds", "custom_rule_sets")
|
||||
return InvalidationTracker(this, _shadowTablesMap, _viewTables, "players", "games", "game_players", "rounds", "custom_phase_sets")
|
||||
}
|
||||
|
||||
public override fun clearAllTables() {
|
||||
super.performClear(true, "players", "games", "game_players", "rounds", "custom_rule_sets")
|
||||
super.performClear(true, "players", "games", "game_players", "rounds", "custom_phase_sets")
|
||||
}
|
||||
|
||||
protected override fun getRequiredTypeConverterClasses(): Map<KClass<*>, List<KClass<*>>> {
|
||||
@@ -218,7 +219,7 @@ public class Phase10Database_Impl : Phase10Database() {
|
||||
_typeConvertersMap.put(GameDao::class, GameDao_Impl.getRequiredConverters())
|
||||
_typeConvertersMap.put(GamePlayerDao::class, GamePlayerDao_Impl.getRequiredConverters())
|
||||
_typeConvertersMap.put(RoundDao::class, RoundDao_Impl.getRequiredConverters())
|
||||
_typeConvertersMap.put(CustomRuleSetDao::class, CustomRuleSetDao_Impl.getRequiredConverters())
|
||||
_typeConvertersMap.put(CustomPhaseSetDao::class, CustomPhaseSetDao_Impl.getRequiredConverters())
|
||||
return _typeConvertersMap
|
||||
}
|
||||
|
||||
@@ -240,5 +241,5 @@ public class Phase10Database_Impl : Phase10Database() {
|
||||
|
||||
public override fun roundDao(): RoundDao = _roundDao.value
|
||||
|
||||
public override fun customRuleSetDao(): CustomRuleSetDao = _customRuleSetDao.value
|
||||
public override fun customPhaseSetDao(): CustomPhaseSetDao = _customPhaseSetDao.value
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -11,8 +11,8 @@
|
||||
"type": "SINGLE",
|
||||
"filters": [],
|
||||
"attributes": [],
|
||||
"versionCode": 1,
|
||||
"versionName": "1.0",
|
||||
"versionCode": 4,
|
||||
"versionName": "3.0.0",
|
||||
"outputFile": "app-debug.apk"
|
||||
}
|
||||
],
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user