type

ScheduledPublication

Adapter-neutral revision-fenced future publish record.

Properties

PropertyTypeDescription
TimeZonestringTimeZone retains the author-selected display zone without changing RunAt.
IDstringThe ID value.
ActionPublicationActionThe Action value.
CollectionIDschema.StableIDThe CollectionID value.
DocumentIDstringThe DocumentID value.
ExpectedRevisionintThe ExpectedRevision value.
RunAttime.TimeThe RunAt value.
AttemptsintThe Attempts value.
RequestedByCollectionIDschema.StableIDThe RequestedByCollectionID value.
RequestedByUserIDstringThe RequestedByUserID value.
LastErrorstringThe LastError value.
CreatedAttime.TimeThe CreatedAt value.

Full signature

type ScheduledPublication struct { // TimeZone retains the author-selected display zone without changing RunAt. TimeZone string ID string Action PublicationAction CollectionID schema.StableID DocumentID string ExpectedRevision int RunAt time.Time Attempts int RequestedByCollectionID schema.StableID RequestedByUserID string LastError string CreatedAt time.Time }

Source store/store.go:797