moderator-toolbox-nxg-for-reddit / modules/modactions/modLog

modules/modactions/modLog

Interfaces

ModLogEntry

Defined in: extension/data/modules/modactions/modLog.ts:11

One mod-log entry, narrowed to the fields the inline mod-actions feature reads.

Extends

Properties

action

action: string

Defined in: extension/data/api/resources/subreddits.ts:44

API action type code (e.g. removelink, banuser).

Inherited from

RedditModLogEntry.action

created_utc

created_utc: number

Defined in: extension/data/api/resources/subreddits.ts:48

Unix timestamp of the action in seconds.

Inherited from

RedditModLogEntry.created_utc

details

details: string | null

Defined in: extension/data/modules/modactions/modLog.ts:13

Free-text detail for some actions (e.g. ban duration); often empty.

mod

mod: string

Defined in: extension/data/api/resources/subreddits.ts:46

Username of the moderator who performed the action.

Inherited from

RedditModLogEntry.mod

target_fullname?

optional target_fullname?: string

Defined in: extension/data/modules/modactions/modLog.ts:15

Fullname of the targeted thing (t3_.../t1_...); used to filter to a single item.