import { Question } from "@components/Widgets/SignupQuestionsWidget/common";

export interface Signup {
  id?: number;
  signupForm_id: number;
  answer: string;
}

export interface SignupForm {
  id?: number;
  title_fi: string;
  title_en: string;
  visible: boolean;
  start_time: string;
  end_time: string;
  questions: Question[];
  signups: string[];
  quota: number;
  schema: {
    title?: string;
    type: string;
    required: string[];
    properties: unknown;
    minProperties?: number;
  };
}
