Function normalizeElementTypePriority

  • Normalizes the (backwards-compatible) elementTypePriority setting into the ordered list of type ids and a per-type projection map. Plain-string entries contribute to the order with no projected attributes.

    Parameters

    Returns { order: string[]; projectionByType: Record<string, string[]> }