mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
15 lines
448 B
TypeScript
15 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
|
||
|
}
|