fleet/frontend/interfaces/enroll_secret.ts
2021-11-15 16:16:06 -05:00

18 lines
333 B
TypeScript

import PropTypes from "prop-types";
export default PropTypes.shape({
secret: PropTypes.string,
created_at: PropTypes.string,
team_id: PropTypes.number,
});
export interface IEnrollSecret {
secret: string;
created_at?: string;
team_id?: number;
}
export interface IEnrollSecretsResponse {
secrets: IEnrollSecret[];
}