mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Bring main bibliography file to the top level settings GitOrigin-RevId: 4c4d4927067995d947c6d0656425760ce56f9435
19 lines
497 B
TypeScript
19 lines
497 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
|
|
mainBibliographyDoc_id?: string
|
|
publicAccesLevel?: string
|
|
}
|
|
|
|
export type JoinProjectPayload = {
|
|
permissionsLevel: PermissionsLevel
|
|
project: JoinProjectPayloadProject
|
|
protocolVersion: number
|
|
publicId: string
|
|
}
|