mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-29 19:24:25 +01:00
feat: add target_account & reported_statuses to DittoEvent type
This commit is contained in:
@@ -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[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user