bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/meeting-ended/queries.ts
2024-05-01 09:39:03 -03:00

44 lines
1.0 KiB
TypeScript

import { gql } from '@apollo/client';
export interface MeetingEndDataResponse {
user_current: Array<{
isModerator: boolean;
meeting: {
learningDashboard: {
learningDashboardAccessToken: string;
}
isBreakout: boolean;
logoutUrl: string;
clientSettings: {
askForFeedbackOnLogout: boolean;
allowDefaultLogoutUrl: boolean;
learningDashboardBase: string;
};
};
}>;
}
export const getMeetingEndData = gql`
query getMeetingEndData {
user_current {
isModerator
meeting {
learningDashboard {
learningDashboardAccessToken
}
isBreakout
logoutUrl
clientSettings {
askForFeedbackOnLogout: clientSettingsJson(path: "$.public.app.askForFeedbackOnLogout")
allowDefaultLogoutUrl: clientSettingsJson(path: "$.public.app.allowDefaultLogoutUrl")
learningDashboardBase: clientSettingsJson(path: "$.public.app.learningDashboardBase")
}
}
}
}
`;
export default {
getMeetingEndData,
};