API Reference / @evolu/common / Evolu/Internal / AppOwner
Interface: AppOwner
Defined in: packages/common/src/Evolu/Owner.ts:99
The root owner of an Evolu app, created from a mnemonic safely generated on a
device when the app is initialized or restored on another device using an
existing mnemonic. It manages the app's core data, including the storage of
other owners' mnemonics in an encrypted app table. Its writeKey
is
deterministic and rotatable. Never share the AppOwner mnemonic with anyone.
Extends
Properties
Property | Modifier | Type | Inherited from | Defined in |
---|---|---|---|---|
createdAt | readonly | string & Brand <"DateIso" > | Owner .createdAt | packages/common/src/Evolu/Owner.ts:60 |
encryptionKey | readonly | Uint8Array <ArrayBufferLike > & Brand <"Length32" > & Brand <"EncryptionKey" > | Owner .encryptionKey | packages/common/src/Evolu/Owner.ts:62 |
id | readonly | string & Brand <"Id" > & Brand <"OwnerId" > | Owner .id | packages/common/src/Evolu/Owner.ts:61 |
mnemonic | readonly | string & Brand <"Trimmed" > & Brand <"MinLength1" > & Brand <"Mnemonic" > | Owner .mnemonic | packages/common/src/Evolu/Owner.ts:59 |
type | readonly | "AppOwner" | - | packages/common/src/Evolu/Owner.ts:100 |
writeKey | readonly | Uint8Array <ArrayBufferLike > & Brand <`Length${number & Brand<"Int"> & Brand<"NonNegative">}` > & Brand <"WriteKey" > | Owner .writeKey | packages/common/src/Evolu/Owner.ts:63 |