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

Function bareAccount

apps/cloud/src/auth/org-api-key-auth.node.test.ts:21–30  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

19// The mirror's account row as `ensureAccount` mints it: id only, profile
20// columns unfilled until a WorkOS user payload arrives.
21const bareAccount = (id: string) => ({
22 id,
23 email: null,
24 firstName: null,
25 lastName: null,
26 avatarUrl: null,
27 workosUpdatedAt: null,
28 lastSignInAt: null,
29 createdAt,
30});
31
32const stubApiKeys = Layer.succeed(ApiKeyService)({
33 validate: (value: string) => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected