fleet/frontend/interfaces/enroll_secret.ts

18 lines
333 B
TypeScript
Raw Normal View History

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[];
}