Skip to content

Commit

Permalink
Add branch config
Browse files Browse the repository at this point in the history
  • Loading branch information
bifurcation committed Mar 18, 2023
1 parent c5bec5f commit 9fa6dde
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions interop/configs/branch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"scripts": {
"base": [
{"action": "createGroup", "actor": "alice"},
{"action": "externalJoin", "actor": "alice", "joiner": "bob", "members": []},
{"action": "externalJoin", "actor": "alice", "joiner": "charlie", "members": ["bob"]},
{"action": "externalJoin", "actor": "alice", "joiner": "diana", "members": ["bob", "charlie"]},
{"action": "externalJoin", "actor": "alice", "joiner": "eliza", "members": ["bob", "charlie", "diana"]},
{"action": "branch", "actor": "alice", "members": ["bob", "charlie", "diana", "eliza"]}
],

"with_extensions: {
{"action": "createGroup", "actor": "alice"},
{"action": "externalJoin", "actor": "alice", "joiner": "bob", "members": []},
{"action": "externalJoin", "actor": "alice", "joiner": "charlie", "members": ["bob"]},
{"action": "externalJoin", "actor": "alice", "joiner": "diana", "members": ["bob", "charlie"]},
{"action": "externalJoin", "actor": "alice", "joiner": "eliza", "members": ["bob", "charlie", "diana"]},
{"action": "branch", "actor": "alice", "members": ["bob", "charlie", "diana", "eliza"],
"extensions": [{"extension_type": 3, "extension_data": "AAAA"}, {"extension_type": 5, "extension_data": "AA=="} ]}
},

"external_tree": [
{"action": "createGroup", "actor": "alice"},
{"action": "externalJoin", "actor": "alice", "joiner": "bob", "members": []},
{"action": "externalJoin", "actor": "alice", "joiner": "charlie", "members": ["bob"]},
{"action": "externalJoin", "actor": "alice", "joiner": "diana", "members": ["bob", "charlie"]},
{"action": "externalJoin", "actor": "alice", "joiner": "eliza", "members": ["bob", "charlie", "diana"]},
{"action": "branch", "actor": "alice", "members": ["bob", "charlie", "diana", "eliza"], "externalTree": true}
],

"force_path": [
{"action": "createGroup", "actor": "alice"},
{"action": "externalJoin", "actor": "alice", "joiner": "bob", "members": []},
{"action": "externalJoin", "actor": "alice", "joiner": "charlie", "members": ["bob"]},
{"action": "externalJoin", "actor": "alice", "joiner": "diana", "members": ["bob", "charlie"]},
{"action": "externalJoin", "actor": "alice", "joiner": "eliza", "members": ["bob", "charlie", "diana"]},
{"action": "branch", "actor": "alice", "members": ["bob", "charlie", "diana", "eliza"], "forcePath": true}
]
}
}

0 comments on commit 9fa6dde

Please sign in to comment.