Turns all base Hint classes into data classes

This commit is contained in:
Vitor Pamplona
2025-05-13 14:44:03 -04:00
parent 4279ad004c
commit 09946c19b9
3 changed files with 3 additions and 3 deletions
@@ -20,7 +20,7 @@
*/ */
package com.vitorpamplona.quartz.nip01Core.hints.types package com.vitorpamplona.quartz.nip01Core.hints.types
class AddressHint( data class AddressHint(
val addressId: String, val addressId: String,
var relay: String? = null, var relay: String? = null,
) : Hint { ) : Hint {
@@ -23,7 +23,7 @@ package com.vitorpamplona.quartz.nip01Core.hints.types
import com.vitorpamplona.quartz.nip01Core.core.HexKey import com.vitorpamplona.quartz.nip01Core.core.HexKey
import com.vitorpamplona.quartz.nip01Core.core.hexToByteArray import com.vitorpamplona.quartz.nip01Core.core.hexToByteArray
class EventIdHint( data class EventIdHint(
val eventId: HexKey, val eventId: HexKey,
var relay: String? = null, var relay: String? = null,
) : Hint { ) : Hint {
@@ -23,7 +23,7 @@ package com.vitorpamplona.quartz.nip01Core.hints.types
import com.vitorpamplona.quartz.nip01Core.core.HexKey import com.vitorpamplona.quartz.nip01Core.core.HexKey
import com.vitorpamplona.quartz.nip01Core.core.hexToByteArray import com.vitorpamplona.quartz.nip01Core.core.hexToByteArray
class PubKeyHint( data class PubKeyHint(
val pubkey: HexKey, val pubkey: HexKey,
var relay: String? = null, var relay: String? = null,
) : Hint { ) : Hint {