• Extracts pagination options for a specific property from include pattern

    Type Parameters

    • T = any

      The type to derive filter patterns from

    Parameters

    • propertyName: string

      The property name

    • Optionalinclude: IncludePattern<T>

      The include pattern

    Returns PaginationOptions

    Pagination options if specified