upd: megalodon to v7
This commit is contained in:
@@ -1,9 +1,18 @@
|
||||
/// <reference path="account.ts" />
|
||||
|
||||
namespace Entity {
|
||||
export type Report = {
|
||||
id: string;
|
||||
action_taken: string;
|
||||
comment: string;
|
||||
account_id: string;
|
||||
status_ids: Array<string>;
|
||||
};
|
||||
export type Report = {
|
||||
id: string
|
||||
action_taken: boolean
|
||||
action_taken_at: string | null
|
||||
status_ids: Array<string> | null
|
||||
rule_ids: Array<string> | null
|
||||
// These parameters don't exist in Pleroma
|
||||
category: Category | null
|
||||
comment: string | null
|
||||
forwarded: boolean | null
|
||||
target_account?: Account | null
|
||||
}
|
||||
|
||||
export type Category = 'spam' | 'violation' | 'other'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user