import type { ThemeInputType } from "../enum/Enum";

export type CreateThemeType = {
  title: string;
  inputType: ThemeInputType;
};

export type ThemeType = {
  _id: string;
  title: string;
  inputType: ThemeInputType;
  createdAt: string;
  updatedAt: string;
};

export type GetThemesResponseType = {
  status: number;
  success: boolean;
  results: {
    data: ThemeType[];
  };
};

export type GetThemeByIdResponseType = {
  status: number;
  success: boolean;
  results: {
    data: ThemeType;
  };
};

export type CreateThemeValueType = {
  theme: string;
  name: string;
  value: string;
};

export type UpdateThemeValueType = {
  name: string;
  value: string;
};

export type ThemeValueType = {
  _id: string;
  theme: ThemeType;
  name: string;
  value: number;
  createdAt: string;
  updatedAt: string;
};

export type GetThemeValuesResponseType = {
  status: number;
  success: boolean;
  results: {
    data: ThemeValueType[];
  };
};
