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

Function profiles

apps/cloud/src/auth/workos-events-sync.node.test.ts:195–201  ·  view source on GitHub ↗
(reads: string[] = [])

Source from the content-addressed store, hash-verified

193 * the strict stub above would die on it. Records each read in `reads`.
194 */
195const profiles = (reads: string[] = []): Partial<WorkOSClientService> => ({
196 getUser: (userId) =>
197 Effect.sync(() => {
198 reads.push(userId);
199 return workosUser(userId);
200 }),
201});
202
203const DbLive = DbService.Live;
204// The authorization checks below always read the mirror, never WorkOS.

Callers 1

Calls 3

pushMethod · 0.80
workosUserFunction · 0.70
syncMethod · 0.65

Tested by

no test coverage detected