Finish implementing Db::update_project

This commit is contained in:
Antonio Scandurra 2022-11-15 09:00:56 +01:00
parent 42bb5f0e9f
commit 3e8fcb04f7
6 changed files with 22 additions and 68 deletions

View file

@ -48,7 +48,6 @@ message Envelope {
OpenBufferForSymbolResponse open_buffer_for_symbol_response = 40;
UpdateProject update_project = 41;
ProjectUpdated project_updated = 42;
UpdateWorktree update_worktree = 43;
CreateProjectEntry create_project_entry = 45;
@ -257,12 +256,6 @@ message UpdateProject {
repeated WorktreeMetadata worktrees = 2;
}
message ProjectUpdated {
uint64 project_id = 1;
repeated WorktreeMetadata worktrees = 2;
uint64 room_version = 3;
}
message JoinProject {
uint64 project_id = 1;
}

View file

@ -144,7 +144,6 @@ messages!(
(PrepareRename, Background),
(PrepareRenameResponse, Background),
(ProjectEntryResponse, Foreground),
(ProjectUpdated, Foreground),
(RemoveContact, Foreground),
(ReloadBuffers, Foreground),
(ReloadBuffersResponse, Foreground),
@ -261,7 +260,6 @@ entity_messages!(
OpenBufferByPath,
OpenBufferForSymbol,
PerformRename,
ProjectUpdated,
PrepareRename,
ReloadBuffers,
RemoveProjectCollaborator,