Convenience function to create a new entity.
A newly created entity with a unique UID
This is a simple wrapper around EntityRepository.createEntity() that provides a more convenient API for entity creation without needing to reference the full EntityRepository class.
import { createEntity } from './EntityRepository';const entity = createEntity(); Copy
import { createEntity } from './EntityRepository';const entity = createEntity();
Convenience function to create a new entity.