Merge pull request #15415 from overleaf/td-scope-store-and-emitter-fixed
IDE scope store and emitter with fixed PDF URLs GitOrigin-RevId: 9d33bad8a006bb55714878332f78932538dd8921
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { Project } from '../../../../../types/project'
|
||||
import { PermissionsLevel } from '../types/permissions-level'
|
||||
|
||||
export type JoinProjectPayloadProject = Pick<
|
||||
Project,
|
||||
Exclude<keyof Project, ['rootDocId', 'publicAccessLevel']>
|
||||
> & { rootDoc_id?: string; publicAccesLevel?: string }
|
||||
|
||||
export type JoinProjectPayload = {
|
||||
permissionsLevel: PermissionsLevel
|
||||
project: JoinProjectPayloadProject
|
||||
protocolVersion: number
|
||||
publicId: string
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
export type Socket = {
|
||||
publicId: string
|
||||
on(event: string, callback: (...data: any[]) => void): void
|
||||
removeListener(event: string, callback: (...data: any[]) => void): void
|
||||
emit(
|
||||
event: string,
|
||||
arg0: any,
|
||||
|
||||
Reference in New Issue
Block a user