export const populate = {
  images: {
    path: "images",
    model: "File",
    select: "content",
    options: {
      transform: (doc) => ({
        _id: doc._id,
        content: doc.content.toString("base64"),
      }),
    },
  },
};
