import { cache } from "react";
import "server-only";
// import { serverFetchJson } from "@/app/utils/fetchUtil";
// import { BASE_API_URL } from "@/config/api";
import { serverFetchJson } from "../../../utils/fetchUtil";
import { BASE_API_URL } from "../../../../config/api";

export interface Uom {
  id: number;
  code: string;
  udfudesc: string;
  unit1: string;
  unit1Qty: number;
  unit2?: string;
  unit2Qty: number;
  unit3?: string;
  unit3Qty: number;
  unit4?: string;
  unit4Qty: number;
  sizeInGram: number;
  gramPerSmallestUnit: number;
}
