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
| Property | Modifier | Type | Defined in |
|---|---|---|---|
encryptionKey | readonly | Uint8Array<ArrayBufferLike> & Brand<"Entropy"> & Brand<"Length32"> & Brand<"EncryptionKey"> | packages/common/src/local-first/Owner.ts:282 |
id | readonly | string & Brand<"Id"> & Brand<"OwnerId"> | packages/common/src/local-first/Owner.ts:281 |
transports? | readonly | readonly OwnerWebSocketTransport[] | packages/common/src/local-first/Owner.ts:283 |
type | readonly | "SharedReadonlyOwner" | packages/common/src/local-first/Owner.ts:280 |