@refinio/one.models
Preparing search index...
misc/instance
createInstanceWithDefaultKeys
Function createInstanceWithDefaultKeys
createInstanceWithDefaultKeys
(
owner
:
SHA256IdHash
<
Person
>
,
instanceName
?:
string
,
)
:
Promise
<
{
instanceId
:
SHA256IdHash
<
Instance
>
;
instanceKeys
:
SHA256Hash
<
Keys
>
}
,
>
Creates an instance with a default set of keys.
Parameters
owner
:
SHA256IdHash
<
Person
>
Optional
instanceName
:
string
Returns
Promise
<
{
instanceId
:
SHA256IdHash
<
Instance
>
;
instanceKeys
:
SHA256Hash
<
Keys
>
}
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
@refinio/one.models
Loading...
Creates an instance with a default set of keys.