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

Function bareAccount

apps/cloud/src/admin/admin-users-api.node.test.ts:75–84  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

73// The mirror's account row as `ensureAccount` mints it: id only, profile
74// columns unfilled until a WorkOS user payload arrives.
75const bareAccount = (id: string) => ({
76 id,
77 email: null,
78 firstName: null,
79 lastName: null,
80 avatarUrl: null,
81 workosUpdatedAt: null,
82 lastSignInAt: null,
83 createdAt,
84});
85
86// The selector is an org id, so only `getOrganization` is reached; the org
87// row is already mirrored.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected