API reference@evolu/commonlocal‑first/Owner › SharedReadonlyOwner

Defined in: packages/common/src/local-first/Owner.ts:301

Read-only version of a SharedOwner for data sharing. Contains only the OwnerId and EncryptionKey needed for others to read the shared data without write access.

Extends

Properties

encryptionKey

readonly encryptionKey: Uint8Array<ArrayBufferLike> & Brand<"Entropy"> & Brand<"Length32"> & Brand<"EncryptionKey"> & Brand<"OwnerEncryptionKey">;

Defined in: packages/common/src/local-first/Owner.ts:41

TODO: Wrap with Redacted in the next major version.

Inherited from

ReadonlyOwner.encryptionKey


id

readonly id: string & Brand<"Id"> & Brand<"OwnerId">;

Defined in: packages/common/src/local-first/Owner.ts:39

Inherited from

ReadonlyOwner.id


type

readonly type: "SharedReadonlyOwner";

Defined in: packages/common/src/Type.ts:3492

Inherited from

Typed.type