`invalid api identifier` - function and const variables shared in actions folder

Hello, I have the issue invalid api identifier in several files in api/actions. these files contain common code used in several actions. Is there a way to avoid a file to be considered as an action ? What are the best practices with the actions ?
3 Replies
Chocci_Milk
Chocci_Milk2mo ago
Hello, Actions folders are only for action files so I would recommed that you make a folder/file outside of those folders. That's currently the only way to get around this
Dodo
DodoOP2mo ago
ok thanks Antoine (I close the post)
Gizmo
Gizmo4d ago
Do you like this answer? ​

Did you find this page helpful?