Refactor: Improve GitHub release workflow and build configuration (#2251)

This commit is contained in:
James Rich 2025-06-25 23:16:55 +00:00 committed by GitHub
parent d507161bde
commit 496de47766
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 284 additions and 112 deletions

View file

@ -85,6 +85,7 @@ interface PacketDao {
@Upsert
suspend fun insert(packet: Packet)
@Transaction
@Query(
"""
SELECT * FROM packet
@ -93,7 +94,6 @@ interface PacketDao {
ORDER BY received_time DESC
"""
)
@Transaction
fun getMessagesFrom(contact: String): Flow<List<PacketEntity>>
@Query(
@ -164,6 +164,7 @@ interface PacketDao {
)
suspend fun getDataPackets(): List<DataPacket>
@Transaction
@Query(
"""
SELECT * FROM packet
@ -174,6 +175,7 @@ interface PacketDao {
)
suspend fun getPacketById(requestId: Int): Packet?
@Transaction
@Query("SELECT * FROM packet WHERE packet_id = :packetId LIMIT 1")
suspend fun getPacketByPacketId(packetId: Int): PacketEntity?