export interface QuestionData {
  email: string;
  firstName: string;
  lastName: string;
  message: string;
}

export interface QuestionDataDB extends QuestionData {
  id: string;
  _id: string;
  __v: number;
}

export interface QuestionResponsePost {
  message: string;
  question: QuestionData;
}

export interface QuestionError {
  message: string;
}

export type QuestionResponse = QuestionResponsePost | QuestionError;
