type

DocumentLock

Safe persisted editor-lock metadata.

Properties

PropertyTypeDescription
DocumentIDstringThe DocumentID value.
OwnerIDstringThe OwnerID value.
OwnerLabelstringThe OwnerLabel value.
CreatedAtstringThe CreatedAt value.
UpdatedAtstringThe UpdatedAt value.
ExpiresAtstringThe ExpiresAt value.

How it works

OwnerLabel is resolved for display. Exact auth collection identity stays server-side.

Full signature

type DocumentLock struct { DocumentID string `json:"documentId"` OwnerID string `json:"ownerId"` OwnerLabel string `json:"ownerLabel"` CreatedAt string `json:"createdAt"` UpdatedAt string `json:"updatedAt"` ExpiresAt string `json:"expiresAt"` }

Source protocol/envelope.go:411