Options
All
  • Public
  • Public/Protected
  • All
Menu

Module business/utils/contenu-element-file-process

Index

Functions

Const contenuElementFilesCreate

  • contenuElementFilesCreate(newFiles: FileUpload[], repertoire: IDocumentRepertoire, parentId: string): Promise<void>

Const contenuElementFilesDelete

  • contenuElementFilesDelete(repertoire: IDocumentRepertoire, parentId: string, sections: ISection[], etapes?: null | ITitreEtape[], oldContenu?: null | IContenu): Promise<void>

Const contenuFilesGet

  • contenuFilesGet(contenu: undefined | null | IContenu, sections: ISection[]): string[]

Const sectionsContenuAndFilesGet

  • sectionsContenuAndFilesGet(contenu: undefined | null | IContenu, sections: ISection[]): { contenu: undefined | null | IContenu; newFiles: FileUpload[] }
  • Parameters

    • contenu: undefined | null | IContenu
    • sections: ISection[]

    Returns { contenu: undefined | null | IContenu; newFiles: FileUpload[] }

    • contenu: undefined | null | IContenu
    • newFiles: FileUpload[]

Generated using TypeDoc