Add inactivity notices to mod queue list endpoint
This commit is contained in:
parent
4dd1442dc3
commit
db7e9326ac
@ -8,16 +8,19 @@ export async function onRequestGet(context: RequestContext) {
|
||||
const tables: { [k: string]: string } = {
|
||||
appeal: "appeals",
|
||||
gma: "game_appeals",
|
||||
inactivity: "inactivity_notices",
|
||||
report: "reports",
|
||||
};
|
||||
const types: { [k: string]: string } = {
|
||||
appeal: "appeal",
|
||||
gma: "gameappeal",
|
||||
inactivity: "inactivity",
|
||||
report: "report",
|
||||
};
|
||||
const permissions: { [k: string]: number[] } = {
|
||||
appeal: [1 << 0, 1 << 1],
|
||||
gma: [1 << 5],
|
||||
inactivity: [1 << 4, 1 << 6, 1 << 7, 1 << 11, 1 << 12],
|
||||
report: [1 << 5],
|
||||
};
|
||||
const { current_user: currentUser } = context.data;
|
||||
|
Loading…
x
Reference in New Issue
Block a user