API reference / @evolu/common / local-first / SharedReadonlyOwner

Interface: SharedReadonlyOwner

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

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.

Properties

PropertyModifierTypeDefined in
encryptionKeyreadonlyUint8Array<ArrayBufferLike> & Brand<"Entropy"> & Brand<"Length32"> & Brand<"EncryptionKey">packages/common/src/local-first/Owner.ts:282
idreadonlystring & Brand<"Id"> & Brand<"OwnerId">packages/common/src/local-first/Owner.ts:281
transports?readonlyreadonly OwnerWebSocketTransport[]packages/common/src/local-first/Owner.ts:283
typereadonly"SharedReadonlyOwner"packages/common/src/local-first/Owner.ts:280

Was this page helpful?