跳转到内容

ak.profile.draft_sync.v1

← Profiles

ak.profile.draft_sync.v1

description

"Client profile for encrypted cross-device draft account data. Writes go through the account-data compare-and-set contract (zh/models/account-data.md section 5); the per-draft-slot LWW rule runs client-side on decrypted plaintext inside that retry loop."

enforcement_phases

[
  "build",
  "conformance"
]

operation_requirements

[
  {
    "direction": "consume",
    "operation_id": "ak.self.account.stream.subscribe.v1",
    "binding_kind": "http_json"
  }
]

required_event_kinds

[
  "ak.account_data.set"
]

rejected_event_kinds

[]

required_schemas

[
  "ak.schema.draft_sync.v1"
]

required_fixtures

[]

optional_extensions

[]

feature_discovery

{
  "required": [
    "draft_sync_account_data",
    "draft_slot_lww"
  ],
  "unsupported_optional": "omit remote draft sync rather than writing drafts into shared Realm history"
}

Source