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
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
encryptionKey | readonly | Uint8Array<ArrayBufferLike> & Brand<"Entropy"> & Brand<"Length32"> & Brand<"EncryptionKey"> & Brand<"OwnerEncryptionKey"> | TODO: Wrap with Redacted in the next major version. | ReadonlyOwner.encryptionKey | packages/common/src/local-first/Owner.ts:32 |
id | readonly | string & Brand<"Id"> & Brand<"OwnerId"> | - | ReadonlyOwner.id | packages/common/src/local-first/Owner.ts:30 |
transports? | readonly | readonly OwnerWebSocketTransport[] | - | - | packages/common/src/local-first/Sync.ts:126 |
writeKey? | readonly | Uint8Array<ArrayBufferLike> & Brand<"Entropy"> & Brand<"Length16"> & Brand<"OwnerWriteKey"> | - | - | packages/common/src/local-first/Sync.ts:125 |