overleaf/services/web/frontend/js/features/ide-react/connection/join-project-payload.ts
Tim Down 92a38e1311 Merge pull request #15280 from overleaf/td-scope-store-and-emitter
IDE scope store and emitter

GitOrigin-RevId: 9835d684db791937cd0bbc657228cb9112089b47
2023-10-25 08:03:55 +00:00

14 lines
448 B
TypeScript

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
}