export const PRESENTATION_PRIVATE_CONTROLLER = 'private/presentation'; export const PRESENTATION_PUBLIC_CONTROLLER = 'public/presentation'; export const PRESENTATION_ROUTES = { CONFIG: 'config', CONFIG_INTERNAL: 'internal/config', CREATE: '', FIND_ALL: '', DELETE: (uuid: string) => `${uuid}`, UPDATE: (uuid: string) => `${uuid}`, FIND_BY_UUID_INTERNAL: (uuid: string) => `internal/${uuid}`, FIND_BY_UUID: (uuid: string) => `${uuid}`, FIND_PRESENTATION_OUTLINE: (uuid: string) => `${uuid}/outline`, GENERATE_OUTLINE: (uuid: string) => `${uuid}/outline/generate`, GENERATE_SLIDES: (uuid: string) => `${uuid}/slides/generate`, UPDATE_PRESENTATION_OUTLINE: (uuid: string) => `${uuid}/outline`, UPDATE_SLIDE_OUTLINE: (presentationId: string, slideOutlineId: string) => `${presentationId}/outline/${slideOutlineId}`, UPDATE_PRESENTATION_SLIDES: (uuid: string) => `${uuid}/slides`, GENERATE_AND_INSERT_SLIDE: (uuid: string) => `${uuid}/slides/generate-and-insert`, BUILD_BLANK_SLIDE: 'slides/blank', UPDATE_SLIDE_IMAGE_SLOT: (presentationId: string, slideId: string, slotId: string) => `${presentationId}/slides/${slideId}/image-slots/${slotId}`, UPDATE_SLIDE: (presentationId: string, slideId: string) => `${presentationId}/slides/${slideId}`, PARAPHRASE: (presentationId: string, slideId: string) => `${presentationId}/slides/${slideId}/paraphrase`, GENERATE_REPORT: (presentationId: string) => `${presentationId}/generate-report`, REPOSITION_SLIDE_OUTLINE: (presentationId: string, slideOutlineId: string) => `${presentationId}/outline/${slideOutlineId}/move`, REPOSITION_SLIDE: (presentationId: string, slideId: string) => `${presentationId}/slides/${slideId}/move`, DELETE_SLIDE_OUTLINE: (presentationId: string, slideOutlineId: string) => `${presentationId}/outline/${slideOutlineId}`, CREATE_SLIDE_OUTLINE: (presentationId: string) => `${presentationId}/outline`, EXPORT_AS_PPTX: (uuid: string) => `${uuid}/export-as-pptx`, DELETE_ALL: '', SET_REACTION: (uuid: string) => `${uuid}/reaction`, } as const;