Sharing Server Actions between projects

Just wanted to check if this was actually possible before i do it, but I often seem to find myself making the same or very similar server actions over and over again, on almost every project I have done. Is it possible for me to just go and copy the server actions from the api path, and paste them into my new project, then adjust the connection settings and be able to use it in my new project.

I am unsure if certain server actions add bits to the config file or any other place, so I would rather not do it if it is going to cause a problem I am unaware of.

Community Page
Last updated: