@karmaniverous/entity-manager-demo
    Preparing search index...

    Variable emailSchemaConst

    emailSchema: ZodObject<
        { created: ZodNumber; email: ZodString; userId: ZodString },
        $strip,
    > = ...

    Email domain schema (base fields only).

    Generated/global keys are layered by Entity Manager at runtime. The inferred EmailItem type represents the domain shape used by handlers. When you read through the adapter, records will include generated/global keys; strip them via entityManager.removeKeys('email', record) when you want pure domain objects for API responses.