Forge Custom entity store issue

I have a customUI app where I am storing an array of objects into the custom entity store. Upon retrieval of data, even on using getMany() it is returning me only single object instead of whole data.

resolver.define("storeTargetSite", async (req) => {
  try { (site) => {
      await storage.entity("site").set(`site-${site.siteId}`, site);
      console.log("store target site", site);
  } catch (error) {
    console.error("Error storing site objects:", error);
resolver.define("fetchTargetSite", async (req) => {
  try {
    const result = await storage
    console.log("fetch target site", result);
    return result;
  } catch (error) {
    console.error("Error retrieving site object by siteURL:", error);