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

    Variable userSchemaConst

    userSchema: ZodObject<
        {
            beneficiaryId: ZodOptional<ZodNullable<ZodString>>;
            created: ZodNumber;
            firstName: ZodOptional<ZodNullable<ZodString>>;
            firstNameCanonical: ZodOptional<ZodNullable<ZodString>>;
            lastName: ZodOptional<ZodNullable<ZodString>>;
            lastNameCanonical: ZodOptional<ZodNullable<ZodString>>;
            phone: ZodOptional<ZodNullable<ZodString>>;
            updated: ZodNumber;
            userId: ZodString;
        },
        $strip,
    > = ...

    User domain schema (base fields only).

    This schema excludes all generated/global keys. Those are derived from this base shape by Entity Manager according to the config. Handlers can rely on domain types for input/output and only materialize keys when interacting with the database.