type
DocumentLock
One expiring exclusive authoring lease.
Properties
| Property | Type | Description |
|---|---|---|
CollectionID | schema.StableID | The CollectionID value. |
DocumentID | string | The DocumentID value. |
OwnerCollectionID | schema.StableID | The OwnerCollectionID value. |
OwnerID | string | The OwnerID value. |
OwnerLabel | string | The OwnerLabel value. |
CreatedAt | time.Time | The CreatedAt value. |
UpdatedAt | time.Time | The UpdatedAt value. |
ExpiresAt | time.Time | The ExpiresAt value. |
Full signature
type DocumentLock struct {
CollectionID schema.StableID
DocumentID string
OwnerCollectionID schema.StableID
OwnerID string
OwnerLabel string
CreatedAt time.Time
UpdatedAt time.Time
ExpiresAt time.Time
}