feat: add target_account & reported_statuses to DittoEvent type
This commit is contained in:
parent
af7b83cf8a
commit
b8df95408b
|
@ -25,4 +25,14 @@ export interface DittoEvent extends NostrEvent {
|
|||
repost?: DittoEvent;
|
||||
quote_repost?: DittoEvent;
|
||||
reacted?: DittoEvent;
|
||||
/** The account being reported.
|
||||
* Must be a kind 0 hydrated.
|
||||
* https://github.com/nostr-protocol/nips/blob/master/56.md
|
||||
*/
|
||||
target_account?: DittoEvent;
|
||||
/** The statuses being reported.
|
||||
* Nostr only support reporting one note, the array of reported notes can be found in the `status_ids` field after JSON.parsing the `content` of a kind 1984.
|
||||
* https://github.com/nostr-protocol/nips/blob/master/56.md
|
||||
*/
|
||||
reported_statuses?: DittoEvent[];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue