MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / makeUserStoreLayer

Function makeUserStoreLayer

apps/cloud/src/auth/context.ts:39–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37 * invoked across many requests (the MCP org-authorization seam). See [[makeDbLayer]].
38 */
39export const makeUserStoreLayer = (): Layer.Layer<UserStoreService, never, DbService> =>
40 Layer.effect(UserStoreService)(
41 Effect.map(DbService.asEffect(), ({ db }) => makeService(makeUserStore(db))),
42 );

Callers 2

organizationDisplayFunction · 0.90

Calls 2

makeUserStoreFunction · 0.90
makeServiceFunction · 0.85

Tested by

no test coverage detected