๐ŸฅตApollo and WorkflowsAPI

Since different symbiotes work following different functionality, have their own set of on-chain events, their own smart contracts and their own connections with host chains, it is necessary to provide the appropriate functionality for interacting with the symbiote.

That's what WorkflowsAPIs are for. They are located in the KLY_Workflows directory and have a similar structure to the cli and ui directories.

Apollo
โ”‚     
โ”‚   
โ””โ”€โ”€โ”€KLY_Workflows
โ”‚   โ”‚   
โ”‚   โ”‚
โ”‚   โ”‚   
โ”‚   โ””โ”€โ”€โ”€dev_controller
โ”‚   โ”‚    โ”‚   
โ”‚   โ”‚    โ”‚โ”€โ”€โ”€cli(directory for files to improve CLI)
โ”‚   โ”‚    โ”‚   โ”‚
โ”‚   โ”‚    โ”‚   โ””โ”€โ”€โ”€init.js 
โ”‚   โ”‚    โ”‚
โ”‚   โ”‚    โ””โ”€โ”€โ”€ui(directory for files to improve UI)
โ”‚   โ”‚        โ”‚
โ”‚   โ”‚        โ”‚โ”€โ”€โ”€routes.js
โ”‚   โ”‚        โ”‚โ”€โ”€โ”€templates(.ejs files)
โ”‚   โ”‚        โ”‚     โ””โ”€...
โ”‚   โ”‚        โ”‚โ”€โ”€โ”€configs.json
โ”‚   โ”‚        โ””โ”€โ”€โ”€...

To activate, make changes to the Apollo configuration

 "EXTRA_CLI": [
        "KLY_Modules/init/cli/init.js",
        "KLY_"
    ],

    "EXTRA_UI": [
        
        {

            "TYPE":"service",
            
            "ALIAS":"Service 0",

            "PATH":"KLY_ServicesAPI/some_service/ui/route0.js",
            
            "OPTIONS":{
             
                "prefix":"/service0"
            
            }

        },

        {

            "PATH":"KLY_Modules/init/ui/routes.js",

            "OPTIONS":{
             
                "prefix":"/"
            
            }

        }
        
    ]

In Apollo, you will see them in the SYMBIOTES section after connecting the module in the configuration file and restarting the server

This page will be updated over time.

Last updated