bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/meeting-ended/meeting-ended-ts/queries.ts
2024-03-08 10:59:47 -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,
};