Set up Inverter Network SDK: Refer to the Quick Start Guide for detailed instructions.
( optional ) You can pass in a ModuleData typed object into the requestedModules constant's fields, this makes it so that you can work with your self managed inverter modules
// EXEMPLE MixedRequestedModules USAGEimporttype{ModuleData,MixedRequestedModules}from'@inverter-network/sdk'constAUT_Roles_v1={'<your_module_data>'}asconstsatisifiesModuleDataconstrequestedModules={fundingManager:'FM_DepositVault_v1',paymentProcessor:'PP_Simple_v1',authorizer:AUT_Roles_v1,}asconstsatisfiesMixedRequestedModules
Deploying the Workflow
All we have to do is decide on the requestedModules retrieve the runDeployment mutation and fill in the typesafe arg then we can run the mutation in our UI.
Parameters
requestedModules (required):
This parameter defines the modules which will be deployed.
useTags(optional):
This parameter is to optionally disable auto format parse for inputs and outputs (default true).