Files
damus/damus/Nostr/NostrKind.swift
William Casarin 03691d0369 Pending Zaps
A fairly large change that replaces Zaps in the codebase with "Zapping"
which is a tagged union consisting of a resolved Zap and a Pending Zap.
These are both counted as Zaps everywhere in Damus, except pending zaps
can be cancelled (most of the time).
2023-05-13 21:33:34 -07:00

28 lines
469 B
Swift

//
// NostrKind.swift
// damus
//
// Created by William Casarin on 2022-04-27.
//
import Foundation
enum NostrKind: Int {
case metadata = 0
case text = 1
case contacts = 3
case dm = 4
case delete = 5
case boost = 6
case like = 7
case channel_create = 40
case channel_meta = 41
case chat = 42
case list = 30000
case zap = 9735
case zap_request = 9734
case nwc_request = 23194
case nwc_response = 23195
}