1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-16 00:06:40 +01:00
unleash.unleash/frontend/src/interfaces/group.ts

26 lines
457 B
TypeScript
Raw Normal View History

import type { IUser } from './user';
export interface IGroup {
id: number;
name: string;
description: string;
createdAt: Date;
users: IGroupUser[];
projects: string[];
addedAt?: string;
userCount?: number;
mappingsSSO: string[];
rootRole?: number;
scimId?: string;
}
export interface IGroupUser extends IUser {
joinedAt?: Date;
}
export interface IGroupUserModel {
user: {
id: number;
};
}