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

Function callerRow

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

Source from the content-addressed store, hash-verified

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

Callers 1

stubDirectoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected