-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update InstallAppRequest type to new format (#298)
* update InstallAppRequest type to new format * add new YamlProperties type and test that installs app with roles_settings set * use js-yaml in test * remove unnecessary fields, remove js-yaml from dependencies, convert pubkey to Uint8Array to have deepEqual work properly * more redundant membrane_proof fields, revert hdk bump * removed unused roles_settings fields
- Loading branch information
Showing
16 changed files
with
256 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@holochain/client](./client.md) > [DnaModifiersOpt](./client.dnamodifiersopt.md) | ||
|
||
## DnaModifiersOpt type | ||
|
||
|
||
**Signature:** | ||
|
||
```typescript | ||
export type DnaModifiersOpt = { | ||
network_seed?: NetworkSeed; | ||
properties?: YamlProperties; | ||
origin_time?: Timestamp; | ||
quantum_time?: Duration; | ||
}; | ||
``` | ||
**References:** [NetworkSeed](./client.networkseed.md)<!-- -->, [YamlProperties](./client.yamlproperties.md)<!-- -->, [Timestamp](./client.timestamp.md)<!-- -->, [Duration](./client.duration.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@holochain/client](./client.md) > [RoleSettings](./client.rolesettings.md) | ||
|
||
## RoleSettings type | ||
|
||
|
||
**Signature:** | ||
|
||
```typescript | ||
export type RoleSettings = { | ||
type: "UseExisting"; | ||
cell_id: CellId; | ||
} | { | ||
type: "Provisioned"; | ||
membrane_proof?: MembraneProof; | ||
modifiers?: DnaModifiersOpt; | ||
}; | ||
``` | ||
**References:** [CellId](./client.cellid.md)<!-- -->, [MembraneProof](./client.membraneproof.md)<!-- -->, [DnaModifiersOpt](./client.dnamodifiersopt.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@holochain/client](./client.md) > [RoleSettingsMap](./client.rolesettingsmap.md) | ||
|
||
## RoleSettingsMap type | ||
|
||
|
||
**Signature:** | ||
|
||
```typescript | ||
export type RoleSettingsMap = { | ||
[key: RoleName]: RoleSettings; | ||
}; | ||
``` | ||
**References:** [RoleName](./client.rolename.md)<!-- -->, [RoleSettings](./client.rolesettings.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) > [@holochain/client](./client.md) > [YamlProperties](./client.yamlproperties.md) | ||
|
||
## YamlProperties type | ||
|
||
Any value that is serializable to a Yaml value | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
export type YamlProperties = unknown; | ||
``` |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.