OBJECT

SiteDiaryMutation

Mutations that act on site diaries.

link GraphQL Schema definition

  • type SiteDiaryMutation {
  • # Creates a new site diary.
  • #
  • # Arguments
  • # site_diary: The data to use for the creation
  • create(site_diary: SiteDiaryCreate!): SiteDiaryCreateResult
  • # Create a presigned url that users can upload site diary note attachments
  • # directly to.
  • #
  • # Arguments
  • # filename: The name of the note attachment to create a presigned
  • # url for
  • createNoteSignedUrl(filename: String!): SignedUrl
  • # Updates a site diary.
  • #
  • # Arguments
  • # site_diary: The data to use for the update
  • update(site_diary: SiteDiaryUpdate!): SiteDiaryUpdateResult
  • # Merges site Diary entity data with its merge template.
  • #
  • # Arguments
  • # id: The ID of the site diary to merge.
  • merge(id: Int): MergeResult
  • # Updates the site diary additional questions form.
  • #
  • # Arguments
  • # additionalQuestionsForm: The stringified json data from the
  • # form builder.
  • updateAdditionalQuestions(
  • additionalQuestionsForm: FormTemplateDisplayMeta
  • ): SuccessResult
  • # Deletes the site diary additional questions.
  • deleteAdditionalQuestions: SuccessResult
  • # Creates a PDF preview for a Site Diary.
  • #
  • # Arguments
  • # id: The current value of the site diary to merge.
  • generatePdf(id: Int!): MergePreviewResult
  • }