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.
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.