Hi!
I have some modules that are mainly communicating with an external API (Cloudflare). For example:
jira:adminPage:
- key: admin-config
resource: main
resolver:
endpoint: cloudflare-remote
title: Configuration
useAsConfig: true
But I want to invoke the Forge Store too from the module so I need to add the index where the Forge resolvers located. These Forge resolvers are calling the storage functions like this:
try {
const dateFormat = await storage.get("dateFormat");
const uiColors = await storage.get("uiColors");
const unitOfMeasurement = await storage.get("unitOfMeasurement");
return { success: true, data: { dateFormat, uiColors, unitOfMeasurement } };
} catch (error) {
console.error("Error retrieving data from storage:", error);
return { success: false, message: error.message };
}
});
How can I manage that a module have access to a remote resolver endpoint and the forge resolvers too in the manifest.yml? I can’t add multiple resolvers like this:
endpoint: cloudflare-remote
function: resolver
Please help me it is blocking the development of our application.
Thank you very much for your responses!