mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #15474 from overleaf/td-ide-page-file-and-multiple-view
React IDE page: implement file views and file delete handling GitOrigin-RevId: 491cad7b147e55bc4a250da387916c7e2dff14ae
This commit is contained in:
@@ -4,6 +4,7 @@ import { PermissionsLevel } from '@/features/ide-react/types/permissions-level'
|
||||
import { ShareJsDoc } from '@/features/ide-react/editor/share-js-doc'
|
||||
import { GotoLineOptions } from '@/features/ide-react/types/goto-line-options'
|
||||
import { CursorPosition } from '@/features/ide-react/types/cursor-position'
|
||||
import { FileTreeFindResult } from '@/features/ide-react/types/file-tree'
|
||||
|
||||
export type IdeEvents = {
|
||||
'project:joined': [{ project: Project; permissionsLevel: PermissionsLevel }]
|
||||
@@ -26,8 +27,7 @@ export type IdeEvents = {
|
||||
'comment:start_adding': []
|
||||
'references:should-reindex': []
|
||||
|
||||
// TODO: MIGRATION: Create a proper type for entity when migrating the file tree
|
||||
'entity:deleted': [entity: Record<string, any>]
|
||||
'entity:deleted': [entity: FileTreeFindResult]
|
||||
}
|
||||
|
||||
export type IdeEventEmitter = Emitter<IdeEvents>
|
||||
|
||||
Reference in New Issue
Block a user