API reference / @evolu/common / Evolu/Owner / ShardOwner
Interface: ShardOwner
Defined in: packages/common/src/Evolu/Owner.ts:264
An Owner for sharding data.
ShardOwners are the recommended storage location for most application data because they can be completely deleted (both on relays and devices) and conditionally synced.
Can be created from OwnerSecret via createShardOwner or deterministically derived from AppOwner using deriveShardOwner.
Extends
Properties
| Property | Modifier | Type | Inherited from | Defined in |
|---|---|---|---|---|
encryptionKey | readonly | Uint8Array<ArrayBufferLike> & Brand<"Entropy"> & Brand<"Length32"> & Brand<"EncryptionKey"> & Brand<"OwnerEncryptionKey"> | Owner.encryptionKey | packages/common/src/Evolu/Owner.ts:75 |
id | readonly | string & Brand<"Id"> & Brand<"OwnerId"> | Owner.id | packages/common/src/Evolu/Owner.ts:74 |
transports? | readonly | readonly WebSocketTransportConfig[] | - | packages/common/src/Evolu/Owner.ts:266 |
type | readonly | "ShardOwner" | - | packages/common/src/Evolu/Owner.ts:265 |
writeKey | readonly | Uint8Array<ArrayBufferLike> & Brand<"Entropy"> & Brand<"Length16"> & Brand<"OwnerWriteKey"> | Owner.writeKey | packages/common/src/Evolu/Owner.ts:76 |