feat: convert many queries and subscriptions to new input parameters, update action logs
### Additions * added field `previousLog: ActionLogType` to `ActionLogType` type * added field `nextLogs: [ActionLogType!]!` to `ActionLogType` type * added field `previousLogId: ID` to `ActionLogType` type ### Changes * subscription `actionLogs(teamId: ID!): (actionLog: ActionLogType!, eventType: EventType!)` changed to `actionLogs(teamIds: [ID!]!, typeBlacklist: [LogType!]): ([ActionLogType!]!, eventType: EventType!)` * subscription `milestones(teamId: ID!)` changed to `milestones(teamIds: [ID!]!)` * query `teamActionLogs(teamId: ID!, exerciseId: ID)` changed to `teamActionLogs(teamIds: [ID!]!, exerciseId: ID, typeBlacklist: [LogType!])` * query `teamChannelLogs(teamId: ID!, channelId: ID!, exerciseId: ID)` changed to `teamChannelLogs(teamIds: [ID!]!, channelId: ID!, exerciseId: ID, typeBlacklist: [LogType!])` * query `emailThreads(teamId: ID!)` changed to `emailThreads(teamIds: [ID!]!)` * query `teamMilestones(teamId: ID!, exerciseId: ID)` changed to `teamMilestones(teamIds: [ID!]!, exerciseId: ID)` * query `teamQuestionnaires(teamId: ID!)` changed to `teamQuestionnaires(teamIds: [ID!]!)` * query `teamLearningObjectives(teamId: ID!)` changed to `teamLearningObjectives(teamIds: [ID!]!)` ### Deletions * removed `analyticsActionLogsSubscription` subscription * removed `analyticsMilestonesSubscription` subscription * removed `analyticsEmailThreadSubscription` subscription * removed `emailThreads` subscription * removed `analyticsMilestones` query * removed `analyticsEmailThreads` query * removed `exerciseQuestionnaires` query * removed `exerciseLearningObjectives` query Closes #452
Loading
Please sign in to comment