Introduces admin database tables, repository, and service for managing administrators and permissions. Adds new admin routes for banning players, managing cosmetics (capes), changing player passwords and usernames, and handling player textures. Updates user and session services to support admin actions and permission checks. Adds related schema validation for new endpoints.
9 lines
136 B
JavaScript
9 lines
136 B
JavaScript
const z = require("zod")
|
|
|
|
module.exports = {
|
|
GET: {
|
|
query: z.object({
|
|
uuid: z.string().uuid()
|
|
})
|
|
}
|
|
} |