Interface: ReportsV1Extension
Properties
reportsV1
• Readonly
reportsV1: Object
Type declaration
Name | Type | Description |
---|---|---|
params | () => Promise <Params > | Queries the module params. |
reason | (subspaceId : Long , reasonId : number ) => Promise <undefined | Reason > | Queries a reporting reason given its id. |
reasons | (subspaceId : Long , pagination? : PageRequest ) => Promise <QueryReasonsResponse > | Queries the reasons registered inside a subspace. |
report | (subspaceId : Long , reportId : Long ) => Promise <undefined | Report > | Queries a specific report given its id. |
reports | (subspaceId : Long , target? : Any , reporter? : string , pagination? : PageRequest ) => Promise <QueryReportsResponse > | Queries the reports with an optional target and reporter. |