Skip to content

@ediocracy/parser/271/routes / type aliases

type

RouteEligibility<View, FindingCode> ​

Defined in: packages/parser/src/profiles/271/routes/types.ts:59

The result of interpretRoute: the interpret271 result, the route's conditions for each error, the route's findings, and one view per member.

Type Parameters ​

Type Parameter
View
FindingCode extends string

Properties ​

PropertyTypeDescription
eligibilityEligibilityinterpret271(entry.response), unchanged.
errorsRouteErrorEntry[]eligibility.requestErrors, in the same order, each with the route's condition.
findingsFinding<FindingCode | RouteFindingCode>[]Route findings, then the findings the profile's readMember reported, in member order.
membersView[]One view per member, in the order of eligibility.members.