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

    Interface ConfigInput

    Values-first config input used to capture literal tokens from the provided configuration value. This does not enforce full Config shape at compile time; runtime validation still occurs via Zod in the EntityManager.

    Keep this intentionally permissive to maximize inference from as const.

    interface ConfigInput {
        entities?: Record<string, unknown>;
        entitiesSchema?: Record<
            string,
            ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>,
        >;
        generatedKeyDelimiter?: string;
        generatedProperties?: {
            sharded?: Record<string, readonly string[]>;
            unsharded?: Record<string, readonly string[]>;
        };
        generatedValueDelimiter?: string;
        hashKey: string;
        indexes?: Record<
            string,
            { hashKey: string; projections?: string[]; rangeKey: string },
        >;
        propertyTranscodes?: Record<string, string>;
        rangeKey: string;
        shardKeyDelimiter?: string;
        throttle?: number;
        transcodes?: unknown;
    }
    Index

    Properties

    entities?: Record<string, unknown>
    entitiesSchema?: Record<
        string,
        ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>,
    >

    Optional Zod schemas for per-entity domain shapes (non-generated fields only).

    Important: Schemas MUST declare only base (non-generated) properties. Do not include global keys (hashKey/rangeKey) or any generated tokens (sharded/unsharded).

    generatedKeyDelimiter?: string
    generatedProperties?: {
        sharded?: Record<string, readonly string[]>;
        unsharded?: Record<string, readonly string[]>;
    }
    generatedValueDelimiter?: string
    hashKey: string
    indexes?: Record<
        string,
        { hashKey: string; projections?: string[]; rangeKey: string },
    >
    propertyTranscodes?: Record<string, string>
    rangeKey: string
    shardKeyDelimiter?: string
    throttle?: number
    transcodes?: unknown