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

Function callerRow

apps/cloud/src/org/handlers.test.ts:160–170  ·  view source on GitHub ↗
(role: "admin" | "member")

Source from the content-addressed store, hash-verified

158
159// The mirror's row for the caller, at whatever role a test sets.
160const callerRow = (role: "admin" | "member"): DirectoryMember => ({
161 accountId: CALLER,
162 membershipId: `om_${CALLER}_${ORG}`,
163 organizationId: ORG,
164 email: null,
165 name: null,
166 avatarUrl: null,
167 role,
168 status: "active",
169 lastActiveAt: null,
170});
171
172const unread = (why: string) => () => Effect.die(why);
173const stubDirectory = (role: "admin" | "member") =>

Callers 1

stubDirectoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected