How do I add an entity action via the Vite Package Setup?

Oh one small detail if anyone else stumbles upon this…

The export statement has to be changed to “OurEntityActionTest”:

import type { UmbEntityActionArgs } from '@umbraco-cms/backoffice/entity-action';
import { UmbEntityActionBase } from '@umbraco-cms/backoffice/entity-action';

export class OurEntityActionTest extends UmbEntityActionBase<never> {
	constructor(host: UmbControllerHost, args: UmbEntityActionArgs<never>) {
		super(host, args);
	}

	override async execute() {
		alert("Hello from test entity action")
	}

}

export { OurEntityActionTest as api };