Skip to content

Commit

Permalink
Add roles settings (#246)
Browse files Browse the repository at this point in the history
* add new roles-settings field

* fix role name

* added changelog

* buump holochain_conductor_api

* address suggestions
  • Loading branch information
matthme authored Dec 1, 2024
1 parent 166c72e commit 71ea66a
Show file tree
Hide file tree
Showing 17 changed files with 284 additions and 147 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
### Added
### Removed
### Changed
- Support new `roles_settings` field in `AppOptions`.
### Fixed

## 2024-11-25: v0.18.0-dev.2
Expand Down Expand Up @@ -230,7 +231,7 @@ Compatible with Holochain v0.1.0
## [0.6.2]

### Added
- feat(common): add app and role id options to hApp installation
- feat(common): add app and role id options to hApp installation
- feat(common): add mem-proofs to installAgentsHapps (#139)
- feat(trycp): add multiple clients by array of URLs
- feat(trycp): add multiple clients/players
Expand Down
56 changes: 34 additions & 22 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ resolver = "2"

[workspace.dependencies]
futures = "0.3"
hdi = "0.6.0-dev.3"
hdk = "0.5.0-dev.5"
hdi = "0.6.0-dev.4"
hdk = "0.5.0-dev.7"
nix = { version = "0.29.0", features = ["signal"] }
once_cell = "1.5.0"
parking_lot = "0.12"
Expand Down
2 changes: 1 addition & 1 deletion crates/trycp_server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ trycp_api = { workspace = true }
url = { workspace = true }

[dev-dependencies]
holochain_conductor_api = "0.5.0-dev.5"
holochain_conductor_api = "0.5.0-dev.7"
rand = "0.8"
serde_yaml = "0.9"
trycp_client = { path = "../trycp_client" }
12 changes: 6 additions & 6 deletions docs/tryorama.appoptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,39 +75,39 @@ _(Optional)_ App ID to override the app manifest's app name.
</td></tr>
<tr><td>

[membraneProofs?](./tryorama.appoptions.membraneproofs.md)
[networkSeed?](./tryorama.appoptions.networkseed.md)


</td><td>


</td><td>

Record&lt;string, MembraneProof&gt;
string


</td><td>

_(Optional)_ Proofs of membership for the hApp.
_(Optional)_ A network seed to override the hApps' network seed.


</td></tr>
<tr><td>

[networkSeed?](./tryorama.appoptions.networkseed.md)
[rolesSettings?](./tryorama.appoptions.rolessettings.md)


</td><td>


</td><td>

string
RoleSettingsMap


</td><td>

_(Optional)_ A network seed to override the hApps' network seed.
_(Optional)_ Role specific settings or modifiers that will override any settings in the hApp's dna manifest(s).


</td></tr>
Expand Down
13 changes: 0 additions & 13 deletions docs/tryorama.appoptions.membraneproofs.md

This file was deleted.

13 changes: 13 additions & 0 deletions docs/tryorama.appoptions.rolessettings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@holochain/tryorama](./tryorama.md) &gt; [AppOptions](./tryorama.appoptions.md) &gt; [rolesSettings](./tryorama.appoptions.rolessettings.md)

## AppOptions.rolesSettings property

Role specific settings or modifiers that will override any settings in the hApp's dna manifest(s).

**Signature:**

```typescript
rolesSettings?: RoleSettingsMap;
```
26 changes: 13 additions & 13 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 71ea66a

Please sign in to comment.