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

Function member

apps/cloud/src/auth/workos-mirror.node.test.ts:1145–1148  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

1143 const staying = `user_${crypto.randomUUID()}`;
1144 const leaving = `user_${crypto.randomUUID()}`;
1145 const member = (id: string) => ({
1146 user: user(id),
1147 membership: membership(scanned, id),
1148 });
1149
1150 const before = yield* mirror.organizationBackfilledAt(scanned);
1151 // The later listing (T2) no longer contains `leaving`; applied first.

Callers 1

Calls 2

userFunction · 0.85
membershipFunction · 0.85

Tested by

no test coverage detected