Skip to content
Commit e4e0a793 authored by Martin Juhás's avatar Martin Juhás
Browse files

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
parent 0665e103
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment