Default rules and check process of each route generator
The policy implementation follows.
ts
function route(target: string, id?: string) {
return { id: id ?? `to-${target}`, targetNodeId: target };
}