Options
All
  • Public
  • Public/Protected
  • All
Menu

Module api/graphql/resolvers/documents

Index

Functions

Const documentCreer

  • documentCreer(__namedParameters: { document: IDocument }, context: IToken, info: GraphQLResolveInfo): Promise<IDocument>

Const documentModifier

  • documentModifier(__namedParameters: { document: IDocument }, context: IToken, info: GraphQLResolveInfo): Promise<IDocument>

Const documentSupprimer

  • documentSupprimer(__namedParameters: { id: string }, context: IToken): Promise<boolean>

Const documents

  • documents(__namedParameters: { entreprisesIds?: string[] }, context: IToken, info: GraphQLResolveInfo): Promise<Document[]>

Const documentsLier

  • documentsLier(context: IToken, documentIds: string[], parentId: string, propParentId: "titreEtapeId" | "titreActiviteId", oldParent?: { documents?: null | IDocument[] }): Promise<void>
  • Parameters

    • context: IToken
    • documentIds: string[]
    • parentId: string
    • propParentId: "titreEtapeId" | "titreActiviteId"
    • Optional oldParent: { documents?: null | IDocument[] }
      • Optional documents?: null | IDocument[]

    Returns Promise<void>

Generated using TypeDoc