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

PropertyModifierTypeInherited fromDefined in
createdAtreadonlystring & Brand<"DateIso">Owner.createdAtpackages/common/src/Evolu/Owner.ts:60
encryptionKeyreadonlyUint8Array<ArrayBufferLike> & Brand<"Length32"> & Brand<"EncryptionKey">Owner.encryptionKeypackages/common/src/Evolu/Owner.ts:62
idreadonlystring & Brand<"Id"> & Brand<"OwnerId">Owner.idpackages/common/src/Evolu/Owner.ts:61
mnemonicreadonlystring & Brand<"Trimmed"> & Brand<"MinLength1"> & Brand<"Mnemonic">Owner.mnemonicpackages/common/src/Evolu/Owner.ts:59
typereadonly"AppOwner"-packages/common/src/Evolu/Owner.ts:100
writeKeyreadonlyUint8Array<ArrayBufferLike> & Brand<`Length${number & Brand<"Int"> & Brand<"NonNegative">}`> & Brand<"WriteKey">Owner.writeKeypackages/common/src/Evolu/Owner.ts:63

Was this page helpful?