Function createEntity

  • Convenience function to create a new entity.

    Returns IEntity

    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();