Making NewPost Screen to be about Kind 1 and polls only

This commit is contained in:
Vitor Pamplona
2025-05-20 16:30:35 -04:00
parent 00048606fa
commit fcfa2bb05a
39 changed files with 449 additions and 724 deletions
@@ -41,6 +41,7 @@ import com.vitorpamplona.quartz.utils.TimeUtils
import com.vitorpamplona.quartz.utils.lastNotNullOfOrNull
@Immutable
@Deprecated("Replaced by NIP-22")
class GitReplyEvent(
id: HexKey,
pubKey: HexKey,
@@ -68,6 +69,7 @@ class GitReplyEvent(
const val KIND = 1622
const val ALT_DESCRIPTION = "A Git Reply"
@Deprecated("Replaced by NIP-22")
fun reply(
post: String,
replyingTo: EventHintBundle<GitReplyEvent>,
@@ -80,6 +82,7 @@ class GitReplyEvent(
initializer()
}
@Deprecated("Replaced by NIP-22")
fun replyIssue(
post: String,
issue: EventHintBundle<GitIssueEvent>,
@@ -92,6 +95,7 @@ class GitReplyEvent(
initializer()
}
@Deprecated("Replaced by NIP-22")
fun replyPatch(
post: String,
patch: EventHintBundle<GitPatchEvent>,
@@ -41,6 +41,7 @@ import com.vitorpamplona.quartz.nip31Alts.alt
import com.vitorpamplona.quartz.utils.TimeUtils
@Immutable
@Deprecated("Replaced by NIP-22")
class TorrentCommentEvent(
id: HexKey,
pubKey: HexKey,
@@ -92,6 +93,7 @@ class TorrentCommentEvent(
}
}
@Deprecated("Replaced by NIP-22")
fun build(
post: String,
createdAt: Long = TimeUtils.now(),