MCPcopy Create free account
hub / github.com/effect-app/libs / CosmosStoreLayer

Function CosmosStoreLayer

packages/infra/src/Store/Cosmos.ts:636–640  ·  view source on GitHub ↗
(cfg: StorageConfig)

Source from the content-addressed store, hash-verified

634})
635
636export function CosmosStoreLayer(cfg: StorageConfig) {
637 return StoreMaker
638 .toLayer(makeCosmosStore(cfg))
639 .pipe(Layer.provide(CosmosClientLayer(Redacted.value(cfg.url), cfg.dbName)))
640}

Callers 2

StoreMakerLayerFunction · 0.90
SomethingRepoClass · 0.85

Calls 5

CosmosClientLayerFunction · 0.90
pipeMethod · 0.65
toLayerMethod · 0.65
valueMethod · 0.65
provideMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…