import type { BaseResponse } from "@/shared/types/SharedTypes";

export type CatalogItemType = {
  content: string;
  id: string;
  name: string;
  size: string;
  status: string;
  createdAt: string;
  slug: string;
};

export type CatalogResponseType = BaseResponse<CatalogItemType[]>;
export type CatalogByIdResponseType = BaseResponse<CatalogItemType>;

export type PurchaseInitiate = {
  count: number;
};

export type CreateCatalogParamsType = {
  name: string;
  slug: string;
  size: string;
  content?: string;
  id?: string;
};

export type UpdateCatalogParamsType = {
  id: string;
  content: string;
};
