fix(api,web): separate workspace context from auth session (#551)
Co-authored-by: Jason Woltje <jason@diversecanvas.com> Co-committed-by: Jason Woltje <jason@diversecanvas.com>
This commit was merged in pull request #551.
This commit is contained in:
@@ -13,9 +13,14 @@ export interface AuthUser {
|
||||
name: string;
|
||||
image?: string;
|
||||
emailVerified?: boolean;
|
||||
// Workspace context (added for workspace-scoped operations)
|
||||
/**
|
||||
* @deprecated Never populated by BetterAuth session. Workspace context is
|
||||
* fetched separately via GET /api/workspaces. Will be removed in a future pass.
|
||||
*/
|
||||
workspaceId?: string;
|
||||
/** @deprecated See workspaceId. */
|
||||
currentWorkspaceId?: string;
|
||||
/** @deprecated See workspaceId. */
|
||||
workspaceRole?: string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user