specs/sync/shared/v0_1/sync_event library

Classes

AclChangedEvent
AclChangedEvent
AttachmentRef
AttachmentRef
PolicyChangedEvent
PolicyChangedEvent
VaultDeletedEvent
VaultDeletedEvent
VaultEntry
VaultEntry
VaultUpsertedEvent
VaultUpsertedEvent

Extension Types

AclChangedEventChange
AclChangedEventChange is a closed set of string values defined by this specification's schema.
PolicyChangedEventChange
PolicyChangedEventChange is a closed set of string values defined by this specification's schema.
SecretKind
Discriminator for the secret type stored in the entry. Definitions: - password โ€” username + password (+ optional TOTP seed). - passkey โ€” WebAuthn discoverable credential (private key + rpId + userHandle). - oauth-tokens โ€” OAuth 2.0 refresh
VaultEntryStatus
Archival-lifecycle state of this entry. Absent means active, so a maintainer that models no lifecycle omits it and every existing document stays valid. Deliberately carries no JSON Schema default: a declared default is materialised by generated bindings, which would make an absent status reappear as an explicit "active" on re-serialisation and break round-trip idempotence for every existing document. This member is what makes vault/list's status: "all" selector usable: that view returns entries in every state by design, and without a state on the entry itself a consumer cannot tell which is which. An archived entry is hidden from ordinary listings but intact; a deleted entry is a tombstone inside its grace window, still restorable until graceUntil passes.

Typedefs

Ext = Map<String, dynamic>
Vendor-namespaced extension object per SPEC.md ยง4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.
SiteTarget = Object?
A single binding target for a vault entry. Tagged union over the discriminator kind. A VaultEntry's targets array MAY mix any number of these.
SyncEvent = Object?
SyncEvent, defined by this specification's schema.