mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-11 00:08:30 +01:00
a3bf564100
* feat: add SSO mappings to groups * add feature flag to conditionally render * fix EditGroupUsers * fix: update snap
24 lines
408 B
TypeScript
24 lines
408 B
TypeScript
import { IUser } from './user';
|
|
|
|
export interface IGroup {
|
|
id: number;
|
|
name: string;
|
|
description: string;
|
|
createdAt: Date;
|
|
users: IGroupUser[];
|
|
projects: string[];
|
|
addedAt?: string;
|
|
userCount?: number;
|
|
mappingsSSO: string[];
|
|
}
|
|
|
|
export interface IGroupUser extends IUser {
|
|
joinedAt?: Date;
|
|
}
|
|
|
|
export interface IGroupUserModel {
|
|
user: {
|
|
id: number;
|
|
};
|
|
}
|