mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
92a38e1311
IDE scope store and emitter GitOrigin-RevId: 9835d684db791937cd0bbc657228cb9112089b47
14 lines
448 B
TypeScript
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
|
|
}
|