mirror of
https://github.com/Elysola/WebHooker.git
synced 2026-11-21 01:23:40 +00:00
feat(admin): groups management UI in the console
Add a super-admin-only Groups tab to create, edit and delete groups (name, admin ids, owner scope). Routes now require a group via a select in the editor, group names are shown on route cards, and the new useMe/useGroups composables back the UI.
This commit is contained in:
8 files changed
+382
-9
No files matched your search
@@ -14,6 +14,21 @@ export interface Route {
|
||||
threadId?: string;
|
||||
};
|
||||
lang?: string;
|
||||
groupId?: string;
|
||||
}
|
||||
|
||||
export interface Group {
|
||||
id: string;
|
||||
name: string;
|
||||
adminIds: string[];
|
||||
owners?: string[];
|
||||
}
|
||||
|
||||
export interface Me {
|
||||
login: string;
|
||||
userId: string;
|
||||
isSuper: boolean;
|
||||
groups: Group[];
|
||||
}
|
||||
|
||||
export const FILTER_TYPES = ["event", "repo", "actor", "action", "branch", "keyword"] as const;
|
||||
|
||||
Reference in new issue
Block a user