API reference › @evolu/common › local‑first/Owner › ShardOwner
Defined in: packages/common/src/local-first/Owner.ts:377
An Owner for sharding data.
ShardOwners are the recommended storage location for most application data because they can be conditionally synced and, once Evolu implements owner deletion, completely deleted on relays and devices.
Can be created from OwnerSecret via createShardOwner or deterministically derived from AppOwner using deriveShardOwner.
Extends
Properties
encryptionKey
readonly encryptionKey: Uint8Array<ArrayBufferLike> & Brand<"Entropy"> & Brand<"Length32"> & Brand<"EncryptionKey"> & Brand<"OwnerEncryptionKey">;
Defined in: packages/common/src/local-first/Owner.ts:88
TODO: Wrap with Redacted in the next major version.
Inherited from
id
readonly id: string & Brand<"Id"> & Brand<"OwnerId">;
Defined in: packages/common/src/local-first/Owner.ts:86
Inherited from
type
readonly type: "ShardOwner";
Defined in: packages/common/src/Type.ts:19326
Inherited from
writeKey
readonly writeKey: Uint8Array<ArrayBufferLike> & Brand<"Entropy"> & Brand<"Length16"> & Brand<"OwnerWriteKey">;
Defined in: packages/common/src/local-first/Owner.ts:100
TODO: Wrap with Redacted in the next major version.