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

Interface: SyncOwner

Defined in: packages/common/src/local-first/Sync.ts:124

Represents an owner for sync operations.

Includes readonly owner fields plus optional write key (for clients that write) and optional transports to override SyncConfig transports per owner.

Extends

Properties

PropertyModifierTypeDescriptionInherited fromDefined in
encryptionKeyreadonlyUint8Array<ArrayBufferLike> & Brand<"Entropy"> & Brand<"Length32"> & Brand<"EncryptionKey"> & Brand<"OwnerEncryptionKey">TODO: Wrap with Redacted in the next major version.ReadonlyOwner.encryptionKeypackages/common/src/local-first/Owner.ts:32
idreadonlystring & Brand<"Id"> & Brand<"OwnerId">-ReadonlyOwner.idpackages/common/src/local-first/Owner.ts:30
transports?readonlyreadonly OwnerWebSocketTransport[]--packages/common/src/local-first/Sync.ts:126
writeKey?readonlyUint8Array<ArrayBufferLike> & Brand<"Entropy"> & Brand<"Length16"> & Brand<"OwnerWriteKey">--packages/common/src/local-first/Sync.ts:125

Was this page helpful?