BeechCMS / @beechcms/core / PurgeOptions
Interface: PurgeOptions
Options for purge.
Extends
Properties
actor?
optionalactor?:object
email?
optionalemail?:string
id
id:
string
Inherited from
ifMatch?
optionalifMatch?:number
Optimistic concurrency guard for update: the updated_at the caller last read. When set, the write only applies if the live row's updated_at still matches; otherwise update throws EntryConflictError.
Inherited from
trashed?
optionaltrashed?:"any"|"trashed"
Which rows the purge may erase. Default 'trashed': an ordinary purge only ever erases an entry already in the Trash. 'any' is reserved for ledger reconciliation, which must re-erase a row a database restore resurrected as live.