-
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.
- Use batch inserts to make parser faster
- Loading branch information
1 parent
1a0c3a9
commit b41e4a7
Showing
32 changed files
with
250 additions
and
525 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
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
15 changes: 15 additions & 0 deletions
15
...abase/src/main/kotlin/com/flipperdevices/ifrmvp/backend/db/signal/table/SignalKeyTable.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,15 @@ | ||
package com.flipperdevices.ifrmvp.backend.db.signal.table | ||
|
||
import com.flipperdevices.ifrmvp.backend.model.DeviceKey | ||
import org.jetbrains.exposed.dao.id.LongIdTable | ||
|
||
object SignalKeyTable : LongIdTable("SIGNAL_KEY") { | ||
val infraredFileId = reference("ir_file_id", InfraredFileTable) | ||
val signalId = reference("signal_id", SignalTable) | ||
|
||
/** | ||
* The name of brand folder | ||
*/ | ||
val deviceKey = enumeration<DeviceKey>("device_key") | ||
val remoteKeyName = text("remote_key_name") | ||
} |
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
2 changes: 1 addition & 1 deletion
2
...enerator/configuration/src/main/kotlin/com/flipperdevices/ifrmvp/generator/config/Main.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
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
2 changes: 1 addition & 1 deletion
2
...n/src/main/kotlin/com/flipperdevices/ifrmvp/generator/config/category/api/DeviceKeyExt.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
2 changes: 1 addition & 1 deletion
2
...lin/com/flipperdevices/ifrmvp/generator/config/device/api/DefaultDeviceConfigGenerator.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
2 changes: 1 addition & 1 deletion
2
...ain/kotlin/com/flipperdevices/ifrmvp/generator/config/device/api/DeviceConfigGenerator.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
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,16 @@ | ||
import ru.astrainteractive.gradleplugin.property.extension.ModelPropertyValueExt.requireProjectInfo | ||
|
||
plugins { | ||
id("org.jetbrains.kotlin.jvm") | ||
alias(libs.plugins.kotlin.serialization) | ||
} | ||
|
||
dependencies { | ||
implementation(libs.kotlin.serialization.json) | ||
implementation(kotlin("test")) | ||
// Local | ||
implementation(projects.modules.buildKonfig) | ||
implementation(projects.modules.core) | ||
implementation(projects.modules.model) | ||
implementation(projects.modules.infrared) | ||
} |
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
File renamed without changes.
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
44 changes: 0 additions & 44 deletions
44
modules/kenerator/sql/src/main/kotlin/com/flipperdevices/ifrmvp/parser/api/SignalTableApi.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.