stateOf: (pep: string, route: RouteLike) => Record<string, unknown> = ...
Type Declaration
-
- (pep: string, route: RouteLike): Record<string, unknown>
-
Parameters
- pep: string
- route: RouteLike
Returns Record<string, unknown>
{ name, found, enabled, generated, generatedFor, withheld, problem }, the problem missing, disabled, withheld or null
What a route page says about its policy: whether it is held, enabled, generated for this route and sent to the PEP.