mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
122895bd08
Feature renders a Users table based on API host.users
18 lines
328 B
TypeScript
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;
|
|
}
|