Skip to content

five-on-it / apps/api/src/store / Report

Interface: Report ​

Defined in: apps/api/src/store.ts:180

A player's report of a game, or of another player, waiting for a moderator or decided.

Properties ​

account ​

account: string

Defined in: apps/api/src/store.ts:190

Who reported it, and their name.


closedAt? ​

optional closedAt?: string

Defined in: apps/api/src/store.ts:199


createdAt ​

createdAt: string

Defined in: apps/api/src/store.ts:198

ISO times.


game ​

game: string

Defined in: apps/api/src/store.ts:184

The game reported, or the game of the room a reported player was in (empty when not known).


id ​

id: string

Defined in: apps/api/src/store.ts:182

report-….


name ​

name: string

Defined in: apps/api/src/store.ts:191


player? ​

optional player?: object

Defined in: apps/api/src/store.ts:186

The player reported (their account and the name they went by), for a report of a player.

account ​

account: string

name ​

name: string


reason ​

reason: "broken" | "other" | "offensive" | "real-people" | "sexual" | "spam"

Defined in: apps/api/src/store.ts:193

Why, and in their words.


room? ​

optional room?: string

Defined in: apps/api/src/store.ts:188

The room a reported player was in.


state ​

state: "open" | "actioned" | "dismissed"

Defined in: apps/api/src/store.ts:196

Open, or decided: the game taken down (actioned) or the report dismissed.


text? ​

optional text?: string

Defined in: apps/api/src/store.ts:194