44 lines
1.0 KiB
TypeScript
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,
|
|
};
|