Libraries
    Preparing search index...

    Type Alias EntityPropSelector<TSchema, TKey>

    EntityPropSelector: (
        t: EntityTree<TSchema>,
    ) => { "[SYMBOL_SCHEMA_PROPERTY_DESCRIPTOR]": { propertyName: TKey } }

    Selector callback that receives a real PropertyDescriptorTree so t => t.someProp navigates to the property definition and preserves its JSDoc in IDE tooltips. The return shape is matched structurally on the [SYMBOL_SCHEMA_PROPERTY_DESCRIPTOR].propertyName field, which captures the literal property key as TKey.

    Type Parameters

    • TSchema extends ObjectSchemaBuilder<any, any, any, any, any, any, any>
    • TKey extends string = string

    Type Declaration

      • (
            t: EntityTree<TSchema>,
        ): { "[SYMBOL_SCHEMA_PROPERTY_DESCRIPTOR]": { propertyName: TKey } }
      • Parameters

        Returns { "[SYMBOL_SCHEMA_PROPERTY_DESCRIPTOR]": { propertyName: TKey } }