What is the the correct folder structure for Server Connect Extensions? created using the new UI?

I’m a little confused on the appropriate folder to select for a new extension.

Do I create a new folder under extensions > server_connect > modules like in the image below? Should it go above the server_connect folder, other something totally different?

image

I tried this folder structure as well. Unfortunately, the actions do not show in the API action picker.

image

I had to move the hjson and js files under the normal server_connect folder to get the actions to appear.

image

You can select any folder. It will create the files needed for your extension in that folder.

Wappler adds these files and folders:

So server_connect and package.json need to be in the root of your extension.

And for the extension to show up inside Wappler it needs to be under the server_connect folder in the modules folder if it is a module.

So I need to move from src to extensions? That seems odd to create in a separate location only to have to move back to extensions.

image