type

DocumentLock

type DocumentLock struct { CollectionID schema.StableID DocumentID string OwnerCollectionID schema.StableID OwnerID string OwnerLabel string CreatedAt time.Time UpdatedAt time.Time ExpiresAt time.Time }

One expiring exclusive authoring lease.

Source store/store.go:440

CollectionIDschema.StableID
The CollectionID value.
DocumentIDstring
The DocumentID value.
OwnerCollectionIDschema.StableID
The OwnerCollectionID value.
OwnerIDstring
The OwnerID value.
OwnerLabelstring
The OwnerLabel value.
CreatedAttime.Time
The CreatedAt value.
UpdatedAttime.Time
The UpdatedAt value.
ExpiresAttime.Time
The ExpiresAt value.