mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-13 11:17:26 +02:00
We're migrating to ESM, which will allow us to import the latest versions of our dependencies. Co-Authored-By: Christopher Kolstad <chriswk@getunleash.io>
26 lines
460 B
TypeScript
26 lines
460 B
TypeScript
import type { IUser } from './user.js';
|
|
|
|
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;
|
|
};
|
|
}
|