API reference / @evolu/common / Evolu/Owner / AppOwner
Interface: AppOwner
Defined in: packages/common/src/Evolu/Owner.ts:117
The owner representing app data. Can be created from a Mnemonic or from external keys when the mnemonic should not be shared with the Evolu app.
Extends
Properties
Property | Modifier | Type | Description | Inherited from | Defined in |
---|---|---|---|---|---|
encryptionKey | readonly | Uint8Array <ArrayBufferLike > & Brand <"Length32" > & Brand <"EncryptionKey" > | - | Owner .encryptionKey | packages/common/src/Evolu/Owner.ts:63 |
id | readonly | string & Brand <"Id" > & Brand <"OwnerId" > | - | Owner .id | packages/common/src/Evolu/Owner.ts:62 |
mnemonic? | readonly | | null | string & Brand <"Trimmed" > & Brand <"MinLength1" > & Brand <"Mnemonic" > | The mnemonic that was used to derive the AppOwner keys. Optional when the AppOwner is created from external keys to avoid sharing the mnemonic with the Evolu app. | - | packages/common/src/Evolu/Owner.ts:125 |
type | readonly | "AppOwner" | - | - | packages/common/src/Evolu/Owner.ts:118 |
writeKey | readonly | Uint8Array <ArrayBufferLike > & Brand <`Length${number & Brand<"Int"> & Brand<"NonNegative">}` > & Brand <"WriteKey" > | - | Owner .writeKey | packages/common/src/Evolu/Owner.ts:64 |