refactors

This commit is contained in:
counterweight 2025-12-26 20:04:46 +01:00
parent 4e1a339432
commit 82c4d0168e
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
28 changed files with 1042 additions and 782 deletions

8
backend/models/types.py Normal file
View file

@ -0,0 +1,8 @@
from typing import TypedDict
from .enums import Permission
class RoleConfig(TypedDict):
description: str
permissions: list[Permission]