mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
e4f5afc0c0
[web] React ide page permissions GitOrigin-RevId: 727d33e0654d4bfefe5e710e553895f793cacb82
14 lines
460 B
TypeScript
14 lines
460 B
TypeScript
import { Project } from '../../../../../types/project'
|
|
import { PermissionsLevel } from '@/features/ide-react/types/permissions'
|
|
|
|
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
|
|
}
|