Storage capability passed to a Gralkor.Lens.Ingestion process.
The Store is already bound to an operator and resolved Lens. Additions use that Lens's ontology and scope; searches use its destination; removals use the same destination. Ingestion processes should use this capability rather than choose Graphiti partitions themselves.
Global provenance is attached by the storage adapter and does not need to be supplied by the process.
Summary
Types
@type t() :: %Gralkor.Lens.Store{ lens: Gralkor.Lens.t() | :global, operator_id: String.t() }
Functions
Adds an episode through the bound Lens.
@spec search(t(), String.t(), pos_integer()) :: {:ok, [String.t()]} | {:error, term()}
Searches the bound Lens destination.