feat: implement new action logs and move action logs to the new api format
### Additions * added new `LogType` enum value `CONFIRMATION` * added new `LogType` enum value `FORM_REVIEW` * added new union `TActionLogDetails` * added new union `IActionLogDetails` * added new type `TConfirmationDetailsType` * added new type `IConfirmationDetailsType` * added new type `TQuestionnaireReviewDetailsType` * added new type `IQuestionnaireReviewDetailsType` * added new type `TToolDetailsType` * added new type `IToolDetailsType` * added new type `TInjectDetailsType` * added new type `IInjectDetailsType` * added new type `TConfirmationDetailsType` * added new type `IConfirmationDetailsType` * added new type `TEmailType` * added new type `IEmailType` * added new type `TQuestionnaireSubmissionType` * added new type `IQuestionnaireSubmissionType` * added new type `TTeamQuestionnaireStateType` * added new type `ITeamQuestionnaireStateType` * added new type `TActionLogType` * added new type `IActionLogType` * added new interface `QuestionnaireSubmissionInterface` * added new interface `TeamQuestionnaireStateInterface` * added new interface `ActionLogInterface` * added new interface `EmailInterface` * added field `user: RestrictedUser` to `ActionLogType` type * added field `action_log: ActionLogInterface!` to `answerQuestionnaire` mutation * added field `action_log: ActionLogInterface!` to `reviewQuestionnaire` mutation ### Changes * renamed field `type: LogType!` on `ActionLogInterface` to `logType: LogType!` * changed field `logs: [ActionLogType!]!` on `TeamType` to `logs: [ActionLogInterface!]!` * changed field `teamQuestionnaireStates: [TeamQuestionnaireStateType!]!` on `TeamType` to `teamQuestionnaireStates: [TeamQuestionnaireStateInterface!]!` * changed field `lastEmail: EmailType` on `EmailThreadType` to `lastEmail: EmailInterface` * changed field `emails: [EmailType!]!` on `EmailThreadType` to `emails: [ActionLogInterface!]!` * changed field `emails: [EmailType!]!` on `EmailParticipantType` to `emails: [ActionLogInterface!]!` ### Deletions * removed type `InjectDetailsType` * removed field `confirmed: Boolean` from `InjectDetailsType` type * removed field `confirmedBy: RestrictedUser` from `InjectDetailsType` type * removed field `timestampConfirmed: DateTime` from `InjectDetailsType` type * removed return field `eventType: EventType!` from `actionLogs` subscription Closes #457
Loading
Please sign in to comment