diff --git a/bigbluebutton-html5/imports/ui/components/connection-status/queries.jsx b/bigbluebutton-html5/imports/ui/components/connection-status/queries.jsx index ec72f53871..7c7aa21545 100644 --- a/bigbluebutton-html5/imports/ui/components/connection-status/queries.jsx +++ b/bigbluebutton-html5/imports/ui/components/connection-status/queries.jsx @@ -1,6 +1,6 @@ import { gql } from '@apollo/client'; -export const CONNECTION_STATUS_REPORT_SUBSCRIPTION = gql`subscription { +export const CONNECTION_STATUS_REPORT_SUBSCRIPTION = gql`subscription ConnStatusReport { user_connectionStatusReport { user { userId @@ -17,7 +17,7 @@ export const CONNECTION_STATUS_REPORT_SUBSCRIPTION = gql`subscription { } }`; -export const CONNECTION_STATUS_SUBSCRIPTION = gql`subscription { +export const CONNECTION_STATUS_SUBSCRIPTION = gql`subscription ConnStatus { user_connectionStatus { connectionAliveAt userClientResponseAt diff --git a/bigbluebutton-html5/imports/ui/components/timer/timer-graphql/indicator/queries.tsx b/bigbluebutton-html5/imports/ui/components/timer/timer-graphql/indicator/queries.tsx index 77de6b7591..29417b1a01 100644 --- a/bigbluebutton-html5/imports/ui/components/timer/timer-graphql/indicator/queries.tsx +++ b/bigbluebutton-html5/imports/ui/components/timer/timer-graphql/indicator/queries.tsx @@ -14,7 +14,7 @@ export interface GetTimerResponse { } export const GET_TIMER = gql` - subscription MySubscription { + subscription Timer { timer { accumulated active diff --git a/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-messages/chat-list/queries.ts b/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-messages/chat-list/queries.ts index 65522bc108..3a07bf987c 100644 --- a/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-messages/chat-list/queries.ts +++ b/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-messages/chat-list/queries.ts @@ -1,6 +1,6 @@ import { gql } from '@apollo/client'; -export const CHATS_SUBSCRIPTION = gql`subscription { +export const CHATS_SUBSCRIPTION = gql`subscription Chats { chat (order_by: [ {public: desc}, {totalUnread: desc}, diff --git a/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-list-participants/queries.ts b/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-list-participants/queries.ts index 8fee0679e8..87587d4ce1 100644 --- a/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-list-participants/queries.ts +++ b/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-list-participants/queries.ts @@ -1,6 +1,6 @@ import { gql } from '@apollo/client'; -export const MEETING_PERMISSIONS_SUBSCRIPTION = gql`subscription { +export const MEETING_PERMISSIONS_SUBSCRIPTION = gql`subscription MeetingPermissions { meeting { meetingId isBreakout @@ -29,7 +29,7 @@ export const MEETING_PERMISSIONS_SUBSCRIPTION = gql`subscription { } }`; -export const CURRENT_USER_SUBSCRIPTION = gql`subscription { +export const CURRENT_USER_SUBSCRIPTION = gql`subscription UserListCurrUser { user_current { userId isModerator @@ -40,7 +40,7 @@ export const CURRENT_USER_SUBSCRIPTION = gql`subscription { }`; export const USER_AGGREGATE_COUNT_SUBSCRIPTION = gql` -subscription { +subscription UserListCount { user_aggregate { aggregate { count diff --git a/bigbluebutton-html5/imports/ui/core/graphql/queries/chatSubscription.ts b/bigbluebutton-html5/imports/ui/core/graphql/queries/chatSubscription.ts index 8102bbd16e..1d178cc36f 100644 --- a/bigbluebutton-html5/imports/ui/core/graphql/queries/chatSubscription.ts +++ b/bigbluebutton-html5/imports/ui/core/graphql/queries/chatSubscription.ts @@ -1,7 +1,7 @@ import { gql } from '@apollo/client'; const CHATS_SUBSCRIPTION = gql` - subscription { + subscription ChatSubscription { chat( order_by: [ { public: desc } diff --git a/bigbluebutton-html5/imports/ui/core/graphql/queries/pollResultsSubscription.js b/bigbluebutton-html5/imports/ui/core/graphql/queries/pollResultsSubscription.js index 99d549000c..1bdabd1055 100644 --- a/bigbluebutton-html5/imports/ui/core/graphql/queries/pollResultsSubscription.js +++ b/bigbluebutton-html5/imports/ui/core/graphql/queries/pollResultsSubscription.js @@ -1,7 +1,7 @@ import { gql } from '@apollo/client'; const POLL_RESULTS_SUBSCRIPTION = gql` - subscription { + subscription PollResults { poll (where: {published: {_eq: true}}, order_by: [{ publishedAt: desc }], limit: 1) { ended published diff --git a/bigbluebutton-html5/imports/ui/core/graphql/queries/pollSubscription.js b/bigbluebutton-html5/imports/ui/core/graphql/queries/pollSubscription.js index e96d5ef26f..c468ac25af 100644 --- a/bigbluebutton-html5/imports/ui/core/graphql/queries/pollSubscription.js +++ b/bigbluebutton-html5/imports/ui/core/graphql/queries/pollSubscription.js @@ -1,7 +1,7 @@ import { gql } from '@apollo/client'; const POLL_SUBSCRIPTION = gql` - subscription { + subscription PollPublished { poll { published } diff --git a/bigbluebutton-html5/imports/ui/core/graphql/queries/users.ts b/bigbluebutton-html5/imports/ui/core/graphql/queries/users.ts index 02dc8575a4..89adb77eda 100644 --- a/bigbluebutton-html5/imports/ui/core/graphql/queries/users.ts +++ b/bigbluebutton-html5/imports/ui/core/graphql/queries/users.ts @@ -62,7 +62,7 @@ subscription UserListSubscription($offset: Int!, $limit: Int!) { }`; export const USER_AGGREGATE_COUNT_SUBSCRIPTION = gql` - subscription { + subscription UsersCount { user_aggregate { aggregate { count @@ -72,7 +72,7 @@ export const USER_AGGREGATE_COUNT_SUBSCRIPTION = gql` `; export const USERS_OVERVIEW = gql` -subscription Users { +subscription UsersOverview { user { userId name