UI-trigger-forge

i created a UI kit 2 app and selected jira-global-page

this is project stucuture and manifest.yml
inside client folder i am having the code to render and inside server folder i am having the function to trigger when event happens. but when deploying it is throwing this error
error function handler property ‘server.oauth’ cannot find associated file with name ‘server.jt

i also tried server/server.oauth in handler but still throwing this error

i want to create a app with UI along with triggers.
help me

thanks in advance

I think you need an index file where you export the function you want. From the picture, the app has no way of knowing you want a file in the server directory. And in that directory, it would look for an index.js file.

Or it could be enough to rename the server directory to src.