mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Signed-off-by: npub1dccv64krpcpse5cmkzfeh998cftungyatw3djt8jwdw6g43f7fyqzzmrf7 <6e30cd56c30e030cd31bb0939b94a7c257c9a09d5ba2d92cf2735da45629f248@sprout-oss.stage.blox.sqprod.co> Co-authored-by: npub1ntr8jjcqq6gt06q5avvqttfjgpwshmra22pcmcagdnukw4ja4nqqsa9g54 <9ac6794b000690b7e814eb1805ad32405d0bec7d52838de3a86cf967565dacc0@sprout-oss.stage.blox.sqprod.co> Co-authored-by: npub1dccv64krpcpse5cmkzfeh998cftungyatw3djt8jwdw6g43f7fyqzzmrf7 <6e30cd56c30e030cd31bb0939b94a7c257c9a09d5ba2d92cf2735da45629f248@sprout-oss.stage.blox.sqprod.co>
37 lines
720 B
TypeScript
37 lines
720 B
TypeScript
export interface Report {
|
|
id: string;
|
|
communityId: string;
|
|
communityHost: string;
|
|
reporterPubkey: string;
|
|
targetKind: "event" | "pubkey" | "blob";
|
|
target: string;
|
|
channelId?: string;
|
|
reportType: string;
|
|
note?: string;
|
|
status: string;
|
|
createdAt: string;
|
|
}
|
|
|
|
export interface FeedbackSummary {
|
|
id: string;
|
|
communityId: string;
|
|
communityHost: string;
|
|
submitterPubkey: string;
|
|
category?: string;
|
|
bodySummary: string;
|
|
receivedAt: string;
|
|
}
|
|
|
|
export interface FeedbackDetail {
|
|
id: string;
|
|
communityId: string;
|
|
communityHost: string;
|
|
eventId: string;
|
|
submitterPubkey: string;
|
|
category?: string;
|
|
body: string;
|
|
tags: string[][];
|
|
eventCreatedAt: string;
|
|
receivedAt: string;
|
|
}
|