ExecutionLifetimeScopeCoverage.scope_routes: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/execution_lifetime_scope_coverage.bend as ExecutionLifetimeScopeCoverage Lines 52-56 of bendvy-ecs-core@0.1.0.3/execution_lifetime_scope_coverage.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/execution_lifetime_scope_coverage.bend&start_line=52&end_line=56 import Base import bendvy-ecs-core@0.1.0.3/execution_command_permission.bend as Permission import bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend as Layout def scope_routes(-S:Data,-resources:Layout.Layout,relations:Permission.Relations) -> List<&2,Layout.Route>: match relations: case Permission.NoRelations{}:[] case Permission.RelationAllowed{_,_,_,_,_,_,rest}:scope_routes(S,resources,rest) case Permission.ScopeAllowed{route,_,_,_,_,rest}:route <> scope_routes(S,resources,rest) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_command_permission.bend&name=Relations https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend&name=Layout https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend&name=Route