mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
27 lines
616 B
TypeScript
27 lines
616 B
TypeScript
import PropTypes from "prop-types";
|
|
import teamInterface, { ITeam } from "./team";
|
|
|
|
export default PropTypes.shape({
|
|
created_at: PropTypes.string,
|
|
updated_at: PropTypes.string,
|
|
id: PropTypes.number,
|
|
invited_by: PropTypes.number,
|
|
email: PropTypes.string,
|
|
name: PropTypes.string,
|
|
sso_enabled: PropTypes.bool,
|
|
global_role: PropTypes.string,
|
|
teams: PropTypes.arrayOf(teamInterface),
|
|
});
|
|
|
|
export interface IInvite {
|
|
created_at: string;
|
|
updated_at: string;
|
|
id: number;
|
|
invited_by: number;
|
|
email: string;
|
|
name: string;
|
|
sso_enabled: boolean;
|
|
global_role: string | null;
|
|
teams: ITeam[];
|
|
}
|