@holochain/client 0.20.5 → 0.20.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/admin/types.d.ts +13 -0
- package/package.json +1 -1
package/lib/api/admin/types.d.ts
CHANGED
|
@@ -126,6 +126,18 @@ export type AppInfo = {
|
|
|
126
126
|
* @public
|
|
127
127
|
*/
|
|
128
128
|
export type MembraneProof = Uint8Array;
|
|
129
|
+
/**
|
|
130
|
+
* Opaque, app-defined bytes made available to a cell during its `init` callback.
|
|
131
|
+
*
|
|
132
|
+
* Supplied per role at install time in the `init_properties` field on
|
|
133
|
+
* `RoleSettings`, persisted by the conductor alongside the app, never written
|
|
134
|
+
* to the DHT, and read back during `init` via the
|
|
135
|
+
* `hdk::migrate::get_init_properties` host function.
|
|
136
|
+
*
|
|
137
|
+
*
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
export type InitProperties = Uint8Array;
|
|
129
141
|
/**
|
|
130
142
|
* @public
|
|
131
143
|
*/
|
|
@@ -151,6 +163,7 @@ export type RoleSettings = {
|
|
|
151
163
|
value: {
|
|
152
164
|
membrane_proof?: MembraneProof;
|
|
153
165
|
modifiers?: DnaModifiersOpt;
|
|
166
|
+
init_properties?: InitProperties;
|
|
154
167
|
};
|
|
155
168
|
};
|
|
156
169
|
/**
|
package/package.json
CHANGED