| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Core.Registry.Adapter.Types
Description
Static ecosystem capabilities and request-time route factories. This separate type module keeps adapter implementations independent of registration.
Synopsis
- data RegistryAdapter = RegistryAdapter {
- adapterEcosystem :: Ecosystem
- adapterRuleBlocks :: Map RuleType Text
- adapterServe :: AdapterServe
- adapterMetadata :: AdapterMetadata
- adapterArtifact :: AdapterArtifact
- adapterProjectName :: ProjectName
- adapterFirstParty :: FirstPartyDeclaration
- adapterPublish :: Maybe AdapterPublish
- adapterMaintenance :: AdapterMaintenance
- data AdapterServe = AdapterServe {}
The capability record
data RegistryAdapter Source #
One ecosystem's complete capability record, which the composition root wires every
consuming pipeline from. adapterFor resolves it.
Constructors
| RegistryAdapter | |
Fields
| |
The serve surface
data AdapterServe Source #
The ecosystem's web-facing serve surface. Both routing fields are derived from one declarative route table, so the routed surface and the documented one cannot drift apart.
Constructors
| AdapterServe | |
Fields
| |