ecluse:ecluse-core
Safe HaskellNone
LanguageGHC2021

Ecluse.Core.Registry.Maintenance.Protocol

Description

Maintenance through registry protocol endpoints. Deletion needs the raw document revision, with listing bounds separate from serve-path bounds. Consent and refill classification rely on operator configuration.

Synopsis

Documentation

data ProtocolRead Source #

One protocol-only store as a reader reaches it: where it is, how its protocol enumerates it, and the consent an operator declared for it. Nothing here changes the store.

Constructors

ProtocolRead 

Fields

data ProtocolStore Source #

One protocol-only store a caller may delete from: its reads, beside the verb that removes a version.

newProtocolObservation :: ProtocolRead -> StoreObservation Source #

The calls that only enumerate and read, built without the delete verb.

newProtocolMaintenance :: ProtocolStore -> StoreMaintenance Source #

Delete versions individually because each edit changes the document revision needed by the next.