fleet/frontend/interfaces/host_users.ts
RachelElysia 122895bd08
Host Details Page: Users table (#1152)
Feature renders a Users table based on API host.users
2021-06-22 12:26:57 -07:00

18 lines
328 B
TypeScript

import PropTypes from "prop-types";
export default PropTypes.shape({
id: PropTypes.number,
uid: PropTypes.number,
username: PropTypes.string,
type: PropTypes.string,
groupname: PropTypes.string,
});
export interface IHostUser {
id: number;
uid: number;
username: string;
type: string;
groupname: string;
}