import { BaseMetadata } from '@/types/api/api-general';

export type BaseConfiguration = {
  id: number;
  date: string;
  percentage_threshold_bad: number;
  percentage_threshold_enough: number;
};

export type DailyChecklistConfiguration = BaseMetadata & BaseConfiguration;

export type CreateDailyChecklistConfigurationPayload = {
  date: string;
  percentage_threshold_bad: number;
  percentage_threshold_enough: number;
};

export type UpdateDailyChecklistConfigurationPayload = {
  date: string;
  percentage_threshold_bad: number;
  percentage_threshold_enough: number;
};
