Add color and exclusion fields to UserGroup

This commit introduces new fields to the UserGroup entity, specifically background color, foreground color, and an exclusion key. These have been implemented both in the PHP entity and TypeScript interface definitions. Additionally, a Doctrine migration has been created to reflect these changes on the database side.
This commit is contained in:
2024-04-22 12:01:28 +02:00
parent e2deb55fdb
commit 46fb1c04b5
3 changed files with 111 additions and 0 deletions

View File

@@ -42,6 +42,15 @@ export interface User {
// todo: mainCenter; mainJob; etc..
}
export interface UserGroup {
type: "chill_main_user_group",
id: number,
label: TranslatableString,
backgroundColor: string,
foregroundColor: string,
excludeKey: string,
}
export interface UserAssociatedInterface {
type: "user";
id: number;