{"version":3,"sources":["webpack:///./src/queries/modules/student-unittest/index.js","webpack:///./src/queries/modules/advisor-online-schedule/advisor-online-schedule.js","webpack:///./src/queries/modules/pm/private-message.js","webpack:///./src/queries/modules/common_data/academicPeriodConfig.js","webpack:///./src/queries/modules/student/index.js","webpack:///./src/queries/modules/classroom/course-faq.js","webpack:///./src/router.js","webpack:///./src/queries/modules/web-board/web-board-reply.js","webpack:///./src/queries/modules/courses/class-section.js","webpack:///./src/queries/modules/student-unit-learn/index.js","webpack:///./src/queries/modules/user.js","webpack:///./src/queries/modules/chat/chat.js","webpack:///./src/queries/modules/university-news/info-topic.js","webpack:///./src/queries/modules/courses/course-outline-registration.js","webpack:///./src/queries/modules/notification/notification.js","webpack:///./src/queries/modules/web-board/web-board.js","webpack:///./src/queries/modules/student-enroll/student-enroll-detail.js","webpack:///./src/queries/modules/pm/private-message-reply.js","webpack:///./src/queries/modules/classroom/classroom.js","webpack:///./src/queries/modules/university-news/info-group.js","webpack:///./src/queries/modules/student-assingment/student-assignment.js","webpack:///./src/queries/modules/student-enroll/student-enroll.js","webpack:///./src/queries/modules/examination/exam.js","webpack:///./src/queries/modules/system/system-config.js","webpack:///./src/queries/modules/liveclass/index.js"],"names":["ADD_STUDENTUNITTEST","gql","GET_STUDENT_UNITPRETEST_BYFILTER","GENERATE_STUDENT_UNITPRETESTS","BULKCREATE_STUDENTUNIT_PRETEST_ANSWER","GET_STUDENT_UNITPOSTTEST_BYFILTER","GENERATE_STUDENT_UNITPOSTTESTS","BULKCREATE_STUDENTUNIT_POSTTEST_ANSWER","UPDATE_STUDENTUNIT_TEST","GET_ADVISOR_ONLINE_SCHEDULE","GET_ADVISOR_ONLINE_SCHEDULES_BY_FILTER","GET_ADVISOR_ONLINE_SCHEDULES_BY_FILTER_FOR_TABLE","GET_ADVISOR_ONLINE_SCHEDULES_CURRENT_USER","GET_ADVISOR_ONLINE_SCHEDULES","ADD_ADVISOR_ONLINE_SCHEDULE","UPDATE_ADVISOR_ONLINE_SCHEDULE","DELETE_ADVISOR_ONLINE_SCHEDULE","GET_PRIVATE_MESSAGE","GET_PRIVATE_MESSAGES","GET_PRIVATE_MESSAGES_BY_FILTER","GET_PRIVATE_MESSAGES_SEND_TO_CURRENT_USER","GET_PRIVATE_MESSAGES_SEND_FROM_CURRENT_USER","GET_COURSES_OF_PRIVATE_MESSAGES_CURRENT_STUDENT","GET_COURSES_OF_PRIVATE_MESSAGES_CURRENT_TEACHER","ADD_PRIVATE_MESSAGE","UPDATE_PRIVATE_MESSAGE","UPDATE_PRIVATE_MESSAGE_ALREADY_READ","DELETE_PRIVATE_MESSAGE","GET_ACADEMICPERIODCONFIGS_CURRENT","GET_ACADEMICPERIODCONFIG","GET_ACADEMICPERIODCONFIGS","UPDATE_ACADEMICPERIODCONFIG","GET_STUDENT_PROFILE","GET_STUDENT_ENROLL","GET_STUDENT_ENROLLDETAILS","GET_STUDENT_BY_CURRENT_USER","UPDATE_STUDENT_INFORMATION","GET_COURSE_FAQ","GET_COURSE_FAQS","GET_COURSE_FAQS_BY_FILTER","GET_COURSE_FAQS_BY_FILTER_CURRENT_TEACHER","ADD_COURSE_FAQ","UPDATE_COURSE_FAQ","UPDATE_COURSE_FAQ_HIT_COUNT","DELETE_COURSE_FAQ","Vue","use","Router","router","mode","base","process","scrollBehavior","x","y","routes","path","component","beforeEnter","AuthRequired","children","name","meta","breadcrumb","title","i18n","default","url","active","pageTitle","props","redirect","afterEach","appLoading","document","getElementById","style","display","beforeEach","from","to","next","checkServerVersion","correctVersion","location","reload","GET_WEB_BOARD_REPLY","GET_WEB_BOARD_REPLY_REPLIES","GET_WEB_BOARD_REPLY_REPLIES_BY_FILTER","ADD_WEB_BOARD_REPLY","UPDATE_WEB_BOARD_REPLY","DELETE_WEB_BOARD_REPLY","GET_CLASSSECTION","GET_CLASSSECTIONS","GET_CLASSSECTIONS_BY_FILTER","GET_CLASSSECTIONS_BY_STUDENT_NOT_REGISTER","ADD_CLASSSECTION","UPDATE_CLASSSECTION","DELETE_CLASSSECTION","BULKCREATE_STUDENTUNITLEARN","ADD_STUDENT_UNIT_TOPIC_LEARN","ADD_STUDENT_UNIT_AND_TOPIC_LEARN","UPDATE_STUDENT_LEARN_TIME","UPDATE_STUDENT_TOPIC_AND_UNIT_LEARN","UPDATE_UNSAVED_STUDENT_TOPIC_AND_UNIT_LEARN","UPDATE_REVIEW_SOCRE","GET_CURRENT_USER","FORGOT_PASSWORD","RESET_PASSWORD","RESET_PASSWORD_CURRENT_USER","REGISTER","GET_USER_PUBLIC_PROFILE","GET_CHATROOMS","GET_CHATROOMS_BY_FILTER","GET_CHATROOM_BY_ID","GET_CHATROOM_BY_ASSOCIATIVE_KEY","SEND_CHATMESSAGES","GET_INFO_TOPIC","GET_INFO_TOPICS","GET_INFO_TOPIC_BY_INFO_GROUP_ID","GET_INFO_TOPICS_STUDENT_FIRST_PAGE","GET_INFO_TOPICS_TEACHER_FIRST_PAGE","GET_RECENT_INFO_TOPICS_FOR_STUDENT","GET_RECENT_INFO_TOPICS_FOR_TEACHER","ADD_INFO_TOPIC","UPDATE_INFO_TOPIC","DELETE_INFO_TOPIC","GET_COURSEOUTLINEREGISTRATION","GET_COURSEOUTLINEREGISTRATIONS","GET_COURSEOUTLINEREGISTRATIONS_BY_FILTER","GET_COURSEOUTLINEREGISTRATIONS_BY_FILTER_FOR_TABLE","GET_COURSEOUTLINEREGISTRATIONS_BY_FILTER_ONLY_COURSEOUTLINE","ADD_COURSEOUTLINEREGISTRATION","UPDATE_COURSEOUTLINEREGISTRATION","UPDATE_TEACHER_COURSEOUTLINEREGISTRATION","DELETE_COURSEOUTLINEREGISTRATION","GET_NOTIFICATION_CURRENT_USER","GET_WEB_BOARD","GET_WEB_BOARDS","GET_WEB_BOARDS_BY_FILTER","ADD_WEB_BOARD","UPDATE_WEB_BOARD","UPDATE_REPLY_TO_WEB_BOARD","UPDATE_WEB_BOARD_ALREADY_READ","UPDATE_WEB_BOARD_HIT_RATE","DELETE_WEB_BOARD","GET_STUDENTENROLLDETAIL_BYID","GET_STUDENTENROLLDETAIL_BYID_FOR_LEARNING","GET_STUDENTENROLLDETAIL_LIST_BYSTUDENTENROLLID","GET_STUDENT_IN_CLASS_SECTION_BY_CODE_OR_NAME","GET_TEACHERS_IN_STUDENT_ENROLL_BY_CODE_OR_NAME_CURRENT_USER","GET_STUDENT_ENROLL_DETAILS_BY_CURRENT_USER","GET_STUDENT_ENROLL_DETAILS_BY_CURRENT_USER_WHILE_EXAM","GET_PRIVATE_MESSAGE_REPLY","GET_PRIVATE_MESSAGE_REPLIES","GET_PRIVATE_MESSAGE_REPLIES_BY_FILTER","ADD_PRIVATE_MESSAGE_REPLY","UPDATE_PRIVATE_MESSAGE_REPLY","UPDATE_PRIVATE_MESSAGE_REPLY_ALREADY_READ","DELETE_PRIVATE_MESSAGE_REPLY","GET_CLASSROOMS","GET_INFO_GROUPS","GET_INFO_GROUP","ADD_INFO_GROUP","UPDATE_INFO_GROUP","DELETE_INFO_GROUP","GET_STUDENTASSIGNMENT","GET_STUDENTASSIGNMENTS_BY_FILTER","GET_STUDENTASSIGNMENTS","ADD_STUDENTASSIGNMENT","UPDATE_STUDENTASSIGNMENT","UPDATE_STUDENTASSIGNMENT_TEACHER_RECEIVE","DELETE_STUDENTASSIGNMENT","GET_STUDENT_ENROLL_BY_CURRENT_USER","GET_STUDENT_ENROLL_BYID","GET_STUDENTENROLL_LIST","GET_EXAM_LIST_BYFILTER","SYSTEM_CONFIG_WESTERN","SYSTEM_CONFIG_NATION","SYSTEM_CONFIG","ADD_SYSTEM_CONFIG","UPDATE_SYSTEM_CONFIG","GET_LIVECLASSSCHEDULES","GET_LIVECLASSSCHEDULES_CURRENT_USER"],"mappings":"20LAEO,IAAMA,EAAsBC,eAAH,KAmCnBC,EAAmCD,eAAH,KAwChCE,EAAgCF,eAAH,KA4C7BG,EAAwCH,eAAH,KAkBrCI,EAAoCJ,eAAH,KAwCjCK,EAAiCL,eAAH,KA4C9BM,EAAyCN,eAAH,KAgBtCO,EAA0BP,eAAH,M,4vSC7O7B,IAAMQ,EAA8BR,eAAH,KAmE3BS,EAAyCT,eAAH,KA+BtCU,EAAmDV,eAAH,KAkBhDW,EAA4CX,eAAH,KAiBzCY,EAA+BZ,eAAH,KAkB5Ba,EAA8Bb,eAAH,KAoC3Bc,EAAiCd,eAAH,KAsC9Be,EAAiCf,eAAH,M,suUCjOpC,IAAMgB,EAAsBhB,eAAH,KAsBnBiB,EAAuBjB,eAAH,KAwBpBkB,EAAiClB,eAAH,KAwB9BmB,EAA4CnB,eAAH,KA0BzCoB,EAA8CpB,eAAH,KA0B3CqB,EAAkDrB,eAAH,KAY/CsB,EAAkDtB,eAAH,KAY/CuB,EAAsBvB,eAAH,KAoCnBwB,EAAyBxB,eAAH,KA6BtByB,EAAsCzB,eAAH,KA4BnC0B,EAAyB1B,eAAH,M,uoGC/O5B,IAAM2B,EAAoC3B,eAAH,KAiBjC4B,EAA2B5B,eAAH,KAoBxB6B,EAA4B7B,eAAH,KAgDzB8B,GA/B2B9B,eAAH,KA+BMA,eAAH,O,4nSCrFjC,IAAM+B,EAAsB/B,eAAH,KAqEnBgC,EAAqBhC,eAAH,KAsNlBiC,EAA4BjC,eAAH,KAkHzBkC,EAA8BlC,eAAH,KAa3BmC,EAA6BnC,eAAH,M,+sJC1ZhC,IAAMoC,EAAiBpC,eAAH,KAkBdqC,EAAkBrC,eAAH,KAoBfsC,EAA4BtC,eAAH,KAoBzBuC,EAA4CvC,eAAH,KAoBzCwC,EAAiBxC,eAAH,KA0BdyC,EAAoBzC,eAAH,KA0BjB0C,EAA8B1C,eAAH,KAsB3B2C,EAAoB3C,eAAH,M,wHCpJ9B4C,aAAIC,IAAIC,QAER,IAAMC,EAAS,IAAID,OAAO,CACxBE,KAAM,UACNC,KAAMC,IACNC,eAHwB,WAItB,MAAO,CAACC,EAAG,EAAGC,EAAG,IAEnBC,OAAQ,CAIN,CACEC,KAAM,GACNC,UAAW,kBAAM,kIACjBC,YAAaC,OACbC,SAAU,CAIR,CACEJ,KAAM,IACNK,KAAM,OACNJ,UAAW,kBAAM,iDACjBK,KAAM,CACJC,WAAY,CACV,CAAEC,MAAO,CAAEC,KAAM,sBAAuBC,QAAS,QAAUC,IAAK,IAAKC,QAAQ,IAE/EC,UAAW,wBAGf,CACER,KAAM,cACNL,KAAM,cACNC,UAAW,kBAAM,iDACjBG,SAAU,CACR,CACEC,KAAM,iBACNL,KAAM,wCACNc,OAAO,EACPb,UAAW,kBAAM,kIACjBK,KAAM,CACJC,WAAY,CACV,CACEC,MAAO,CACLC,KAAM,sBAAuBC,QAAS,kBAExCC,IAAK,IACLC,QAAQ,IAGZC,UAAW,2BAKnB,CACEb,KAAM,gBACNK,KAAM,eACNJ,UAAW,kBAAM,4GACjBK,KAAM,CACJC,WAAY,CACV,CAAEC,MAAO,CAAEC,KAAM,8BAA+BC,QAAS,iBAAmBC,IAAK,IAAKC,QAAQ,IAEhGC,UAAW,gCAGf,CACEb,KAAM,2BACNK,KAAM,0BACNJ,UAAW,kBAAM,4GACjBK,KAAM,CACJC,WAAY,CACV,CAAEC,MAAO,CAAEC,KAAM,yCAA0CC,QAAS,iBAAmBC,IAAK,IAAKC,QAAQ,IAE3GC,UAAW,2CAGf,CACEb,KAAM,WACNK,KAAM,UACNJ,UAAW,kBAAM,iDACjBK,KAAM,CACJC,WAAY,CACV,CAAEC,MAAO,CAAEC,KAAM,yBAA0BC,QAAS,WAAaC,IAAK,IAAKC,QAAQ,IAErFC,UAAW,2BAGf,CACEb,KAAM,MACNK,KAAM,KACNJ,UAAW,kBAAM,kIACjBK,KAAM,CACJC,WAAY,CACV,CAAEC,MAAO,CAAEC,KAAM,oBAAqBC,QAAS,WAAaC,IAAK,IAAKC,QAAQ,IAEhFC,UAAW,sBAGf,CACEb,KAAM,mBACNK,KAAM,kBACNJ,UAAW,kBAAM,iDACjBK,KAAM,CACJC,WAAY,CACV,CAACC,MAAO,OAAQG,IAAK,KACrB,CAAEH,MAAO,CAAEC,KAAM,iCAAkCC,QAAS,WAAaE,QAAQ,IAEnFC,UAAW,mCAGf,CACEb,KAAM,yBACNK,KAAM,qBACNS,OAAO,EACPb,UAAW,kBAAM,sFACjBK,KAAM,CACJC,WAAY,CACV,CAACC,MAAO,OAAQG,IAAK,KACrB,CAACH,MAAO,CAACC,KAAM,iCAAkCC,QAAS,WAAYC,IAAK,+BAC3E,CAACH,MAAO,CAACC,KAAM,oDAAqDC,QAAS,kBAAmBE,QAAQ,IAE1GC,UAAW,wDAQnB,CACEb,KAAM,GACNC,UAAW,kBAAM,kIAGjBG,SAAU,CACR,CACEC,KAAM,gBACNL,KAAM,mDACNc,OAAO,EACPb,UAAW,kBAAM,iDACjBM,WAAY,CACV,CAAEC,MAAO,CAAEC,KAAM,sBAAuBC,QAAS,QAAUC,IAAK,IAAKC,QAAQ,IAE/EC,UAAW,QAEb,CACER,KAAM,aACNL,KAAM,yBACNC,UAAW,kBAAM,wJACjBM,WAAY,CACV,CAAEC,MAAO,CAAEC,KAAM,sBAAuBC,QAAS,QAAUC,IAAK,IAAKC,QAAQ,IAE/EC,UAAW,UAIjB,CACER,KAAM,OACNL,KAAM,YACNC,UAAW,kBAAM,iDACjBM,WAAY,CACV,CAAEC,MAAO,CAAEC,KAAM,sCAAuCC,QAAS,cAAgBC,IAAK,IAAKC,QAAQ,IAErGC,UAAW,uCAKb,CACEb,KAAM,GACNC,UAAW,kBAAM,kIAGjBG,SAAU,IAOZ,CACEJ,KAAM,GACNC,UAAW,kBAAM,iDACjBG,SAAU,CAIR,CACEJ,KAAM,QACNK,KAAM,OACNJ,UAAW,kBAAM,iDACjBc,SAAU,cACVX,SAAU,CACR,CACEJ,KAAM,QACNK,KAAM,aACNJ,UAAW,kBAAM,kDAEnB,CACED,KAAM,WACNK,KAAM,gBACNJ,UAAW,kBAAM,kDAEnB,CACED,KAAM,kBACNK,KAAM,uBACNJ,UAAW,kBAAM,kDAEnB,CACED,KAAM,kBACNK,KAAM,uBACNS,OAAO,EACPb,UAAW,kBAAM,oDAIvB,CACED,KAAM,mBACNK,KAAM,iBACNJ,UAAW,kBAAM,kDAEnB,CACED,KAAM,aACNK,KAAM,YACNJ,UAAW,kBAAM,oDAOvB,CACED,KAAM,OACNC,UAAW,kBAAM,kIAEjBG,SAAU,CAIR,CACEJ,KAAM,IACNK,KAAM,WACNJ,UAAW,kBAAM,iDACjBK,KAAM,CACJC,WAAY,CACV,CAAEC,MAAO,CAAEC,KAAM,sBAAuBC,QAAS,QAAUC,IAAK,IAAKC,QAAQ,IAE/EC,UAAW,WAUnB,CACEb,KAAM,IACNe,SAAU,uBAKhBvB,EAAOwB,WAAU,WAEf,IAAMC,EAAaC,SAASC,eAAe,cACvCF,IACFA,EAAWG,MAAMC,QAAU,WAK/B7B,EAAO8B,WAAP,yDAAkB,WAAOC,EAAMC,EAAIC,GAAjB,uGAEaC,iBAFb,OAEVC,EAFU,OAGbA,EACDF,IAEAG,SAASC,SANK,2CAAlB,2DAUerC,U,6vHCjSR,IAAMsC,EAAsBrF,eAAH,KAoBnBsF,EAA8BtF,eAAH,KAsB3BuF,EAAwCvF,eAAH,KAsBrCwF,EAAsBxF,eAAH,KA4BnByF,EAAyBzF,eAAH,KA0BtB0F,EAAyB1F,eAAH,M,0yOC/G5B,IAAM2F,EAAmB3F,eAAH,KA4DhB4F,EAAoB5F,eAAH,KAsCjB6F,EAA8B7F,eAAH,KA+C3B8F,EAA4C9F,eAAH,KA2CzC+F,EAAmB/F,eAAH,KAmEhBgG,EAAsBhG,eAAH,KAiEnBiG,EAAsBjG,eAAH,M,++LCvUzB,IAAMkG,EAA8BlG,eAAH,KAyD3BmG,EAA+BnG,eAAH,KA0C5BoG,EAAmCpG,eAAH,KA2BhCqG,EAA4BrG,eAAH,KA8BzBsG,EAAsCtG,eAAH,KAwBnCuG,EAA8CvG,eAAH,KAuB3CwG,EAAsBxG,eAAH,M,02IC3MRA,eAAH,KAkBIA,eAAH,KAeEA,eAAH,KAiBMA,eAAH,KAkBGA,eAAH,KApEjB,IAqFMyG,EAAmBzG,eAAH,KAoDhB0G,GArBQ1G,eAAH,KAqBaA,eAAH,MAgBf2G,EAAiB3G,eAAH,KAiBd4G,EAA8B5G,eAAH,KAkB3B6G,GANW7G,eAAH,KAMGA,eAAH,MA4CR8G,GANoC9G,eAAH,KAMPA,eAAH,O,swDCjO7B,IAAM+G,EAAgB/G,eAAH,KAgBbgH,EAA0BhH,eAAH,KAevBiH,EAAqBjH,eAAH,KA+BlBkH,EAAkClH,eAAH,KAgC/BmH,EAAoBnH,eAAH,M,8qJCrGvB,IAAMoH,EAAiBpH,eAAH,KAgBdqH,EAAkBrH,eAAH,KAcfsH,EAAkCtH,eAAH,KAe/BuH,EAAqCvH,eAAH,KAclCwH,EAAqCxH,eAAH,KAclCyH,EAAqCzH,eAAH,KAgBlC0H,EAAqC1H,eAAH,KAgBlC2H,EAAiB3H,eAAH,KAoBd4H,EAAoB5H,eAAH,KAqBjB6H,EAAoB7H,eAAH,M,irTClJvB,IAAM8H,EAAgC9H,eAAH,KAyC7B+H,EAAiC/H,eAAH,KAuC9BgI,EAA2ChI,eAAH,KA8CxCiI,EAAqDjI,eAAH,KAwBlDkI,EAA8DlI,eAAH,KAe3DmI,EAAgCnI,eAAH,KA4C7BoI,EAAmCpI,eAAH,KA6ChCqI,EAA2CrI,eAAH,KAiDxCsI,EAAmCtI,eAAH,M,gXC/StC,IAAMuI,EAAgCvI,eAAH,M,mgVCAnC,IAAMwI,EAAgBxI,eAAH,KAsCbyI,EAAiBzI,eAAH,KAwCd0I,EAA2B1I,eAAH,KAwCxB2I,EAAgB3I,eAAH,KAoDb4I,EAAmB5I,eAAH,KA6ChB6I,EAA4B7I,eAAH,KA8CzB8I,EAAgC9I,eAAH,KA0C7B+I,EAA4B/I,eAAH,KA0CzBgJ,EAAmBhJ,eAAH,M,ujVCzVtB,IAAMiJ,EAA+BjJ,eAAH,KAgF5BkJ,EAA4ClJ,eAAH,KAyFzCmJ,GAhB+BnJ,eAAH,KAgBqBA,eAAH,MAgD9CoJ,GAZwCpJ,eAAH,KAYUA,eAAH,MA0B5CqJ,EAA8DrJ,eAAH,KAuB3DsJ,EAA6CtJ,eAAH,KAkD1CuJ,EAAwDvJ,eAAH,KAsC3BA,eAAH,KAyCMA,eAAH,KAcGA,eAAH,KAYeA,eAAH,M,6mICra5C,IAAMwJ,EAA4BxJ,eAAH,KAYzByJ,EAA8BzJ,eAAH,KAc3B0J,EAAwC1J,eAAH,KAcrC2J,EAA4B3J,eAAH,KAoBzB4J,EAA+B5J,eAAH,KAkB5B6J,EAA4C7J,eAAH,KAgBzC8J,EAA+B9J,eAAH,M,kxBCvFlC,IAAM+J,EAAiB/J,eAAH,M,04CCPpB,IAAMgK,EAAkBhK,eAAH,KAQfiK,EAAiBjK,eAAH,KAUdkK,EAAiBlK,eAAH,KAYdmK,EAAoBnK,eAAH,KAcjBoK,EAAoBpK,eAAH,M,kiJC5CvB,IAAMqK,EAAwBrK,eAAH,KAwBrBsK,EAAmCtK,eAAH,KAyBhCuK,EAAyBvK,eAAH,KAqBtBwK,EAAwBxK,eAAH,KAoBrByK,EAA2BzK,eAAH,KA2BxB0K,EAA2C1K,eAAH,KA2BxC2K,EAA2B3K,eAAH,M,klIC/I9B,IAAM4K,EAAqC5K,eAAH,KA2ClC6K,EAA0B7K,eAAH,KAuBvB8K,EAAyB9K,eAAH,KA2BOA,eAAH,KAYNA,eAAH,KAyCMA,eAAH,KAcGA,eAAH,KAYeA,eAAH,M,ocCvKtC,IAAM+K,EAAyB/K,eAAH,M,4wDCN5B,IAAMgL,EAAwBhL,eAAH,KASrBiL,EAAuBjL,eAAH,KASpBkL,EAAgBlL,eAAH,KASbmL,EAAoBnL,eAAH,KAajBoL,EAAuBpL,eAAH,M,myTCxCIA,eAAH,KAoEcA,eAAH,KAuBaA,eAAH,KA3FhD,IA8GMqL,EAAyBrL,eAAH,KAsEtBsL,EAAsCtL,eAAH,KAmBXA,eAAH,KAuCMA,eAAH,KAyCGA,eAAH","file":"js/app~0e6551fc.9e14fa0a.js","sourcesContent":["import { gql } from \"apollo-boost\";\n\nexport const ADD_STUDENTUNITTEST = gql`\n mutation addStudentUnitTest(\n $studentUnitTestInput: StudentUnitTestInput!\n $studentId: ID!\n $studentEnrollId: ID!\n $studentEnrollDetailId: ID!\n $academicPeriodId: ID!\n $subjectId: ID!\n $courseOutlineUnitId: ID\n ) {\n addStudentUnitTest (\n studentUnitTestInput: $studentUnitTestInput,\n studentId: $studentId,\n studentEnrollId: $studentEnrollId,\n studentEnrollDetailId: $studentEnrollDetailId,\n academicPeriodId: $academicPeriodId,\n subjectId: $subjectId,\n courseOutlineUnitId: $courseOutlineUnitId,\n )\n {\n id\n unitSeq\n isPosttestDone\n pretestMaxScore\n pretestQuestionQty\n pretestScore\n isPretestDone\n posttestMaxScore\n posttestQuestionQty\n posttestScore\n isPosttestDone\n }\n }\n`;\n\nexport const GET_STUDENT_UNITPRETEST_BYFILTER = gql`\n query getStudentUnitPretestsByFilter (\n $studentUnitTestId: ID!\n ) {\n getStudentUnitPretestsByFilter (\n studentUnitTestId: $studentUnitTestId\n )\n {\n id\n studentUnitTest {\n id\n }\n examQuestion {\n id\n unitSeq\n nameLocal\n nameEng\n picturePath\n score\n isRandomChoice\n examAnswers {\n id\n no\n isCorrected\n nameLocal\n nameEng\n picturePath\n }\n }\n studentUnitPretestAnswer {\n id\n answerNo\n answerSeq\n }\n studentUnitAnswerNo\n isDone\n }\n }\n`;\n\nexport const GENERATE_STUDENT_UNITPRETESTS = gql`\n mutation generateStudentUnitPretests (\n $studentUnitTestId: ID!\n $studentEnrollDetailId: ID!\n $courseOutlineUnitId: ID!\n ) {\n generateStudentUnitPretests (\n studentUnitTestId: $studentUnitTestId,\n studentEnrollDetailId: $studentEnrollDetailId,\n courseOutlineUnitId: $courseOutlineUnitId\n )\n {\n id\n studentUnitTest {\n id\n }\n examQuestion {\n id\n unitSeq\n nameLocal\n nameEng\n picturePath\n score\n isRandomChoice\n examAnswers {\n id\n no\n isCorrected\n nameLocal\n nameEng\n picturePath\n }\n }\n studentUnitPretestAnswer {\n id\n answerNo\n answerSeq\n }\n studentUnitAnswerNo\n isDone\n }\n }\n`;\n\nexport const BULKCREATE_STUDENTUNIT_PRETEST_ANSWER = gql`\n mutation bulkCreateStudentUnitPretestAnswer (\n $studentUnitPretestAnswerCreateArray: [StudentUnitPretestAnswerBulkCreateInput!]\n ) {\n bulkCreateStudentUnitPretestAnswer(\n studentUnitPretestAnswerCreateArray: $studentUnitPretestAnswerCreateArray\n )\n {\n id\n pretestMaxScore pretestQuestionQty pretestScore isPretestDone\n posttestMaxScore posttestQuestionQty posttestScore isPosttestDone\n courseOutlineUnit { id }\n }\n }\n`;\n\n\n\nexport const GET_STUDENT_UNITPOSTTEST_BYFILTER = gql`\nquery getStudentUnitPosttestsByFilter (\n $studentUnitTestId: ID!\n) {\n getStudentUnitPosttestsByFilter (\n studentUnitTestId: $studentUnitTestId\n )\n {\n id\n studentUnitTest {\n id\n }\n examQuestion {\n id\n unitSeq\n nameLocal\n nameEng\n picturePath\n score\n isRandomChoice\n examAnswers {\n id\n no\n isCorrected\n nameLocal\n nameEng\n picturePath\n }\n }\n studentUnitPosttestAnswer {\n id\n answerNo\n answerSeq\n }\n studentUnitAnswerNo\n isDone\n }\n}\n`;\n\nexport const GENERATE_STUDENT_UNITPOSTTESTS = gql`\nmutation generateStudentUnitPosttests (\n $studentUnitTestId: ID!\n $studentEnrollDetailId: ID!\n $courseOutlineUnitId: ID!\n) {\n generateStudentUnitPosttests (\n studentUnitTestId: $studentUnitTestId,\n studentEnrollDetailId: $studentEnrollDetailId,\n courseOutlineUnitId: $courseOutlineUnitId\n )\n {\n id\n studentUnitTest {\n id\n }\n examQuestion {\n id\n unitSeq\n nameLocal\n nameEng\n picturePath\n score\n isRandomChoice\n examAnswers {\n id\n no\n isCorrected\n nameLocal\n nameEng\n picturePath\n }\n }\n studentUnitPosttestAnswer {\n id\n answerNo\n answerSeq\n }\n studentUnitAnswerNo\n isDone\n }\n}\n`;\n\nexport const BULKCREATE_STUDENTUNIT_POSTTEST_ANSWER = gql`\n mutation bulkCreateStudentUnitPosttestAnswer (\n $studentUnitPosttestAnswerCreateArray: [StudentUnitPosttestAnswerBulkCreateInput!]\n ) {\n bulkCreateStudentUnitPosttestAnswer(\n studentUnitPosttestAnswerCreateArray: $studentUnitPosttestAnswerCreateArray\n )\n {\n id\n pretestMaxScore pretestQuestionQty pretestScore isPretestDone\n posttestMaxScore posttestQuestionQty posttestScore isPosttestDone\n courseOutlineUnit { id }\n }\n }\n`;\n\nexport const UPDATE_STUDENTUNIT_TEST = gql`\n mutation updateStudentUnitTest (\n $id: ID!\n $isPretestDone: Boolean\n $isPosttestDone: Boolean\n ) {\n updateStudentUnitTest(\n id: $id\n isPretestDone: $isPretestDone\n isPosttestDone: $isPosttestDone\n )\n {\n id\n }\n }\n`;\n","import {gql} from 'apollo-boost';\n\nexport const GET_ADVISOR_ONLINE_SCHEDULE = gql`\n query getAdvisorOnlineSchedule($id : ID!){\n getAdvisorOnlineSchedule (\n id: $id\n ) {\n id periodCode degreeCode subjectGroupCode subjectCode subjectName\n teacherCode teacherFullName sectionNo topicLocal topicEng\n dateTimeFrom dateTimeTo descriptionLocal descriptionEng remark externalLink externalPassword\n isEnabled\n academicPeriod { id periodCode }\n degree { id code nameLocal nameEng }\n subjectGroup { id code nameLocal nameEng }\n subject { id code nameLocal nameEng }\n teacher { id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath\n telephone email socialMedia availableTime isSpecialTeacher picturePath label\n }\n courseOutlineRegistration { id }\n classSection { id sectionNo descriptionLocal descriptionEng\n startClassDate learnSpanNo examSpanNo studentRegisterQty\n classRoom{\n id\n nameLocal\n nameEng\n studentRegisterQty\n capacity\n startDate\n endDate\n courseOutlineRegistration{\n id\n courseOutline {\n id courseOutlineUnits{\n id seq nameLocal nameEng\n }\n }\n }\n degree{ id code }\n subjectGroup{ id code}\n classSection{\n id sectionNo descriptionLocal descriptionEng startClassDate\n learnSpanNo examSpanNo studentQty studentRegisterQty\n }\n teacher{\n id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath\n telephone email availableTime socialMedia isSpecialTeacher\n }\n subject{\n id code nameLocal nameEng\n }\n }\n vdoSet{\n id code totalVdoLength\n vdoSetUnits {\n id unitSeq\n vdoSetTopics{\n id vdoStreamPath\n }\n }\n }\n courseOutline{\n id\n courseOutlineUnits{ id }\n }\n }\n }\n }\n`;\n\nexport const GET_ADVISOR_ONLINE_SCHEDULES_BY_FILTER = gql`\n\n query getAdvisorOnlineSchedulesByFilter($advisorOnlineScheduleFilterInput: AdvisorOnlineScheduleFilterInput){\n getAdvisorOnlineSchedulesByFilter (\n advisorOnlineScheduleFilterInput:$advisorOnlineScheduleFilterInput\n ){\n id periodCode degreeCode subjectGroupCode subjectCode subjectName\n teacherCode teacherFullName sectionNo topicLocal topicEng\n dateTimeFrom dateTimeTo descriptionLocal descriptionEng remark externalLink externalPassword\n isEnabled\n academicPeriod { id periodCode }\n degree { id code nameLocal nameEng }\n subjectGroup { id code nameLocal nameEng }\n subject { id code nameLocal nameEng }\n teacher { id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath }\n courseOutlineRegistration{\n id\n courseOutline{\n id picturePath\n }\n }\n classSection { id sectionNo learnSpanNo studentRegisterQty studentQty\n classRoom{\n id capacity\n }\n }\n\n }\n }\n`;\n\nexport const GET_ADVISOR_ONLINE_SCHEDULES_BY_FILTER_FOR_TABLE = gql`\n\n query getAdvisorOnlineSchedulesByFilter($advisorOnlineScheduleFilterInput: AdvisorOnlineScheduleFilterInput){\n getAdvisorOnlineSchedulesByFilter (\n advisorOnlineScheduleFilterInput: $advisorOnlineScheduleFilterInput\n ){\n id periodCode degreeCode subjectGroupCode subjectCode subjectName\n teacherCode teacherFullName sectionNo topicLocal topicEng\n dateTimeFrom dateTimeTo descriptionLocal descriptionEng remark externalLink externalPassword\n isEnabled\n subject { id code nameLocal nameEng }\n teacher { id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath }\n classSection { id sectionNo }\n\n }\n }\n`;\n\nexport const GET_ADVISOR_ONLINE_SCHEDULES_CURRENT_USER = gql`\n query getAdvisorOnlineSchedulesCurrentUser {\n getAdvisorOnlineSchedulesCurrentUser {\n id periodCode degreeCode subjectGroupCode subjectCode subjectName\n teacherCode teacherFullName sectionNo topicLocal topicEng\n dateTimeFrom dateTimeTo descriptionLocal descriptionEng remark externalLink externalPassword\n isEnabled\n academicPeriod { id periodCode }\n degree { id code nameLocal nameEng }\n subjectGroup { id code nameLocal nameEng }\n subject { id code nameLocal nameEng }\n teacher { id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath }\n courseOutlineRegistration { id }\n classSection { id sectionNo learnSpanNo }\n }\n }\n`;\nexport const GET_ADVISOR_ONLINE_SCHEDULES = gql`\n query getAdvisorOnlineSchedules {\n getAdvisorOnlineSchedules {\n id periodCode degreeCode subjectGroupCode subjectCode subjectName\n teacherCode teacherFullName sectionNo topicLocal topicEng\n dateTimeFrom dateTimeTo descriptionLocal descriptionEng remark externalLink externalPassword\n isEnabled\n academicPeriod { id periodCode }\n degree { id code nameLocal nameEng }\n subjectGroup { id code nameLocal nameEng }\n subject { id code nameLocal nameEng }\n teacher { id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath }\n courseOutlineRegistration { id }\n classSection { id sectionNo }\n }\n }\n`;\n\nexport const ADD_ADVISOR_ONLINE_SCHEDULE = gql`\n mutation addAdvisorOnlineSchedule(\n $degreeId: ID\n $subjectGroupId: ID\n $subjectId: ID\n $teacherId: ID\n $academicPeriodId: ID\n $courseOutlineRegistrationId: ID\n $classSectionId: ID\n $advisorOnlineScheduleInput: AdvisorOnlineScheduleInput!\n ) {\n addAdvisorOnlineSchedule(\n degreeId: $degreeId\n subjectGroupId: $subjectGroupId\n subjectId: $subjectId\n teacherId: $teacherId\n academicPeriodId: $academicPeriodId\n courseOutlineRegistrationId: $courseOutlineRegistrationId\n classSectionId: $classSectionId\n advisorOnlineScheduleInput: $advisorOnlineScheduleInput\n ) {\n id periodCode degreeCode subjectGroupCode subjectCode subjectName\n teacherCode teacherFullName sectionNo topicLocal topicEng\n dateTimeFrom dateTimeTo descriptionLocal descriptionEng remark externalLink externalPassword\n isEnabled\n academicPeriod { id periodCode }\n degree { id code nameLocal nameEng }\n subjectGroup { id code nameLocal nameEng }\n subject { id code nameLocal nameEng }\n teacher { id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath }\n courseOutlineRegistration { id }\n classSection { id sectionNo }\n }\n }\n`;\n\nexport const UPDATE_ADVISOR_ONLINE_SCHEDULE = gql`\n mutation updateAdvisorOnlineSchedule(\n $id: ID!,\n $degreeId: ID\n $subjectGroupId: ID\n $subjectId: ID\n $teacherId: ID\n $academicPeriodId: ID\n $courseOutlineRegistrationId: ID\n $classSectionId: ID\n $advisorOnlineScheduleInput: AdvisorOnlineScheduleInput!\n ) {\n updateAdvisorOnlineSchedule(\n id: $id\n degreeId: $degreeId\n subjectGroupId: $subjectGroupId\n subjectId: $subjectId\n teacherId: $teacherId\n academicPeriodId: $academicPeriodId\n courseOutlineRegistrationId: $courseOutlineRegistrationId\n classSectionId: $classSectionId\n advisorOnlineScheduleInput: $advisorOnlineScheduleInput\n ) {\n id periodCode degreeCode subjectGroupCode subjectCode subjectName\n teacherCode teacherFullName sectionNo topicLocal topicEng\n dateTimeFrom dateTimeTo descriptionLocal descriptionEng remark externalLink externalPassword\n isEnabled\n academicPeriod { id periodCode }\n degree { id code nameLocal nameEng }\n subjectGroup { id code nameLocal nameEng }\n subject { id code nameLocal nameEng }\n teacher { id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath }\n courseOutlineRegistration { id }\n classSection { id sectionNo }\n }\n }\n`;\n\nexport const DELETE_ADVISOR_ONLINE_SCHEDULE = gql`\n mutation deleteAdvisorOnlineSchedule($id: ID!) {\n deleteAdvisorOnlineSchedule(\n id: $id\n ) {\n id periodCode degreeCode subjectGroupCode subjectCode subjectName\n teacherCode teacherFullName sectionNo topicLocal topicEng\n dateTimeFrom dateTimeTo descriptionLocal descriptionEng remark externalLink externalPassword\n isEnabled\n academicPeriod { id periodCode }\n degree { id code nameLocal nameEng }\n subjectGroup { id code nameLocal nameEng }\n subject { id code nameLocal nameEng }\n teacher { id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath }\n courseOutlineRegistration { id }\n classSection { id sectionNo }\n }\n }\n`;\n\n","import {gql} from 'apollo-boost';\n\nexport const GET_PRIVATE_MESSAGE = gql`\n query getPrivateMessage($id: ID!){\n getPrivateMessage(id: $id) {\n id toUserCode fromUserCode\n topic message sendDate hasNewReply newReplyDate readDate\n ip isFromTeacher isFromStudent\n academicPeriod {id periodCode}\n courseOutlineRegistration { id }\n classSection { id }\n toUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n fromUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n privateMessageReplies {\n id toUserCode fromUserCode message sendDate isRead readDate\n ip isFromTeacher isFromStudent\n privateMessage { id }\n toUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n fromUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n }\n }\n }\n`;\n\nexport const GET_PRIVATE_MESSAGES = gql`\n query getPrivateMessages($id : ID!){\n getPrivateMessages (\n id: $id\n ) {\n id toUserCode fromUserCode\n topic message sendDate hasNewReply newReplyDate readDate\n ip isFromTeacher isFromStudent\n academicPeriod {id periodCode}\n courseOutlineRegistration { id }\n classSection { id }\n toUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n fromUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n privateMessageReplies {\n id toUserCode fromUserCode message sendDate isRead readDate\n ip isFromTeacher isFromStudent\n privateMessage { id }\n toUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n fromUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n }\n }\n }\n`;\n\nexport const GET_PRIVATE_MESSAGES_BY_FILTER = gql`\n query getPrivateMessagesByFilter($privateMessageFilterInput: PrivateMessageFilterInput){\n getPrivateMessagesByFilter (\n privateMessageFilterInput: $privateMessageFilterInput\n ) {\n id toUserCode fromUserCode\n topic message sendDate hasNewReply newReplyDate readDate\n ip isFromTeacher isFromStudent\n academicPeriod {id periodCode}\n courseOutlineRegistration { id }\n classSection { id }\n toUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n fromUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n privateMessageReplies {\n id toUserCode fromUserCode message sendDate isRead readDate\n ip isFromTeacher isFromStudent\n privateMessage { id }\n toUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n fromUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n }\n }\n }\n`;\n\nexport const GET_PRIVATE_MESSAGES_SEND_TO_CURRENT_USER = gql`\n query getPrivateMessagesSendToCurrentUser($academicPeriodId: ID!){\n getPrivateMessagesSendToCurrentUser (\n academicPeriodId: $academicPeriodId\n ) {\n id toUserCode fromUserCode\n topic message sendDate hasNewReply newReplyDate readDate\n ip isFromTeacher isFromStudent\n academicPeriod {id periodCode}\n courseOutlineRegistration { id subjectCode }\n classSection { id sectionNo}\n toUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n fromUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n privateMessageReplies {\n id toUserCode fromUserCode message sendDate isRead readDate\n ip isFromTeacher isFromStudent\n privateMessage { id }\n toUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n fromUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n }\n updatedAt\n updatedBy { id }\n }\n }\n`;\n\nexport const GET_PRIVATE_MESSAGES_SEND_FROM_CURRENT_USER = gql`\n query getPrivateMessagesSendFromCurrentUser($academicPeriodId: ID!){\n getPrivateMessagesSendFromCurrentUser (\n academicPeriodId: $academicPeriodId\n ) {\n id toUserCode fromUserCode\n topic message sendDate hasNewReply newReplyDate readDate\n ip isFromTeacher isFromStudent\n academicPeriod {id periodCode}\n courseOutlineRegistration { id subjectCode }\n classSection { id sectionNo}\n toUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n fromUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n privateMessageReplies {\n id toUserCode fromUserCode message sendDate isRead readDate\n ip isFromTeacher isFromStudent\n privateMessage { id }\n toUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n fromUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n }\n updatedAt\n updatedBy { id }\n }\n }\n`;\n\nexport const GET_COURSES_OF_PRIVATE_MESSAGES_CURRENT_STUDENT = gql`\n query getCoursesOfPrivateMessagesCurrentStudent($academicPeriodId: ID!){\n getCoursesOfPrivateMessagesCurrentStudent (\n academicPeriodId: $academicPeriodId\n ) {\n id\n classSection { id sectionNo }\n subjectCode\n }\n }\n`;\n\nexport const GET_COURSES_OF_PRIVATE_MESSAGES_CURRENT_TEACHER = gql`\n query getCoursesOfPrivateMessagesCurrentTeacher($academicPeriodId: ID!){\n getCoursesOfPrivateMessagesCurrentTeacher (\n academicPeriodId: $academicPeriodId\n ) {\n id\n classSection { id sectionNo }\n subjectCode\n }\n }\n`;\n\nexport const ADD_PRIVATE_MESSAGE = gql`\n mutation addPrivateMessage(\n $courseOutlineRegistrationId: ID!,\n $classSectionId: ID!,\n $academicPeriodId: ID!,\n $toUserId: ID!,\n $privateMessageInput: PrivateMessageInput!\n ) {\n addPrivateMessage(\n courseOutlineRegistrationId: $courseOutlineRegistrationId\n classSectionId: $classSectionId\n academicPeriodId: $academicPeriodId\n toUserId: $toUserId\n privateMessageInput: $privateMessageInput\n ) {\n id toUserCode fromUserCode\n topic message sendDate hasNewReply newReplyDate readDate\n ip isFromTeacher isFromStudent\n academicPeriod {id periodCode}\n courseOutlineRegistration { id subjectCode}\n classSection { id sectionNo}\n toUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n fromUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n privateMessageReplies {\n id toUserCode fromUserCode message sendDate isRead readDate\n ip isFromTeacher isFromStudent\n privateMessage { id }\n toUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n fromUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n }\n updatedAt\n updatedBy { id }\n }\n }\n`;\n\nexport const UPDATE_PRIVATE_MESSAGE = gql`\n mutation updatePrivateMessage(\n $id: ID!,\n $courseOutlineUnitId: ID!,\n $privateMessageInput: PrivateMessageInput!\n ) {\n updatePrivateMessage(\n id: $id\n privateMessageInput: $privateMessageInput\n ) {\n id toUserCode fromUserCode\n topic message sendDate hasNewReply newReplyDate readDate\n ip isFromTeacher isFromStudent\n academicPeriod {id periodCode}\n courseOutlineRegistration { id }\n classSection { id }\n toUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n fromUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n privateMessageReplies {\n id toUserCode fromUserCode message sendDate isRead readDate\n ip isFromTeacher isFromStudent\n privateMessage { id }\n toUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n fromUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n }\n }\n }\n`;\n\nexport const UPDATE_PRIVATE_MESSAGE_ALREADY_READ = gql`\n mutation updatePrivateMessageAlreadyRead(\n $id: ID!,\n ) {\n updatePrivateMessageAlreadyRead(\n id: $id\n ) {\n id toUserCode fromUserCode\n topic message sendDate hasNewReply newReplyDate readDate\n ip isFromTeacher isFromStudent\n academicPeriod {id periodCode}\n courseOutlineRegistration { id subjectCode }\n classSection { id sectionNo}\n toUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n fromUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n privateMessageReplies {\n id toUserCode fromUserCode message sendDate isRead readDate\n ip isFromTeacher isFromStudent\n privateMessage { id }\n toUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n fromUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n }\n updatedAt\n updatedBy { id }\n }\n }\n`;\n\nexport const DELETE_PRIVATE_MESSAGE = gql`\n mutation deletePrivateMessage($id: ID!) {\n deletePrivateMessage(\n id: $id\n ) {\n id toUserCode fromUserCode\n topic message sendDate hasNewReply newReplyDate readDate\n ip isFromTeacher isFromStudent\n academicPeriod {id periodCode}\n courseOutlineRegistration { id }\n classSection { id }\n toUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n fromUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n privateMessageReplies {\n id toUserCode fromUserCode message sendDate isRead readDate\n ip isFromTeacher isFromStudent\n privateMessage { id }\n toUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n fromUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n }\n }\n }\n`;\n\n","import {gql} from \"apollo-boost\";\n\nexport const GET_ACADEMICPERIODCONFIGS_CURRENT = gql`\n query getCurrentAcademicPeriodConfig{\n getCurrentAcademicPeriodConfig {\n id applyPeriodCode learnPeriodCode enrollPeriodCode\n applyPeriod{\n id periodCode year semester\n }\n learnPeriod{\n id periodCode year semester\n }\n enrollPeriod{\n id periodCode year semester\n }\n }\n }\n`;\n\nexport const GET_ACADEMICPERIODCONFIG = gql`\n query getAcademicPeriodConfig($id: ID!) {\n getAcademicPeriodConfig(\n id: $id\n ) {\n id applyPeriodCode learnPeriodCode enrollPeriodCode\n applyPeriod{\n id periodCode year semester\n }\n learnPeriod{\n id periodCode year semester\n }\n enrollPeriod{\n id periodCode year semester\n }\n }\n }\n`;\n\n\nexport const GET_ACADEMICPERIODCONFIGS = gql`\n query getAcademicPeriodConfigs {\n getAcademicPeriodConfigs {\n id applyPeriodCode learnPeriodCode enrollPeriodCode\n applyPeriod{\n id periodCode year semester\n }\n learnPeriod{\n id periodCode year semester\n }\n enrollPeriod{\n id periodCode year semester\n }\n }\n }\n`;\n\nexport const ADD_ACADEMICPERIODCONFIG = gql`\n mutation addAcademicPeriodConfig(\n $applyPeriodId: ID!,\n $applyPeriodCode: String!,\n $learnPeriodId: ID!,\n $learnPeriodCode: String!,\n $enrollPeriodId: ID!,\n $enrollPeriodCode: String!\n ) {\n addAcademicPeriodConfig (\n applyPeriodId: $applyPeriodId,\n applyPeriodCode: $applyPeriodCode,\n learnPeriodId: $learnPeriodId,\n learnPeriodCode: $learnPeriodCode,\n enrollPeriodId: $enrollPeriodId,\n enrollPeriodCode: $enrollPeriodCode\n ) {\n id applyPeriodCode learnPeriodCode enrollPeriodCode\n applyPeriod{\n id periodCode year semester\n }\n learnPeriod{\n id periodCode year semester\n }\n enrollPeriod{\n id periodCode year semester\n }\n }\n }\n`;\n\nexport const UPDATE_ACADEMICPERIODCONFIG = gql`\n mutation updateAcademicPeriodConfig(\n $id: ID!,\n $applyPeriodId: ID!,\n $applyPeriodCode: String!,\n $learnPeriodId: ID!,\n $learnPeriodCode: String!,\n $enrollPeriodId: ID!,\n $enrollPeriodCode: String!\n ) {\n updateAcademicPeriodConfig (\n id: $id,\n applyPeriodId: $applyPeriodId,\n applyPeriodCode: $applyPeriodCode,\n learnPeriodId: $learnPeriodId,\n learnPeriodCode: $learnPeriodCode,\n enrollPeriodId: $enrollPeriodId,\n enrollPeriodCode: $enrollPeriodCode\n ) {\n id applyPeriodCode learnPeriodCode enrollPeriodCode\n applyPeriod{\n id periodCode year semester\n }\n learnPeriod{\n id periodCode year semester\n }\n enrollPeriod{\n id periodCode year semester\n }\n }\n }\n`;\n\n","import { gql } from \"apollo-boost\";\n\nexport const GET_STUDENT_PROFILE = gql`\n query getStudent($id : ID!){\n getStudent (\n id: $id\n ) {\n id\n degree {\n id\n code\n nameLocal\n }\n curriculum {\n id\n code\n nameLocal\n nameEng\n }\n faculty {\n id\n code\n nameLocal\n nameEng\n }\n department {\n id\n code\n nameLocal\n nameEng\n }\n code\n prefix {\n id\n nameLocal\n nameShortLocal\n nameEng\n nameShortEng\n }\n firstNameLocal\n lastNameLocal\n firstNameEng\n lastNameEng\n gender\n telephone\n email\n picturePath\n birthDate\n citizenId\n project{\n id\n nameLocal\n nameEng\n }\n studentStatus {\n id\n nameLocal\n nameEng\n }\n user {\n id\n userLogin\n userGroup{\n id\n code\n }\n }\n }\n }\n`;\n\nexport const GET_STUDENT_ENROLL = gql`\n query getStudentEnrollsByStudentId($id : ID!){\n getStudentEnrollsByStudentId (\n id: $id\n ) {\n id\n student {\n id\n }\n studentCode\n enrollDate\n totalCredit\n totalDropCredit\n studentEnrollDetails {\n id\n studentEnroll {\n id\n periodCode\n }\n studentUnitTests {\n id\n unitSeq\n isPosttestDone\n pretestMaxScore\n pretestQuestionQty\n pretestScore\n isPretestDone\n posttestMaxScore\n posttestQuestionQty\n posttestScore\n isPosttestDone\n }\n studentUnitLearns {\n id\n studentEnroll {\n id\n }\n studentEnrollDetail {\n id\n }\n courseOutlineUnit {\n id\n seq\n }\n vdoSetUnit {\n id\n totalVdoLength\n }\n studentTopicLearns {\n id\n studentUnitLearn {\n id\n unitSeq\n totalVdoLength\n totalLearnTime\n }\n studentEnrollDetail {\n id\n }\n vdoSetUnit {\n id\n totalVdoLength\n }\n vdoSetTopic {\n id\n no\n }\n vdoLength\n learnTime\n learnPercent\n firstPlayVdo\n startPlayVdo\n stopPlayVdo\n }\n unitSeq\n totalVdoLength\n totalLearnTime\n learnPercent\n }\n enrollNo\n courseOutlineRegistration {\n id\n academicPeriod {\n id\n }\n courseOutline {\n id\n instruction\n courseOutlineUnits {\n id\n seq\n nameLocal\n descriptionLocal\n preTestExpectScore\n postTestExpectScore\n unitAgenda\n unitObjective\n unitReference\n }\n courseOutlineAssessments {\n id\n assessment {\n nameLocal\n }\n seq\n percent\n score\n\n }\n vdoSets {\n id\n vdoSetUnits {\n id\n totalVdoLength\n unitSeq\n vdoSetTopics {\n id\n }\n }\n }\n }\n }\n classSection {\n id\n courseOutlineRegistration {\n id\n courseOutline { id }\n }\n sectionNo\n learnSpanNo\n vdoSet {\n id\n totalVdoLength\n\n vdoSetUnits {\n id\n unitSeq\n nameLocal\n nameEng\n totalVdoLength\n status\n remark\n\n vdoSetTopics {\n id\n no\n nameLocal\n nameEng\n vdoLength\n vdoStreamPath\n remark\n }\n }\n }\n classAssignments {\n id\n sectionNo\n topicLocal\n topicEng\n descriptionLocal\n descriptionEng\n score\n dueDate\n uploadPath\n uploadPathUri\n uploadFileName\n }\n classMaterials {\n id\n sectionNo\n nameLocal\n nameEng\n uploadPath\n uploadPathUri\n uploadFileName\n }\n }\n sectionNo\n subject {\n id\n code\n nameLocal\n description\n }\n subjectCode\n teacher {\n id\n prefix {\n nameLocal\n }\n firstNameLocal\n lastNameLocal\n telephone\n email\n availableTime\n code\n picturePath\n }\n teacherCode\n credit\n learnSpanNo\n examSpanNo\n isDrop\n exams {\n id\n QuestionQty\n QuestionMultiQty\n QuestionTrueFalseQty\n }\n }\n }\n }\n`;\n\nexport const GET_STUDENT_ENROLLDETAILS = gql`\n query getStudentEnrollDetailsByStudentEnrollId($id : ID!){\n getStudentEnrollDetailsByStudentEnrollId (\n id: $id\n ) {\n id\n studentEnroll {\n id\n }\n enrollNo\n courseOutlineRegistration {\n id\n courseOutline {\n id\n instruction\n courseOutlineUnits {\n id\n seq\n nameLocal\n descriptionLocal\n preTestExpectScore\n postTestExpectScore\n unitAgenda\n unitObjective\n unitReference\n }\n courseOutlineAssessments {\n id\n assessment {\n nameLocal\n }\n seq\n percent\n score\n\n }\n vdoSets {\n id\n vdoSetUnits {\n id\n totalVdoLength\n vdoSetTopics {\n id\n }\n }\n }\n }\n }\n classSection {\n id\n sectionNo\n learnSpanNo\n courseOutlineRegistration {\n id\n courseOutline { id }\n }\n classAssignments {\n id\n sectionNo\n topicLocal\n topicEng\n descriptionLocal\n descriptionEng\n score\n dueDate\n uploadPath\n uploadPathUri\n uploadFileName\n }\n classMaterials {\n id\n sectionNo\n nameLocal\n nameEng\n uploadPath\n uploadPathUri\n uploadFileName\n }\n }\n sectionNo\n subject {\n id\n code\n nameLocal\n description\n }\n subjectCode\n teacher {\n id\n prefix {\n nameLocal\n }\n firstNameLocal\n lastNameLocal\n telephone\n email\n availableTime\n code\n }\n teacherCode\n credit\n learnSpanNo\n examSpanNo\n isDrop\n exams {\n id\n QuestionQty\n QuestionMultiQty\n QuestionTrueFalseQty\n }\n }\n }\n`;\n\nexport const GET_STUDENT_BY_CURRENT_USER = gql`\n query getStudentByCurrentUser{\n getStudentByCurrentUser{\n id\n code firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n gender telephone email lineId\n picturePath birthDate citizenId\n studentConfirm\n }\n }\n`;\n\nexport const UPDATE_STUDENT_INFORMATION = gql`\n mutation updateStudentInformation(\n $id: ID!,\n $studentInput: StudentInput!,\n ) {\n updateStudentInformation(\n id: $id\n studentInput: $studentInput\n ) {\n id\n degree{id code nameLocal nameEng}\n curriculum{id code nameLocal nameEng}\n faculty{id code nameLocal nameEng}\n department{id code nameLocal nameEng}\n code\n prefix{\n id nameLocal nameEng\n }\n firstNameLocal\n lastNameLocal\n firstNameEng\n lastNameEng\n gender\n telephone\n email\n birthDate\n citizenId\n lineId\n studentConfirm\n project{id nameLocal nameEng}\n studentStatus{id nameLocal nameEng}\n examLocation\n user{id userLogin }\n }\n }\n`;\n\n","import {gql} from 'apollo-boost';\n\nexport const GET_COURSE_FAQ = gql`\n query getCourseFAQ($id: ID!){\n getCourseFAQ(id: $id) {\n id unitSeq\n periodCode question answer\n hitRateCount hitRateDate postDate\n courseOutline { id }\n courseOutlineUnit { id }\n courseOutlineRegistration { id }\n classSection { id }\n academicPeriod { id }\n postByTeacher { id }\n postByUser { id }\n updatedAt\n }\n }\n`;\n\nexport const GET_COURSE_FAQS = gql`\n query getCourseFAQs($id : ID!){\n getCourseFAQs (\n id: $id\n ) {\n id unitSeq\n periodCode question answer\n hitRateCount hitRateDate postDate\n courseOutline { id }\n courseOutlineUnit { id }\n courseOutlineRegistration { id }\n classSection { id }\n academicPeriod { id }\n postByTeacher { id }\n postByUser { id }\n updatedAt\n }\n }\n`;\n\nexport const GET_COURSE_FAQS_BY_FILTER = gql`\n query getCourseFAQsByFilter($courseFAQFilterInput: CourseFAQFilterInput){\n getCourseFAQsByFilter (\n courseFAQFilterInput: $courseFAQFilterInput\n ) {\n id unitSeq\n periodCode question answer\n hitRateCount hitRateDate postDate\n courseOutline { id }\n courseOutlineUnit { id }\n courseOutlineRegistration { id }\n classSection { id }\n academicPeriod { id }\n postByTeacher { id }\n postByUser { id }\n updatedAt\n }\n }\n`;\n\nexport const GET_COURSE_FAQS_BY_FILTER_CURRENT_TEACHER = gql`\n query getCourseFAQsByFilterCurrentTeacher($courseFAQFilterInput: CourseFAQFilterInput){\n getCourseFAQsByFilterCurrentTeacher (\n courseFAQFilterInput: $courseFAQFilterInput\n ) {\n id unitSeq\n periodCode question answer\n hitRateCount hitRateDate postDate\n courseOutline { id }\n courseOutlineUnit { id }\n courseOutlineRegistration { id }\n classSection { id }\n academicPeriod { id }\n postByTeacher { id }\n postByUser { id }\n updatedAt\n }\n }\n`;\n\nexport const ADD_COURSE_FAQ = gql`\n mutation addCourseFAQ(\n $courseOutlineUnitId: ID!,\n $classSectionId: ID!,\n $courseFAQInput: CourseFAQInput!\n ) {\n addCourseFAQ(\n courseOutlineUnitId: $courseOutlineUnitId\n classSectionId: $classSectionId\n courseFAQInput: $courseFAQInput\n ) {\n id unitSeq\n periodCode question answer\n hitRateCount hitRateDate postDate\n courseOutline { id }\n courseOutlineUnit { id }\n courseOutlineRegistration { id }\n classSection { id }\n academicPeriod { id }\n postByTeacher { id }\n postByUser { id }\n updatedAt\n }\n }\n`;\n\nexport const UPDATE_COURSE_FAQ = gql`\n mutation updateCourseFAQ(\n $id: ID!,\n $courseOutlineUnitId: ID!,\n $courseFAQInput: CourseFAQInput!\n ) {\n updateCourseFAQ(\n id: $id\n courseOutlineUnitId: $courseOutlineUnitId\n courseFAQInput: $courseFAQInput\n ) {\n id unitSeq\n periodCode question answer\n hitRateCount hitRateDate postDate\n courseOutline { id }\n courseOutlineUnit { id }\n courseOutlineRegistration { id }\n classSection { id }\n academicPeriod { id }\n postByTeacher { id }\n postByUser { id }\n updatedAt\n }\n }\n`;\n\nexport const UPDATE_COURSE_FAQ_HIT_COUNT = gql`\n mutation updateCourseFAQHitCount(\n $id: ID!,\n ) {\n updateCourseFAQHitCount(\n id: $id\n ) {\n id unitSeq\n periodCode question answer\n hitRateCount hitRateDate postDate\n courseOutline { id }\n courseOutlineUnit { id }\n courseOutlineRegistration { id }\n classSection { id }\n academicPeriod { id }\n postByTeacher { id }\n postByUser { id }\n updatedAt\n }\n }\n`;\n\nexport const DELETE_COURSE_FAQ = gql`\n mutation deleteCourseFAQ($id: ID!) {\n deleteCourseFAQ(\n id: $id\n ) {\n id unitSeq\n periodCode question answer\n hitRateCount hitRateDate postDate\n courseOutline { id }\n courseOutlineUnit { id }\n courseOutlineRegistration { id }\n classSection { id }\n academicPeriod { id }\n postByTeacher { id }\n postByUser { id }\n updatedAt\n }\n }\n`;\n\n","import Vue from 'vue'\nimport Router from 'vue-router'\nimport AuthRequired from '@/utils/auth-required';\nimport { checkServerVersion } from \"@/utils\";\n// import store from \"@/store\";\n\nVue.use(Router);\n\nconst router = new Router({\n mode: 'history',\n base: process.env.BASE_URL,\n scrollBehavior() {\n return {x: 0, y: 0}\n },\n routes: [\n // =============================================================================\n // MAIN LAYOUT ROUTES\n // =============================================================================\n {\n path: '',\n component: () => import('./layouts/main/Main.vue'),\n beforeEnter: AuthRequired,\n children: [\n // =============================================================================\n // Theme Routes\n // =============================================================================\n {\n path: '/',\n name: 'home',\n component: () => import('./views/pages/Home/index.vue'),\n meta: {\n breadcrumb: [\n { title: { i18n: 'sections.home.title', default: \"Home\" }, url: '/', active: true }\n ],\n pageTitle: 'sections.home.title',\n }\n },\n {\n name: \"/e-learning\",\n path: \"/e-learning\",\n component: () => import('./views/pages/E-Learning/index.vue'),\n children: [\n {\n name: \"class-overview\",\n path: \"class-overview/:studentEnrollDetailId\",\n props: true,\n component: () => import('./views/pages/E-Learning/ClassOverview/index.vue'),\n meta: {\n breadcrumb: [\n {\n title: {\n i18n: 'sections.home.title', default: \"Class Overview\"\n },\n url: '/',\n active: true\n }\n ],\n pageTitle: 'class-overview.title',\n }\n },\n ]\n },\n {\n path: '/liveschedule',\n name: 'liveschedule',\n component: () => import('./views/pages/LiveSchedule/index.vue'),\n meta: {\n breadcrumb: [\n { title: { i18n: 'sections.liveschedule.title', default: \"Live Schedule\" }, url: '/', active: true }\n ],\n pageTitle: 'sections.liveschedule.title',\n }\n },\n {\n path: '/advisor-online-schedule',\n name: 'advisor-online-schedule',\n component: () => import('./views/pages/AdvisorOnlineSchedule/index.vue'),\n meta: {\n breadcrumb: [\n { title: { i18n: 'sections.advisor-online-schedule.title', default: \"ตารางพบอาจรย์\" }, url: '/', active: true }\n ],\n pageTitle: 'sections.advisor-online-schedule.title',\n }\n },\n {\n path: '/profile',\n name: 'profile',\n component: () => import('./views/pages/Profile/index.vue'),\n meta: {\n breadcrumb: [\n { title: { i18n: 'sections.profile.title', default: \"Profile\" }, url: '/', active: true }\n ],\n pageTitle: 'sections.profile.title',\n }\n },\n {\n path: '/pm',\n name: 'pm',\n component: () => import('./views/pages/PM/index.vue'),\n meta: {\n breadcrumb: [\n { title: { i18n: 'sections.pm.title', default: \"ข้อความ\" }, url: '/', active: true }\n ],\n pageTitle: 'sections.pm.title',\n }\n },\n {\n path: '/university-news',\n name: 'university-news',\n component: () => import('./views/pages/UniversityNews/index.vue'),\n meta: {\n breadcrumb: [\n {title: 'Home', url: '/'},\n { title: { i18n: 'sections.university-news.title', default: \"ข่าวสาร\" }, active: true }\n ],\n pageTitle: 'sections.university-news.title',\n }\n },\n {\n path: 'info-topic-content/:id',\n name: 'info-topic-content',\n props: true,\n component: () => import('./views/pages/UniversityNews/InfoTopicContent'),\n meta: {\n breadcrumb: [\n {title: 'Home', url: '/'},\n {title: {i18n: 'sections.university-news.title', default: \"ข่าวสาร\"}, url: \"/university-news/info-topic\"},\n {title: {i18n: 'sections.university-news.info-topic-content.title', default: \"เนื้อหาข่าวสาร\"}, active: true}\n ],\n pageTitle: 'sections.university-news.info-topic-content.title',\n },\n },\n ],\n },\n // =============================================================================\n // IMMERSIVE LAYOUT ROUTES\n // =============================================================================\n {\n path: '',\n component: () => import('./layouts/immerse/Immerse.vue'),\n // redirect: '/',\n // beforeEnter: AuthRequired,\n children: [\n {\n name: \"virtual-class\",\n path: \"/e-learning/virtual-class/:studentEnrollDetailId\",\n props: true,\n component: () => import('./views/pages/E-Learning/VirtualClass/index.vue'),\n breadcrumb: [\n { title: { i18n: 'sections.home.title', default: \"Home\" }, url: '/', active: true }\n ],\n pageTitle: 'Home',\n },\n {\n name: \"live-class\",\n path: \"/e-learning/live-class\",\n component: () => import('./views/pages/E-Learning/LiveClass/index.vue'),\n breadcrumb: [\n { title: { i18n: 'sections.home.title', default: \"Home\" }, url: '/', active: true }\n ],\n pageTitle: 'Home',\n },\n ]\n },\n {\n name: \"post\",\n path: \"/post/:id\",\n component: () => import('./views/pages/E-Learning/VirtualClass/BottomPanel/WebBoard/Post'),\n breadcrumb: [\n { title: { i18n: 'sections.e-learning.web-board.title', default: \"เว็บ บอร์ด\" }, url: '/', active: true }\n ],\n pageTitle: 'sections.e-learning.web-board.title'\n },\n // =============================================================================\n // SECTION LAYOUT ROUTES\n // =============================================================================\n {\n path: '',\n component: () => import('./layouts/main/Main.vue'),\n // redirect: '/',\n // beforeEnter: AuthRequired,\n children: [\n\n ]\n },\n // =============================================================================\n // FULL PAGE LAYOUTS\n // =============================================================================\n {\n path: '',\n component: () => import('@/layouts/full-page/FullPage.vue'),\n children: [\n // =============================================================================\n // PAGES\n // =============================================================================\n {\n path: '/user',\n name: 'user',\n component: () => import('@/views/user'),\n redirect: '/user/login',\n children: [\n {\n path: 'login',\n name: 'user-login',\n component: () => import('@/views/user/Login')\n },\n {\n path: 'register',\n name: 'user-register',\n component: () => import('@/views/user/Register')\n },\n {\n path: 'forgot-password',\n name: 'user-forgot-password',\n component: () => import('@/views/user/ForgotPassword')\n },\n {\n path: 'change-password',\n name: 'user-change-password',\n props: true,\n component: () => import('@/views/user/ChangePassword')\n }\n ]\n },\n {\n path: '/pages/error-404',\n name: 'page-error-404',\n component: () => import('@/views/pages/Error404.vue')\n },\n {\n path: '/app-crash',\n name: 'app-crash',\n component: () => import('@/views/pages/Error500.vue')\n },\n ]\n },\n // =============================================================================\n // Development & Full Debug Pages\n // =============================================================================\n {\n path: '/dev',\n component: () => import('./layouts/dev/Main.vue'),\n // beforeEnter: AuthRequired,\n children: [\n // =============================================================================\n // Theme Routes\n // =============================================================================\n {\n path: '/',\n name: 'dev-main',\n component: () => import('./views/developing/Main/index.vue'),\n meta: {\n breadcrumb: [\n { title: { i18n: 'sections.home.title', default: \"Home\" }, url: '/', active: true }\n ],\n pageTitle: 'Home',\n }\n },\n ]\n },\n // =============================================================================\n // Fallback & Error Pages\n // =============================================================================\n\n // Redirect to 404 page, if no match found\n {\n path: '*',\n redirect: '/pages/error-404'\n }\n ],\n});\n\nrouter.afterEach(() => {\n // Remove initial loading\n const appLoading = document.getElementById('loading-bg');\n if (appLoading) {\n appLoading.style.display = \"none\";\n }\n});\n\n// eslint-disable-line no-unused-vars\nrouter.beforeEach(async (from, to, next) => {\n //reload if not the same version as server\n const correctVersion = await checkServerVersion();\n if(correctVersion){\n next();\n }else{\n location.reload();\n }\n});\n\nexport default router\n","import {gql} from 'apollo-boost';\n\nexport const GET_WEB_BOARD_REPLY = gql`\n query getWebBoardReply($id: ID!){\n getWebBoardReply(id: $id) {\n id teacherCode studentCode\n replyMessage picturePath email\n ip hitRate replyQty updatedAt\n teacher {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n student {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n }\n }\n`;\n\nexport const GET_WEB_BOARD_REPLY_REPLIES = gql`\n query getWebBoardReplyReplies($id : ID!){\n getWebBoardReplyReplies (\n id: $id\n ) {\n id teacherCode studentCode\n replyMessage picturePath email\n ip hitRate replyQty updatedAt\n teacher {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n student {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n }\n }\n`;\n\nexport const GET_WEB_BOARD_REPLY_REPLIES_BY_FILTER = gql`\n query getWebBoardReplyRepliesByFilter($webBoardReplyFilterInput: WebBoardReplyFilterInput){\n getWebBoardReplyRepliesByFilter (\n webBoardReplyFilterInput: $webBoardReplyFilterInput\n ) {\n id teacherCode studentCode\n replyMessage picturePath email\n ip hitRate replyQty updatedAt\n teacher {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n student {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n }\n }\n`;\n\nexport const ADD_WEB_BOARD_REPLY = gql`\n mutation addWebBoardReply(\n $webBoardId: ID!,\n $postBy: String!,\n $webBoardReplyInput: WebBoardReplyInput!\n ) {\n addWebBoardReply(\n webBoardId: $webBoardId\n postBy: $postBy\n webBoardReplyInput: $webBoardReplyInput\n ) {\n id teacherCode studentCode\n replyMessage picturePath email\n ip updatedAt\n teacher {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n student {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n }\n }\n`;\n\nexport const UPDATE_WEB_BOARD_REPLY = gql`\n mutation updateWebBoardReply(\n $id: ID!,\n $webBoardReplyInput: WebBoardReplyInput!\n ) {\n updateWebBoardReply(\n id: $id\n webBoardReplyInput: $webBoardReplyInput\n ) {\n id teacherCode studentCode\n replyMessage picturePath email\n ip updatedAt\n teacher {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n student {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n }\n }\n`;\n\nexport const DELETE_WEB_BOARD_REPLY = gql`\n mutation deleteWebBoardReply($id: ID!) {\n deleteWebBoardReply(\n id: $id\n ) {\n id teacherCode studentCode\n replyMessage picturePath email\n ip updatedAt\n teacher {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n student {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n }\n }\n`;\n\n","import { gql } from \"apollo-boost\";\n\n/*\n * extend type Query {\n * getClassSection (\n * id: ID!\n * ): ClassSection\n * }\n */\nexport const GET_CLASSSECTION = gql`\n query getClassSection($id: ID!) {\n getClassSection(\n id: $id\n ) {\n id\n courseOutline {\n id\n courseOutlineUnits{\n id seq\n }\n }\n courseOutlineRegistration {\n id periodCode\n subject {\n id code nameLocal nameEng creditCalGrade creditDesc\n }\n academicPeriod { id }\n teacher {\n id code firstNameLocal lastNameLocal\n user {id code }\n }\n }\n sectionNo\n descriptionLocal\n descriptionEng\n studentQty\n vdoSet {\n id code description totalVdoLength\n vdoSetUnits {\n id unitSeq code totalVdoLength status remark\n courseOutlineUnit{ id nameLocal nameEng}\n vdoSetTopics {\n id no nameLocal nameEng vdoLength vdoStreamPath isEnabled remark\n }\n }\n }\n vdoSetCode\n startClassDate\n learnSpanNo\n examSpanNo\n classMaterials {\n id\n }\n classAssignments {\n id\n }\n classRoom{\n id capacity\n }\n }\n }\n`;\n\n/*\n * extend type Query {\n * getClassSections\n * : [ClassSection]\n * }\n */\nexport const GET_CLASSSECTIONS = gql`\n query getClassSections {\n getClassSections {\n id\n courseOutline {\n id\n }\n courseOutlineRegistration {\n id\n }\n sectionNo\n descriptionLocal\n descriptionEng\n studentQty\n vdoSet {\n id\n }\n vdoSetCode\n startClassDate\n learnSpanNo\n examSpanNo\n classMaterials {\n id\n }\n classAssignments {\n id\n }\n }\n }\n`;\n\n/*\n * extend type Query {\n * getClassSectionsByFilter(\n * classSectionFilterInput: ClassSectionFilterInput\n * ) : [ClassSection]\n * }\n */\nexport const GET_CLASSSECTIONS_BY_FILTER = gql`\n query getClassSectionsByFilter(\n $classSectionFilterInput: ClassSectionFilterInput\n ) {\n getClassSectionsByFilter(\n classSectionFilterInput: $classSectionFilterInput\n )\n {\n id\n courseOutline {\n id\n }\n courseOutlineRegistration {\n id\n }\n sectionNo\n descriptionLocal\n descriptionEng\n studentRegisterQty\n studentQty\n vdoSet {\n id code totalVdoLength\n vdoSetUnits {\n id\n totalVdoLength\n vdoSetTopics{\n id vdoStreamPath\n }\n }\n }\n vdoSetCode\n startClassDate\n learnSpanNo\n examSpanNo\n classMaterials {\n id\n }\n classAssignments {\n id\n }\n classRoom {\n id nameLocal nameEng studentRegisterQty capacity startDate endDate\n }\n }\n }\n`;\n\nexport const GET_CLASSSECTIONS_BY_STUDENT_NOT_REGISTER = gql`\n query getClassSectionsByStudentNotRegister(\n $studentId: ID!,\n $academicPeriodId: ID!,\n $studentEnrollId: ID\n ) {\n getClassSectionsByStudentNotRegister(\n studentId: $studentId,\n academicPeriodId: $academicPeriodId,\n studentEnrollId: $studentEnrollId\n )\n {\n id sectionNo descriptionLocal descriptionEng studentRegisterQty\n studentQty learnSpanNo examSpanNo\n courseOutlineRegistration{\n id\n periodCode\n subject {\n id code nameLocal nameEng creditCalGrade\n }\n teacher {\n id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath\n }\n classSections {\n id sectionNo descriptionLocal descriptionEng studentRegisterQty\n studentQty learnSpanNo examSpanNo\n }\n }\n\n }\n }\n`;\n\n/*\n * extend type Mutation {\n * addClassSection(\n * courseOutlineId: ID!,\n * courseOutlineRegistrationId: ID!,\n * vdoSetId: ID,\n * classSectionInput: ClassSectionInput!\n * ) : ClassSection!\n * }\n */\nexport const ADD_CLASSSECTION = gql`\n mutation addClassSection(\n $courseOutlineId: ID!,\n $courseOutlineRegistrationId: ID!,\n $vdoSetId: ID,\n $classRoomId: ID,\n $classRoomOwnedId: ID,\n $classRoomCreateInput: ClassRoomCreateInput\n $classSectionInput: ClassSectionInput!\n ) {\n addClassSection (\n courseOutlineId: $courseOutlineId,\n courseOutlineRegistrationId: $courseOutlineRegistrationId,\n vdoSetId: $vdoSetId,\n classRoomId: $classRoomId,\n classRoomOwnedId: $classRoomOwnedId,\n classRoomCreateInput: $classRoomCreateInput\n classSectionInput: $classSectionInput\n )\n {\n id\n courseOutline {\n id\n }\n courseOutlineRegistration {\n id\n }\n sectionNo\n descriptionLocal\n descriptionEng\n studentQty\n vdoSet {\n id code totalVdoLength\n vdoSetUnits {\n id\n totalVdoLength\n vdoSetTopics{\n id vdoStreamPath\n }\n }\n }\n vdoSetCode\n startClassDate\n learnSpanNo\n examSpanNo\n classMaterials {\n id\n }\n classAssignments {\n id\n }\n classRoom {\n id nameLocal nameEng studentRegisterQty capacity startDate endDate\n }\n }\n }\n`;\n\n/*\n * extend type Mutation {\n * updateClassSection(\n * id: ID!,\n * vdoSetId: ID,\n * classSectionInput: ClassSectionInput!\n * ) : ClassSection!\n * }\n */\nexport const UPDATE_CLASSSECTION = gql`\n mutation updateClassSection(\n $id: ID!,\n $vdoSetId: ID,\n $courseOutlineRegistrationId: ID!,\n $classRoomId: ID,\n $classRoomOwnedId: ID,\n $classRoomCreateInput: ClassRoomCreateInput\n $classSectionInput: ClassSectionInput!\n ) {\n updateClassSection (\n id: $id,\n vdoSetId: $vdoSetId,\n courseOutlineRegistrationId: $courseOutlineRegistrationId,\n classRoomId: $classRoomId,\n classRoomOwnedId: $classRoomOwnedId,\n classRoomCreateInput: $classRoomCreateInput\n classSectionInput: $classSectionInput\n )\n {\n id\n courseOutline {\n id\n }\n courseOutlineRegistration {\n id\n }\n sectionNo\n descriptionLocal\n descriptionEng\n studentQty\n vdoSet {\n id code totalVdoLength\n vdoSetUnits {\n id\n totalVdoLength\n vdoSetTopics{\n id vdoStreamPath\n }\n }\n }\n vdoSetCode\n startClassDate\n learnSpanNo\n examSpanNo\n classMaterials {\n id\n }\n classAssignments {\n id\n }\n classRoom {\n id nameLocal nameEng studentRegisterQty capacity startDate endDate\n }\n }\n }\n`;\n\n/*\n * extend type Mutation {\n * deleteClassSection(\n * id: ID!\n * ) : ClassSection!\n * }\n */\nexport const DELETE_CLASSSECTION = gql`\n mutation deleteClassSection(\n $id: ID!\n ) {\n deleteClassSection (\n id: $id\n ) {\n id\n courseOutline {\n id\n }\n courseOutlineRegistration {\n id\n }\n sectionNo\n descriptionLocal\n descriptionEng\n studentQty\n vdoSet {\n id code totalVdoLength\n vdoSetUnits {\n id\n vdoSetTopics{\n id vdoStreamPath\n }\n }\n }\n vdoSetCode\n startClassDate\n learnSpanNo\n examSpanNo\n classMaterials {\n id\n }\n classAssignments {\n id\n }\n classRoom {\n id nameLocal nameEng studentRegisterQty capacity startDate endDate\n }\n }\n }\n`;\n\n\n/* TYPES\ninput ClassSectionFilterInput {\n courseOutlineId: ID\n courseOutlineRegistrationId: ID\n sectionNo: Int\n vdoSetId: ID\n vdoSetCode: String\n startClassDate: String\n learnSpanNo: Int\n examSpanNo: Int\n}\n\ninput ClassSectionInput {\n sectionNo: Int\n descriptionLocal: String\n descriptionEng: String\n studentQty: Int\n vdoSetCode: String\n startClassDate: String\n learnSpanNo: Int\n examSpanNo: Int\n}\n\ntype ClassSection {\n id: ID!\n courseOutline: CourseOutline!\n courseOutlineRegistration: CourseOutlineRegistration!\n sectionNo: Int\n descriptionLocal: String\n descriptionEng: String\n studentQty: Int\n vdoSet: VdoSet\n vdoSetCode: String\n startClassDate: String\n learnSpanNo: Int\n examSpanNo: Int\n classMaterials: [ClassMaterial]\n classAssignments: [ClassAssignment]\n isDisabled: Boolean!\n createdAt: String!\n updatedAt: String!\n createdBy: User\n updatedBy: User\n}\n*/\n","import {gql} from \"apollo-boost\";\n\nexport const BULKCREATE_STUDENTUNITLEARN = gql`\n mutation bulkCreateStudentUnitLearn(\n $bulkCreateStudentUnitLearnSets: String\n ) {\n bulkCreateStudentUnitLearn (\n bulkCreateStudentUnitLearnSets: $bulkCreateStudentUnitLearnSets,\n )\n {\n id\n studentEnroll {\n id\n }\n studentEnrollDetail {\n id\n }\n courseOutlineUnit {\n id\n seq\n }\n vdoSetUnit {\n id\n totalVdoLength\n }\n studentTopicLearns {\n id\n studentUnitLearn {\n id\n unitSeq\n totalVdoLength\n totalLearnTime\n }\n studentEnrollDetail {\n id\n }\n vdoSetUnit {\n id\n totalVdoLength\n }\n vdoSetTopic {\n id\n no\n }\n vdoLength\n learnTime\n learnPercent\n firstPlayVdo\n startPlayVdo\n stopPlayVdo\n }\n unitSeq\n totalVdoLength\n totalLearnTime\n learnPercent\n }\n }\n`;\n\nexport const ADD_STUDENT_UNIT_TOPIC_LEARN = gql`\n mutation addStudentTopicLearn(\n $studentUnitLearnId: ID!,\n $studentEnrollDetailId: ID!,\n $vdoSetUnitId: ID!,\n $vdoSetTopicId: ID!,\n $studentTopicLearnInput: StudentTopicLearnInput!,\n ) {\n addStudentTopicLearn (\n studentUnitLearnId: $studentUnitLearnId\n studentEnrollDetailId: $studentEnrollDetailId\n vdoSetUnitId: $vdoSetUnitId\n vdoSetTopicId: $vdoSetTopicId\n studentTopicLearnInput: $studentTopicLearnInput\n ) {\n id\n learnTime\n learnPercent\n vdoLength\n firstPlayVdo\n startPlayVdo\n stopPlayVdo\n studentUnitLearn {\n id\n totalLearnTime\n learnPercent\n }\n studentEnrollDetail {\n id\n }\n vdoSetUnit {\n id\n totalVdoLength\n }\n vdoSetTopic {\n id\n }\n }\n }\n`\n\n\nexport const ADD_STUDENT_UNIT_AND_TOPIC_LEARN = gql`\n mutation addStudentUnitLearnAndTopic(\n $studentEnrollId: ID\n $studentEnrollDetailId: ID\n $courseOutlineUnitId: ID\n $vdoSetUnitId: ID\n $studentUnitLearnInput: StudentUnitLearnInput!\n ) {\n addStudentUnitLearnAndTopic (\n studentEnrollId: $studentEnrollId\n studentEnrollDetailId: $studentEnrollDetailId\n vdoSetUnitId: $vdoSetUnitId\n courseOutlineUnitId: $courseOutlineUnitId\n studentUnitLearnInput: $studentUnitLearnInput\n ) {\n id unitSeq totalVdoLength totalLearnTime learnPercent\n vdoSetUnit { id }\n courseOutlineUnit { id }\n studentTopicLearns {\n id learnTime learnPercent vdoLength\n firstPlayVdo startPlayVdo stopPlayVdo\n vdoSetTopic { id }\n }\n }\n }\n`\n\nexport const UPDATE_STUDENT_LEARN_TIME = gql`\n mutation updateStudentLearnTime(\n $studentTopicLearnId: ID!,\n $learnTime: Int!,\n $learnPercent: Int!,\n $studentUnitLearnId: ID!,\n $totalLearnTime: Int!,\n $totalLearnPercent: Int!,\n $stopPlayVdo: String\n ) {\n updateStudentLearnTime (\n studentTopicLearnId: $studentTopicLearnId\n learnTime: $learnTime\n learnPercent: $learnPercent\n studentUnitLearnId: $studentUnitLearnId\n totalLearnTime: $totalLearnTime\n totalLearnPercent: $totalLearnPercent\n stopPlayVdo: $stopPlayVdo\n ) {\n studentTopicLearn {\n id\n }\n studentUnitLearn {\n id\n }\n }\n }\n`\n\n\nexport const UPDATE_STUDENT_TOPIC_AND_UNIT_LEARN = gql`\n mutation updateStudentTopicAndUnitLearn(\n $studentTopicLearnId: ID!\n $studentTUnitLearnId: ID\n $studentUnitLearnId: ID\n $studentTopicLearnInput: StudentTopicLearnInput!\n $studentUnitLearnInput: StudentUnitLearnInput!\n ) {\n updateStudentTopicAndUnitLearn(\n studentTopicLearnId: $studentTopicLearnId\n studentTUnitLearnId: $studentTUnitLearnId\n studentUnitLearnId: $studentUnitLearnId\n studentTopicLearnInput: $studentTopicLearnInput\n studentUnitLearnInput: $studentUnitLearnInput\n ) {\n id vdoLength learnTime firstPlayVdo startPlayVdo stopPlayVdo learnPercent\n studentUnitLearn { id }\n vdoSetUnit { id }\n vdoSetTopic { id }\n forceUpdateFrontLearnTime\n }\n }\n`;\n\nexport const UPDATE_UNSAVED_STUDENT_TOPIC_AND_UNIT_LEARN = gql`\n mutation updateUnsavedStudentTopicAndUnitLearn(\n $studentTopicLearnId: ID!\n $studentTUnitLearnId: ID\n $studentUnitLearnId: ID\n $studentTopicLearnInput: StudentTopicLearnInput!\n $studentUnitLearnInput: StudentUnitLearnInput!\n ) {\n updateUnsavedStudentTopicAndUnitLearn(\n studentTopicLearnId: $studentTopicLearnId\n studentTUnitLearnId: $studentTUnitLearnId\n studentUnitLearnId: $studentUnitLearnId\n studentTopicLearnInput: $studentTopicLearnInput\n studentUnitLearnInput: $studentUnitLearnInput\n ) {\n id vdoLength learnTime firstPlayVdo startPlayVdo stopPlayVdo learnPercent\n studentUnitLearn { id }\n vdoSetUnit { id }\n vdoSetTopic { id }\n }\n }\n`;\n\nexport const UPDATE_REVIEW_SOCRE = gql`\n mutation updateReviewScore(\n $id: ID!,\n $reviewScore: Int!\n $reviewTeacherScore: Int!\n $reviewMaterialScore: Int!\n $reviewOverAllScore: Float!\n ) {\n updateReviewScore(\n id: $id\n reviewScore: $reviewScore\n reviewTeacherScore: $reviewTeacherScore\n reviewMaterialScore: $reviewMaterialScore\n reviewOverAllScore: $reviewOverAllScore\n ) {\n id\n }\n }\n`;\n\n","import {gql} from 'apollo-boost';\n\nexport const GET_USER = gql`\n query getUser($id: ID!){\n getUser(\n id: $id\n ) {\n id\n uuid\n photo\n prefix\n name\n surname\n email\n userType\n isDisabled\n }\n }\n`;\n\nexport const GET_USERS = gql`\n query {\n getUsers {\n id\n photo\n prefix\n name\n surname\n email\n userType\n isDisabled\n }\n }\n`;\n\nexport const ADD_USER = gql`\n mutation addUser($payload: UserInput!) {\n addUser(\n payload: $payload\n ) {\n id\n photo\n prefix\n name\n surname\n email\n userType\n isDisabled\n }\n }\n`;\n\nexport const UPDATE_USER = gql`\n mutation updateUser($id: ID!, $payload: UserInput!) {\n updateUser(\n id: $id,\n payload: $payload\n ) {\n id\n photo\n prefix\n name\n surname\n email\n userType\n isDisabled\n }\n }\n`;\n\nexport const DELETE_USER = gql`\n mutation deleteUser($id: ID!) {\n deleteUser(\n id: $id\n ) {\n id\n photo\n prefix\n name\n surname\n email\n userType\n isDisabled\n }\n }\n`;\n\nexport const GET_CURRENT_USER = gql`\n query {\n getCurrentUser {\n id\n uuid\n userGroup {\n id\n code\n nameLocal\n nameEng\n }\n photo\n code\n userLogin\n nameLocal\n surnameLocal\n nameEng\n surnameLocal\n email\n isActive\n isOnline\n lastChangePasswordDate\n lastLoginDate\n lastLogOutDate\n accessFailedCount\n profile\n meta\n }\n }\n`;\n\nexport const LOGIN = gql`\n mutation signIn($email: String!, $password: String!) {\n signIn(\n email: $email,\n password: $password\n ) {\n token\n user {\n id\n uuid\n photo\n prefix\n name\n surname\n email\n userType\n }\n }\n }\n`;\n\nexport const FORGOT_PASSWORD = gql`\n mutation forgotPassword($email: String!) {\n forgotPassword(\n email: $email\n ) {\n id\n photo\n prefix\n name\n surname\n email\n userType\n }\n }\n`;\n\nexport const RESET_PASSWORD = gql`\n mutation resetPassword($resetPasswordCode: String!, $newPassword: String!) {\n resetPassword(\n resetPasswordCode: $resetPasswordCode\n newPassword: $newPassword\n ) {\n id\n photo\n prefix\n name\n surname\n email\n userType\n }\n }\n`;\n\nexport const RESET_PASSWORD_CURRENT_USER = gql`\n mutation resetPasswordCurrentUser($oldPassword: String!, $newPassword: String!) {\n resetPasswordCurrentUser(\n oldPassword: $oldPassword\n newPassword: $newPassword\n ) {\n error\n message\n }\n }\n`;\n\nexport const SIGN_OUT = gql`\n mutation signOut {\n signOut\n }\n`;\n\nexport const REGISTER = gql`\n mutation signUp($name: String!, $surname: String!, $email: String!, $password: String!) {\n signUp(\n name: $name\n surname: $surname\n email: $email\n password: $password\n ) {\n token\n user {\n id\n photo\n prefix\n name\n surname\n email\n userType\n }\n }\n }\n`;\n//\n// export const FIND_USER_FROM_EMAIL = gql`\n// query findUserFromEmail($email: String!) {\n// findUserFromEmail(\n// email: $email\n// ) {\n// id\n// email\n// photo\n// prefix\n// name\n// surname\n// userType\n// }\n// }\n// `;\n\nexport const GET_USER_PROFILE_SHARING_URL_ONCE = gql`\n query {\n getUserProfileSharingUrlOnce\n }\n`;\n\nexport const GET_USER_PUBLIC_PROFILE = gql`\n query getUserPublicProfile($userUUID: String!) {\n getUserPublicProfile(\n userUUID: $userUUID\n ) {\n nameLocal\n surnameLocal\n nameEng\n surnameEng\n isActive\n photo\n }\n }\n`;\n","import { gql } from \"apollo-boost\";\n\n/* \n * extend type Query {\n * getChatrooms\n * : [ChatRoom]\n * }\n */\n\nexport const GET_CHATROOMS = gql`\n query getChatRooms {\n getChatRooms {\n id\n }\n }\n`;\n\n/* \n * extend type Query {\n * getChatRoomsByFilter\n * : [ChatRoom]\n * }\n */\n\n\nexport const GET_CHATROOMS_BY_FILTER = gql`\n query getChatRoomsByFilter {\n getChatRoomsByFilter {\n id\n }\n }\n`;\n\n/* \n * extend type Query {\n * getChatRoomById\n * : ChatRoom\n * }\n */\n\nexport const GET_CHATROOM_BY_ID = gql`\n query getChatRoomById ($id: ID!, $userUUID: String) {\n getChatRoomById (\n id: $id\n userUUID: $userUUID\n )\n {\n id\n chatMessageSet {\n id\n meta {\n date\n timestamp\n length\n }\n messages\n previousMessages\n }\n members\n activeUserList\n }\n }\n`;\n\n/* \n * extend type Query {\n * getChatRoomByAssociativeKey\n * : ChatRoom\n * }\n */\n\nexport const GET_CHATROOM_BY_ASSOCIATIVE_KEY = gql`\n query getChatRoomByAssociativeKey (\n $associateFeatureInput: [ChatAssociateFeatureInput]!\n ) {\n getChatRoomByAssociativeKey (\n associateFeatureInput: $associateFeatureInput\n )\n {\n id\n chatMessageSet {\n id\n meta {\n date\n timestamp\n length\n }\n messages\n previousMessages\n }\n members\n activeUserList\n } \n }\n`;\n\n/* \n * extend type Query {\n * sendChatMessages\n * : ChatRoom\n * }\n */\n\nexport const SEND_CHATMESSAGES = gql`\n mutation sendChatMessages (\n $chatroomID: ID!\n $chatMessagesInput: [ChatMessageInput]!\n ) {\n sendChatMessages (\n chatroomID: $chatroomID,\n chatMessagesInput: $chatMessagesInput\n )\n {\n id\n } \n }\n`;\n","import { gql } from \"apollo-boost\";\n\nexport const GET_INFO_TOPIC = gql`\n query getInfoTopic($id: ID!) {\n getInfoTopic(\n id: $id\n ) {\n id\n topicLocal topicEng descriptionLocal descriptionEng\n picturePath attachFilePath isStudentFirstPage isShow isFix\n createdAt updatedAt\n infoGroup{\n id color nameLocal nameEng isShow isFix\n }\n }\n }\n`;\n\nexport const GET_INFO_TOPICS = gql`\n query getInfoTopics {\n getInfoTopics {\n id\n topicLocal topicEng descriptionLocal descriptionEng\n picturePath attachFilePath isStudentFirstPage isShow isFix\n createdAt updatedAt\n infoGroup{\n id color nameLocal nameEng isShow isFix\n }\n }\n }\n`;\n\nexport const GET_INFO_TOPIC_BY_INFO_GROUP_ID = gql`\n query getInfoTopicsByInfoGroup($infoGroupId: ID!) {\n getInfoTopicsByInfoGroup(\n infoGroupId: $infoGroupId\n ) {\n id\n topicLocal topicEng descriptionLocal descriptionEng\n picturePath attachFilePath isStudentFirstPage isShow isFix\n infoGroup{\n id color nameLocal nameEng isShow isFix\n }\n }\n }\n`;\n\nexport const GET_INFO_TOPICS_STUDENT_FIRST_PAGE = gql`\n query getInfoTopicsStudentFirstPage {\n getInfoTopicsStudentFirstPage {\n id\n topicLocal topicEng descriptionLocal descriptionEng\n picturePath attachFilePath isStudentFirstPage isShow isFix\n createdAt updatedAt\n infoGroup{\n id color nameLocal nameEng isShow isFix\n }\n }\n }\n`;\n\nexport const GET_INFO_TOPICS_TEACHER_FIRST_PAGE = gql`\n query getInfoTopicsTeacherFirstPage {\n getInfoTopicsTeacherFirstPage {\n id\n topicLocal topicEng descriptionLocal descriptionEng\n picturePath attachFilePath isStudentFirstPage isShow isFix\n createdAt updatedAt\n infoGroup{\n id color nameLocal nameEng isShow isFix\n }\n }\n }\n`;\n\nexport const GET_RECENT_INFO_TOPICS_FOR_STUDENT = gql`\n query getRecentInfoTopicsForStudent($currentInfoTopic: ID!) {\n getRecentInfoTopicsForStudent(\n currentInfoTopic: $currentInfoTopic\n ) {\n id\n topicLocal topicEng descriptionLocal descriptionEng\n picturePath attachFilePath isStudentFirstPage isShow isFix\n createdAt updatedAt\n infoGroup{\n id color nameLocal nameEng isShow isFix\n }\n }\n }\n`;\n\nexport const GET_RECENT_INFO_TOPICS_FOR_TEACHER = gql`\n query getRecentInfoTopicsForTeacher($currentInfoTopic: ID!) {\n getRecentInfoTopicsForTeacher(\n currentInfoTopic: $currentInfoTopic\n ) {\n id\n topicLocal topicEng descriptionLocal descriptionEng\n picturePath attachFilePath isStudentFirstPage isShow isFix\n createdAt updatedAt\n infoGroup{\n id color nameLocal nameEng isShow isFix\n }\n }\n }\n`;\n\nexport const ADD_INFO_TOPIC = gql`\n mutation addInfoTopic(\n $infoTopicInput: InfoTopicInput,\n $infoGroupId: ID!,\n ) {\n addInfoTopic (\n infoTopicInput: $infoTopicInput,\n infoGroupId: $infoGroupId,\n ) {\n id\n topicLocal topicEng descriptionLocal descriptionEng\n picturePath attachFilePath isStudentFirstPage isShow isFix\n infoGroup{\n id color nameLocal nameEng isShow isFix\n }\n\n }\n }\n`;\n\nexport const UPDATE_INFO_TOPIC = gql`\n mutation updateInfoTopic(\n $id: ID!,\n $infoTopicInput: InfoTopicInput!,\n $infoGroupId: ID!,\n ) {\n updateInfoTopic (\n id: $id,\n infoTopicInput: $infoTopicInput,\n infoGroupId: $infoGroupId,\n ) {\n id\n topicLocal topicEng descriptionLocal descriptionEng\n picturePath attachFilePath isStudentFirstPage isShow isFix\n infoGroup{\n id color nameLocal nameEng isShow isFix\n }\n }\n }\n`;\n\nexport const DELETE_INFO_TOPIC = gql`\n mutation deleteInfoTopic(\n $id: ID!\n ) {\n deleteInfoTopic (\n id: $id\n ) {\n id\n topicLocal topicEng descriptionLocal descriptionEng\n picturePath attachFilePath isStudentFirstPage isShow isFix\n infoGroup{\n id color nameLocal nameEng isShow isFix\n }\n }\n }\n`;\n\n","import { gql } from \"apollo-boost\";\n\nexport const GET_COURSEOUTLINEREGISTRATION = gql`\n query getCourseOutlineRegistration($id: ID!) {\n getCourseOutlineRegistration(\n id: $id\n ) {\n id subjectCode subjectName teacherCode periodCode\n academicPeriod{\n id periodCode\n }\n courseOutline {\n id\n }\n degree {\n id code nameLocal nameEng\n }\n subjectGroup {\n id code nameLocal nameEng\n }\n subject {\n id code nameLocal nameEng creditCalGrade creditDesc\n }\n teacher {\n id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath\n }\n classSections {\n id sectionNo descriptionLocal descriptionEng studentQty\n vdoSetCode startClassDate learnSpanNo examSpanNo\n vdoSet{\n id code description totalVdoLength\n vdoSetUnits {\n id unitSeq code totalVdoLength status remark\n vdoSetTopics {\n id no nameLocal nameEng vdoLength vdoStreamPath isEnabled\n }\n }\n }\n }\n }\n }\n`;\n\nexport const GET_COURSEOUTLINEREGISTRATIONS = gql`\n query getCourseOutlineRegistrations {\n getCourseOutlineRegistrations {\n id subjectCode subjectName teacherCode periodCode\n academicPeriod{\n id periodCode\n }\n courseOutline {\n id\n }\n degree {\n id code nameLocal nameEng\n }\n subjectGroup {\n id code nameLocal nameEng\n }\n subject {\n id code nameLocal nameEng\n }\n teacher {\n id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath\n }\n classSections {\n id sectionNo descriptionLocal descriptionEng studentQty\n vdoSetCode startClassDate learnSpanNo examSpanNo\n vdoSet{\n id code description totalVdoLength\n vdoSetUnits {\n id unitSeq code totalVdoLength status remark\n vdoSetTopics {\n id no nameLocal nameEng vdoLength vdoStreamPath isEnabled\n }\n }\n }\n }\n }\n }\n`;\n\nexport const GET_COURSEOUTLINEREGISTRATIONS_BY_FILTER = gql`\n query getCourseOutlineRegistrationsByFilter(\n $courseOutlineRegistrationFilterInput: CourseOutlineRegistrationFilterInput\n ) {\n getCourseOutlineRegistrationsByFilter(\n courseOutlineRegistrationFilterInput: $courseOutlineRegistrationFilterInput\n ) {\n id subjectCode subjectName teacherCode periodCode\n academicPeriod{\n id periodCode\n }\n courseOutline {\n id\n }\n degree {\n id code nameLocal nameEng\n }\n subjectGroup {\n id code nameLocal nameEng\n }\n subject {\n id code nameLocal nameEng\n }\n teacher {\n id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath\n }\n classSections {\n id sectionNo descriptionLocal descriptionEng studentQty\n vdoSetCode startClassDate learnSpanNo examSpanNo\n vdoSet{\n id code description totalVdoLength\n vdoSetUnits {\n id unitSeq code totalVdoLength status remark\n vdoSetTopics {\n id no nameLocal nameEng vdoLength vdoStreamPath isEnabled\n }\n }\n }\n classRoom{\n id\n }\n }\n }\n }\n`;\n\nexport const GET_COURSEOUTLINEREGISTRATIONS_BY_FILTER_FOR_TABLE = gql`\n query getCourseOutlineRegistrationsByFilter(\n $courseOutlineRegistrationFilterInput: CourseOutlineRegistrationFilterInput\n ) {\n getCourseOutlineRegistrationsByFilter(\n courseOutlineRegistrationFilterInput: $courseOutlineRegistrationFilterInput\n ) {\n id subjectCode subjectName teacherCode periodCode\n subject {\n id code nameLocal nameEng creditCalGrade\n }\n teacher {\n id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath picturePath\n }\n classSections {\n id\n }\n courseOutline{\n id\n }\n }\n }\n`;\n\nexport const GET_COURSEOUTLINEREGISTRATIONS_BY_FILTER_ONLY_COURSEOUTLINE = gql`\n query getCourseOutlineRegistrationsByFilter(\n $courseOutlineRegistrationFilterInput: CourseOutlineRegistrationFilterInput\n ) {\n getCourseOutlineRegistrationsByFilter(\n courseOutlineRegistrationFilterInput: $courseOutlineRegistrationFilterInput\n ) {\n id\n courseOutline{\n id\n }\n }\n }\n`;\n\nexport const ADD_COURSEOUTLINEREGISTRATION = gql`\n mutation addCourseOutlineRegistration(\n $courseOutlineRegistrationInput: [CourseOutlineRegistrationInput!]\n ) {\n addCourseOutlineRegistration (\n courseOutlineRegistrationInput: $courseOutlineRegistrationInput\n )\n {\n id subjectCode subjectName teacherCode periodCode\n academicPeriod{\n id periodCode\n }\n courseOutline {\n id\n }\n degree {\n id code nameLocal nameEng\n }\n subjectGroup {\n id code nameLocal nameEng\n }\n subject {\n id code nameLocal nameEng\n }\n teacher {\n id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath\n }\n classSections {\n id sectionNo descriptionLocal descriptionEng studentQty\n vdoSetCode startClassDate learnSpanNo examSpanNo\n vdoSet{\n id code description totalVdoLength\n vdoSetUnits {\n id unitSeq code totalVdoLength status remark\n vdoSetTopics {\n id no nameLocal nameEng vdoLength vdoStreamPath isEnabled\n }\n }\n }\n }\n }\n }\n`;\n\nexport const UPDATE_COURSEOUTLINEREGISTRATION = gql`\n mutation updateCourseOutlineRegistration(\n $id: ID!,\n $courseOutlineRegistrationInput: CourseOutlineRegistrationInput!\n ) {\n updateCourseOutlineRegistration (\n id: $id\n courseOutlineRegistrationInput: $courseOutlineRegistrationInput\n ) {\n id subjectCode subjectName teacherCode periodCode\n academicPeriod{\n id periodCode\n }\n courseOutline {\n id\n }\n degree {\n id code nameLocal nameEng\n }\n subjectGroup {\n id code nameLocal nameEng\n }\n subject {\n id code nameLocal nameEng\n }\n teacher {\n id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath\n }\n classSections {\n id sectionNo descriptionLocal descriptionEng studentQty\n vdoSetCode startClassDate learnSpanNo examSpanNo\n vdoSet{\n id code description totalVdoLength\n vdoSetUnits {\n id unitSeq code totalVdoLength status remark\n vdoSetTopics {\n id no nameLocal nameEng vdoLength vdoStreamPath isEnabled\n }\n }\n }\n }\n }\n }\n`;\n\nexport const UPDATE_TEACHER_COURSEOUTLINEREGISTRATION = gql`\n mutation updateTeacherCourseOutlineRegistration(\n $id: ID!,\n $courseOutlineId: ID!,\n $teacherId: ID!,\n $teacherCode: String!,\n ) {\n updateTeacherCourseOutlineRegistration (\n id: $id\n courseOutlineId: $courseOutlineId\n teacherId: $teacherId\n teacherCode: $teacherCode\n ) {\n id subjectCode subjectName teacherCode periodCode\n academicPeriod{\n id periodCode\n }\n courseOutline {\n id\n }\n degree {\n id code nameLocal nameEng\n }\n subjectGroup {\n id code nameLocal nameEng\n }\n subject {\n id code nameLocal nameEng\n }\n teacher {\n id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath\n }\n classSections {\n id sectionNo descriptionLocal descriptionEng studentQty\n vdoSetCode startClassDate learnSpanNo examSpanNo\n vdoSet{\n id code description totalVdoLength\n vdoSetUnits {\n id unitSeq code totalVdoLength status remark\n vdoSetTopics {\n id no nameLocal nameEng vdoLength vdoStreamPath isEnabled\n }\n }\n }\n }\n }\n }\n`;\n\nexport const DELETE_COURSEOUTLINEREGISTRATION = gql`\n mutation deleteCourseOutlineRegistration(\n $id: ID!\n ) {\n deleteCourseOutlineRegistration (\n id: $id\n ) {\n id subjectCode subjectName teacherCode periodCode\n academicPeriod{\n id periodCode\n }\n courseOutline {\n id\n }\n degree {\n id code nameLocal nameEng\n }\n subjectGroup {\n id code nameLocal nameEng\n }\n subject {\n id code nameLocal nameEng\n }\n teacher {\n id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath\n }\n classSections {\n id sectionNo descriptionLocal descriptionEng studentQty\n vdoSetCode startClassDate learnSpanNo examSpanNo\n vdoSet{\n id code description totalVdoLength\n vdoSetUnits {\n id unitSeq code totalVdoLength status remark\n vdoSetTopics {\n id no nameLocal nameEng vdoLength vdoStreamPath isEnabled\n }\n }\n }\n }\n }\n }\n`;\n\n/* TYPES\ninput CourseOutlineRegistrationFilterInput {\n academicPeriodId: ID\n periodCode: String\n courseOutlineId: ID\n degreeId: ID\n subjectGroupId: ID\n subjectId: ID\n subjectCode: String\n teacherId: ID\n teacherCode: String\n}\n\ninput CourseOutlineRegistrationInput {\n academicPeriodId: ID!\n periodCode: String\n courseOutlineId: ID!\n degreeId: ID!\n subjectGroupId: ID!\n subjectId: ID!\n subjectCode: String\n subjectName: String\n teacherId: ID!\n teacherCode: String\n}\n\ntype CourseOutlineRegistration {\n id: ID!\n academicPeriod: AcademicPeriod!\n periodCode: String\n courseOutline: CourseOutline!\n degree: Degree!\n subjectGroup: SubjectGroup!\n subject: Subject!\n subjectCode: String\n subjectName: String\n teacher: Teacher!\n teacherCode: String\n classSections: [ClassSection]\n isDisabled: Boolean!\n createdAt: String!\n updatedAt: String!\n createdBy: User\n updatedBy: User\n*/\n","import { gql } from \"apollo-boost\";\n\nexport const GET_NOTIFICATION_CURRENT_USER = gql`\n query getNotificationCurrentUser{\n getNotificationCurrentUser {\n type name msg qty notificationAt\n fromUser {\n id code nameLocal surnameLocal photo\n }\n }\n }\n`;\n","import {gql} from 'apollo-boost';\n\nexport const GET_WEB_BOARD = gql`\n query getWebBoard($id: ID!){\n getWebBoard(id: $id) {\n id sectionNo periodCode teacherCode studentCode\n topic topicDetail picturePath email\n ip hitRate replyQty hasNewReply updatedAt\n courseOutlineRegistration{ id }\n classSection{ id }\n academicPeriod{ id }\n teacher{\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n student{\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n webBoardReplies {\n id teacherCode studentCode\n replyMessage picturePath email\n ip updatedAt\n teacher {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n student {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n }\n }\n }\n`;\n\nexport const GET_WEB_BOARDS = gql`\n query getWebBoards($id : ID!){\n getWebBoards (\n id: $id\n ) {\n id sectionNo periodCode teacherCode studentCode\n topic topicDetail picturePath email\n ip hitRate replyQty hasNewReply updatedAt\n courseOutlineRegistration{ id }\n classSection{ id }\n academicPeriod{ id }\n teacher{\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n student{\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n webBoardReplies {\n id teacherCode studentCode\n replyMessage picturePath email\n ip updatedAt\n teacher {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n student {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n }\n }\n }\n`;\n\nexport const GET_WEB_BOARDS_BY_FILTER = gql`\n query getWebBoardsByFilter($webBoardFilterInput: WebBoardFilterInput){\n getWebBoardsByFilter (\n webBoardFilterInput: $webBoardFilterInput\n ) {\n id sectionNo periodCode teacherCode studentCode\n topic topicDetail picturePath email\n ip hitRate replyQty hasNewReply updatedAt\n courseOutlineRegistration{ id }\n classSection{ id }\n academicPeriod{ id }\n teacher{\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n student{\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n webBoardReplies {\n id teacherCode studentCode\n replyMessage picturePath email\n ip updatedAt\n teacher {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n student {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n }\n }\n }\n`;\n\nexport const ADD_WEB_BOARD = gql`\n mutation addWebBoard(\n $courseOutlineRegistrationId: ID!,\n $classSectionId: ID!,\n $academicPeriodId: ID!,\n $postBy: String!,\n $studentId: ID,\n $webBoardInput: WebBoardInput!\n ) {\n addWebBoard(\n courseOutlineRegistrationId: $courseOutlineRegistrationId\n classSectionId: $classSectionId\n academicPeriodId: $academicPeriodId\n postBy: $postBy\n studentId: $studentId\n webBoardInput: $webBoardInput\n ) {\n id sectionNo periodCode teacherCode studentCode\n topic topicDetail picturePath email\n ip hitRate replyQty hasNewReply updatedAt\n courseOutlineRegistration{ id }\n classSection{ id }\n academicPeriod{ id }\n teacher{\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n student{\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n webBoardReplies {\n id teacherCode studentCode\n replyMessage picturePath email\n ip updatedAt\n teacher {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n student {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n }\n }\n }\n`;\n\nexport const UPDATE_WEB_BOARD = gql`\n mutation updateWebBoard(\n $id: ID!,\n $courseOutlineUnitId: ID!,\n $webBoardInput: WebBoardInput!\n ) {\n updateWebBoard(\n id: $id\n webBoardInput: $webBoardInput\n ) {\n id sectionNo periodCode teacherCode studentCode\n topic topicDetail picturePath email\n ip hitRate replyQty hasNewReply updatedAt\n courseOutlineRegistration{ id }\n classSection{ id }\n academicPeriod{ id }\n teacher{\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n student{\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n webBoardReplies {\n id teacherCode studentCode\n replyMessage picturePath email\n ip updatedAt\n teacher {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n student {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n }\n }\n }\n`;\n\nexport const UPDATE_REPLY_TO_WEB_BOARD = gql`\n mutation updateReplyToWebBoard(\n $id: ID!,\n $postBy: String!,\n $webBoardReplyInput: WebBoardReplyInput!\n ) {\n updateReplyToWebBoard(\n id: $id\n postBy: $postBy\n webBoardReplyInput: $webBoardReplyInput\n ) {\n id sectionNo periodCode teacherCode studentCode\n topic topicDetail picturePath email\n ip hitRate replyQty hasNewReply updatedAt\n courseOutlineRegistration{ id }\n classSection{ id }\n academicPeriod{ id }\n teacher{\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n student{\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n webBoardReplies {\n id teacherCode studentCode\n replyMessage picturePath email\n ip updatedAt\n teacher {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n student {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n }\n }\n }\n`;\n\nexport const UPDATE_WEB_BOARD_ALREADY_READ = gql`\n mutation updateWebBoardAlreadyRead(\n $id: ID!,\n ) {\n updateWebBoardAlreadyRead(\n id: $id\n ) {\n id sectionNo periodCode teacherCode studentCode\n topic topicDetail picturePath email\n ip hitRate replyQty hasNewReply updatedAt\n courseOutlineRegistration{ id }\n classSection{ id }\n academicPeriod{ id }\n teacher{\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n student{\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n webBoardReplies {\n id teacherCode studentCode\n replyMessage picturePath email\n ip updatedAt\n teacher {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n student {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n }\n }\n }\n`;\n\nexport const UPDATE_WEB_BOARD_HIT_RATE = gql`\n mutation updateWebBoardHitCount(\n $id: ID!,\n ) {\n updateWebBoardHitCount(\n id: $id\n ) {\n id sectionNo periodCode teacherCode studentCode\n topic topicDetail picturePath email\n ip hitRate replyQty hasNewReply updatedAt\n courseOutlineRegistration{ id }\n classSection{ id }\n academicPeriod{ id }\n teacher{\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n student{\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n webBoardReplies {\n id teacherCode studentCode\n replyMessage picturePath email\n ip updatedAt\n teacher {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n student {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n }\n }\n }\n`;\n\nexport const DELETE_WEB_BOARD = gql`\n mutation deleteWebBoard($id: ID!) {\n deleteWebBoard(\n id: $id\n ) {\n id sectionNo periodCode teacherCode studentCode\n topic topicDetail picturePath email\n ip hitRate replyQty hasNewReply updatedAt\n courseOutlineRegistration{ id }\n classSection{ id }\n academicPeriod{ id }\n teacher{\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n student{\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n webBoardReplies {\n id teacherCode studentCode\n replyMessage picturePath email\n ip updatedAt\n teacher {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n student {\n id code picturePath\n firstNameLocal lastNameLocal\n firstNameEng lastNameEng\n }\n }\n }\n }\n`;\n\n","import {gql} from \"apollo-boost\";\n\nexport const GET_STUDENTENROLLDETAIL_BYID = gql`\n query getStudentEnrollDetail($id: ID!) {\n getStudentEnrollDetail(\n id: $id\n ) {\n id sectionNo subjectCode teacherCode credit learnSpanNo examSpanNo isDrop\n student {\n id code\n }\n studentEnroll {\n id periodCode\n }\n studentUnitLearns {\n id unitSeq totalVdoLength totalLearnTime learnPercent\n }\n subject {\n id code nameLocal description creditCalGrade\n }\n courseOutlineRegistration {\n id\n courseOutline {\n id instruction\n courseOutlineUnits {\n id seq nameLocal nameEng descriptionLocal descriptionEng\n preTestExpectScore postTestExpectScore unitAgenda unitObjective unitReference\n countLearnPercent\n }\n courseOutlineAssessments {\n id seq percent score\n assessment {\n id nameLocal\n }\n }\n }\n teacher {\n id code firstNameLocal lastNameLocal telephone email availableTime socialMedia picturePath\n prefix {\n nameLocal\n }\n }\n }\n classSection {\n id learnSpanNo sectionNo\n vdoSet {\n id totalVdoLength\n vdoSetUnits {\n id totalVdoLength status\n courseOutlineUnit {\n id\n }\n }\n }\n classMaterials {\n id sequence nameLocal uploadPath uploadPathUri uploadFileName\n }\n classAssignments {\n id sequence topicLocal score dueDate uploadPathUri active\n }\n }\n studentUnitTests {\n id\n pretestMaxScore pretestQuestionQty pretestScore isPretestDone\n posttestMaxScore posttestQuestionQty posttestScore isPosttestDone\n courseOutlineUnit {\n id\n }\n }\n studentUnitLearns {\n id unitSeq totalVdoLength totalLearnTime learnPercent\n vdoSetUnit {\n id\n }\n courseOutlineUnit {\n id countLearnPercent\n }\n }\n }\n }\n`;\n\nexport const GET_STUDENTENROLLDETAIL_BYID_FOR_LEARNING = gql`\n query getStudentEnrollDetail($id: ID!) {\n getStudentEnrollDetail(\n id: $id\n ) {\n id sectionNo subjectCode teacherCode credit learnSpanNo examSpanNo isDrop\n student {\n id code\n }\n studentEnroll {\n id periodCode\n academicPeriod {\n id\n }\n }\n subject {\n id code nameLocal description creditCalGrade\n }\n courseOutlineRegistration {\n id\n courseOutline {\n id instruction picturePath\n courseOutlineUnits {\n id seq nameLocal nameEng descriptionLocal descriptionEng\n preTestExpectScore postTestExpectScore unitAgenda unitObjective unitReference\n countLearnPercent\n }\n }\n academicPeriod{\n id\n }\n teacher {\n id code firstNameLocal lastNameLocal telephone email availableTime socialMedia picturePath\n prefix {\n nameLocal\n }\n }\n }\n classSection {\n id learnSpanNo sectionNo\n vdoSet {\n id totalVdoLength\n vdoSetUnits {\n id totalVdoLength status\n courseOutlineUnit {\n id countLearnPercent\n }\n vdoSetTopics {\n id no nameLocal nameEng vdoLength vdoStreamPath isEnabled\n }\n }\n }\n }\n studentUnitTests {\n id\n pretestMaxScore pretestQuestionQty pretestScore isPretestDone\n posttestMaxScore posttestQuestionQty posttestScore isPosttestDone\n courseOutlineUnit { id }\n }\n studentUnitLearns {\n id unitSeq totalVdoLength totalLearnTime learnPercent\n vdoSetUnit { id }\n courseOutlineUnit { id countLearnPercent }\n studentTopicLearns {\n id learnTime learnPercent vdoLength\n firstPlayVdo startPlayVdo stopPlayVdo\n vdoSetTopic { id }\n }\n }\n }\n }\n`;\n\nexport const GET_STUDENTENROLLDETAIL_LIST = gql`\n query getStudentEnrollDetails {\n getStudentEnrollDetails {\n id\n studentEnroll\n enrollNo\n studentCode\n courseOutlineRegistration {\n subject {\n id\n }\n }\n }\n }\n`;\n\nexport const GET_STUDENTENROLLDETAIL_LIST_BYSTUDENTENROLLID = gql`\n query getStudentEnrollDetailsByStudentEnrollId(\n $id: ID!\n ) {\n getStudentEnrollDetailsByStudentEnrollId(\n id: $id\n ) {\n id\n studentEnroll {\n id\n }\n enrollNo\n studentCode\n classSection {\n id\n }\n sectionNo\n subject {\n id\n nameLocal\n }\n subjectCode\n teacher {\n id\n firstNameLocal\n lastNameLocal\n }\n teacherCode\n credit\n learnSpanNo\n examSpanNo\n isDrop\n }\n }\n`;\n\nexport const GET_STUDENTENROLLDETAIL_LIST_BYFILTER = gql`\n query getStudentEnrollDetailsByFilter(\n $studentEnrollDetailFilterInput: StudentEnrollDetailFilterInput\n ) {\n getStudentEnrollDetailsByFilter(\n studentEnrollDetailFilterInput: $studentEnrollDetailFilterInput\n ) {\n id\n }\n }\n`;\n\nexport const GET_STUDENT_IN_CLASS_SECTION_BY_CODE_OR_NAME = gql`\n query getStudentsInClassSectionByCodeOrName(\n $classSectionId: ID!\n $codeOrName: String!\n $limit: Int\n ) {\n getStudentsInClassSectionByCodeOrName(\n classSectionId: $classSectionId\n codeOrName: $codeOrName\n limit: $limit\n ) {\n id studentCode\n classSection { id sectionNo }\n courseOutlineRegistration {\n id subjectCode\n academicPeriod { id }\n }\n student {\n id code firstNameLocal lastNameLocal\n user { id code }\n }\n\n }\n }\n`;\n\nexport const GET_TEACHERS_IN_STUDENT_ENROLL_BY_CODE_OR_NAME_CURRENT_USER = gql`\n query getTeachersInStudentEnrollByCodeOrNameCurrentUser(\n $academicPeriodId: ID!\n ) {\n getTeachersInStudentEnrollByCodeOrNameCurrentUser(\n academicPeriodId: $academicPeriodId\n ) {\n id teacherCode\n classSection { id sectionNo }\n courseOutlineRegistration {\n id subjectCode\n academicPeriod { id }\n }\n teacher {\n id code firstNameLocal lastNameLocal\n user { id code }\n }\n subjectCode\n\n }\n }\n`;\n\nexport const GET_STUDENT_ENROLL_DETAILS_BY_CURRENT_USER = gql`\n query getStudentEnrollDetailsByCurrentUser{\n getStudentEnrollDetailsByCurrentUser {\n id sectionNo subjectCode teacherCode credit learnSpanNo examSpanNo isDrop\n studentEnroll {\n id periodCode studentCode enrollDate totalCredit totalDropCredit\n }\n studentUnitLearns {\n id unitSeq totalVdoLength totalLearnTime learnPercent\n courseOutlineUnit { id countLearnPercent }\n vdoSetUnit { id }\n }\n courseOutlineRegistration{\n id\n courseOutline {\n id picturePath\n }\n teacher {\n id\n prefix {\n nameLocal\n }\n firstNameLocal\n lastNameLocal\n telephone\n email\n availableTime\n code\n picturePath\n }\n }\n subject {\n id\n code\n nameLocal\n }\n classSection {\n id sectionNo learnSpanNo\n vdoSet {\n id totalVdoLength\n vdoSetUnits {\n id totalVdoLength status\n courseOutlineUnit { id countLearnPercent }\n }\n }\n }\n }\n }\n`;\n\nexport const GET_STUDENT_ENROLL_DETAILS_BY_CURRENT_USER_WHILE_EXAM = gql`\n query getStudentEnrollDetailsByCurrentUser{\n getStudentEnrollDetailsByCurrentUser {\n id sectionNo subjectCode teacherCode credit learnSpanNo examSpanNo isDrop\n studentEnroll {\n id periodCode studentCode enrollDate totalCredit totalDropCredit\n }\n courseOutlineRegistration{\n id\n courseOutline {\n id picturePath\n }\n teacher {\n id\n prefix {\n nameLocal\n }\n firstNameLocal\n lastNameLocal\n telephone\n email\n availableTime\n code\n picturePath\n }\n }\n subject {\n id\n code\n nameLocal\n }\n classSection {\n id sectionNo learnSpanNo\n }\n }\n }\n`;\n\nexport const ADD_STUDENTENROLLDETAIL = gql`\n mutation addStudentEnrollDetail(\n $courseOutlineRegistrationInput: [StudentEnrollDetailInput!]\n ) {\n addStudentEnrollDetail (\n courseOutlineRegistrationInput: $courseOutlineRegistrationInput\n )\n {\n id\n academicPeriod{\n id periodCode year semester\n }\n periodCode\n courseOutline{\n id\n }\n degree{\n id code nameLocal nameEng\n }\n subjectGroup{\n id code nameLocal nameEng\n }\n subject{\n id code nameLocal nameEng\n }\n subjectCode\n subjectName\n teacher{\n id code firstNameLocal lastNameLocal\n prefix{\n id nameLocal nameEng nameShortLocal nameShortEng\n }\n }\n teacherCode\n classSections{\n id\n }\n }\n }\n`;\n\nexport const UPDATE_STUDENTENROLLDETAIL = gql`\n mutation updateStudentEnrollDetail(\n $id: ID!,\n $courseOutlineRegistrationInput: StudentEnrollDetailInput!\n ) {\n addStudentEnrollDetail (\n id: $id\n courseOutlineRegistrationInput: $courseOutlineRegistrationInput\n ) {\n id\n }\n }\n`;\n\nexport const DELETE_STUDENTENROLLDETAIL = gql`\n mutation deleteStudentEnrollDetail(\n $id: ID!\n ) {\n deleteStudentEnrollDetail (\n id: $id\n ) {\n id\n }\n }\n`;\n\nexport const UPLOAD_STUDENTENROLLDETAIL_SPREADSHEET = gql`\n mutation uploadStudentEnrollDetailSpreadsheet(\n $file: Upload!\n ) {\n uploadStudentEnrollDetailSpreadsheet (\n file: $file\n ) {\n filename\n }\n }\n`;\n","import {gql} from 'apollo-boost';\n\nexport const GET_PRIVATE_MESSAGE_REPLY = gql`\n query getPrivateMessageReply($id: ID!){\n getPrivateMessageReply(id: $id) {\n id toUserCode fromUserCode message sendDate isRead readDate\n ip isFromTeacher isFromStudent\n privateMessage { id }\n toUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n fromUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n }\n }\n`;\n\nexport const GET_PRIVATE_MESSAGE_REPLIES = gql`\n query getPrivateMessageReplyReplies($id : ID!){\n getPrivateMessageReplyReplies (\n id: $id\n ) {\n id toUserCode fromUserCode message sendDate isRead readDate\n ip isFromTeacher isFromStudent\n privateMessage { id }\n toUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n fromUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n }\n }\n`;\n\nexport const GET_PRIVATE_MESSAGE_REPLIES_BY_FILTER = gql`\n query getPrivateMessageReplyRepliesByFilter($privateMessageReplyFilterInput: PrivateMessageReplyFilterInput){\n getPrivateMessageReplyRepliesByFilter (\n privateMessageReplyFilterInput: $privateMessageReplyFilterInput\n ) {\n id toUserCode fromUserCode message sendDate isRead readDate\n ip isFromTeacher isFromStudent\n privateMessage { id }\n toUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n fromUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n }\n }\n`;\n\nexport const ADD_PRIVATE_MESSAGE_REPLY = gql`\n mutation addPrivateMessageReply(\n $privateMessageId: ID!,\n $toUserId: ID!,\n $privateMessageReplyInput: PrivateMessageReplyInput!\n ) {\n addPrivateMessageReply(\n privateMessageId: $privateMessageId\n toUserId: $toUserId\n privateMessageReplyInput: $privateMessageReplyInput\n ) {\n id toUserCode fromUserCode message sendDate isRead readDate\n ip isFromTeacher isFromStudent\n privateMessage { id }\n toUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n fromUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n }\n }\n`;\n\nexport const UPDATE_PRIVATE_MESSAGE_REPLY = gql`\n mutation updatePrivateMessageReply(\n $id: ID!,\n $privateMessageReplyInput: PrivateMessageReplyInput!\n ) {\n updatePrivateMessageReply(\n id: $id\n privateMessageReplyInput: $privateMessageReplyInput\n ) {\n id toUserCode fromUserCode message sendDate isRead readDate\n ip isFromTeacher isFromStudent\n privateMessage { id }\n toUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n fromUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n }\n }\n`;\n\nexport const UPDATE_PRIVATE_MESSAGE_REPLY_ALREADY_READ = gql`\n mutation updatePrivateMessageReplyAlreadyRead(\n $id: ID!,\n ) {\n updatePrivateMessageReplyAlreadyRead(\n id: $id\n ) {\n id toUserCode fromUserCode message sendDate isRead readDate\n ip isFromTeacher isFromStudent\n privateMessage { id }\n toUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n fromUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n }\n }\n`;\n\nexport const DELETE_PRIVATE_MESSAGE_REPLY = gql`\n mutation deletePrivateMessageReply($id: ID!) {\n deletePrivateMessageReply(\n id: $id\n ) {\n id toUserCode fromUserCode message sendDate isRead readDate\n ip isFromTeacher isFromStudent\n privateMessage { id }\n toUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n fromUser { id code nameLocal surnameLocal nameEng surnameEng email photo }\n }\n }\n`;\n\n","import { gql } from \"apollo-boost\";\n\n/* \n * extend type Query {\n * getClessroom\n * : [Classroom]\n * }\n */\n\nexport const GET_CLASSROOMS = gql`\n query getClassRooms {\n getClassRooms {\n id\n classRoomOwned {\n id\n }\n degree {\n id\n }\n subjectGroup {\n id\n }\n courseOutlineRegistration {\n id\n }\n classSection {\n id\n }\n sectionNo\n teacher {\n id \n }\n teacherCode\n subject {\n id\n }\n subjectCode\n nameLocal\n nameEng\n studentRegisterQty\n capacity\n startDate\n endDate\n isAvailable\n isActive\n # classRoomType {\n # id\n # }\n }\n }\n`;\n","import {gql} from 'apollo-boost';\n\nexport const GET_INFO_GROUPS = gql`\n query getInfoGroups{\n getInfoGroups {\n id color nameLocal nameEng isShow isFix\n }\n }\n`;\n\nexport const GET_INFO_GROUP = gql`\n query getInfoGroup($id : ID!){\n getInfoGroup (\n id: $id\n ) {\n id color nameLocal nameEng isShow isFix\n }\n }\n`;\n\nexport const ADD_INFO_GROUP = gql`\n mutation addInfoGroup(\n $infoGroupInput: InfoGroupInput,\n ) {\n addInfoGroup(\n infoGroupInput: $infoGroupInput\n ) {\n id color nameLocal nameEng isShow isFix\n }\n }\n`;\n\nexport const UPDATE_INFO_GROUP = gql`\n mutation updateInfoGroup(\n $id: ID!,\n $infoGroupInput: InfoGroupInput!\n ) {\n updateInfoGroup(\n id: $id\n infoGroupInput: $infoGroupInput\n ) {\n id color nameLocal nameEng isShow isFix\n }\n }\n`;\n\nexport const DELETE_INFO_GROUP = gql`\n mutation deleteInfoGroup($id: ID!) {\n deleteInfoGroup(\n id: $id\n ) {\n id color nameLocal nameEng isShow isFix\n }\n }\n`;\n\n","import {gql} from 'apollo-boost';\n\nexport const GET_STUDENTASSIGNMENT = gql`\n query getStudentAssignment($id : ID!){\n getStudentAssignment (\n id: $id\n ) {\n id studentCode remark studentSendDate teacherReceiveDate isTeacherReceive\n uploadPath uploadPathUri uploadFileName\n classSection {\n id sectionNo\n }\n classAssignment {\n id topicLocal topicEng descriptionLocal descriptionEng score dueDate\n }\n studentEnrollDetail {\n id\n }\n student {\n id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath\n }\n\n }\n }\n`;\n\nexport const GET_STUDENTASSIGNMENTS_BY_FILTER = gql`\n\n query getStudentAssignmentsByFilter($studentAssignmentFilterInput: StudentAssignmentFilterInput){\n getStudentAssignmentsByFilter (\n studentAssignmentFilterInput:$studentAssignmentFilterInput\n ){\n id studentCode remark studentSendDate teacherReceiveDate isTeacherReceive\n uploadPath uploadPathUri uploadFileName\n classSection {\n id sectionNo\n }\n classAssignment {\n id topicLocal topicEng descriptionLocal descriptionEng score dueDate\n }\n studentEnrollDetail {\n id\n }\n student {\n id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath\n }\n\n }\n }\n`;\n\nexport const GET_STUDENTASSIGNMENTS = gql`\n query getStudentAssignments {\n getStudentAssignments {\n id studentCode remark studentSendDate teacherReceiveDate isTeacherReceive\n uploadPath uploadPathUri uploadFileName\n classSection {\n id sectionNo\n }\n classAssignment {\n id topicLocal topicEng descriptionLocal descriptionEng score dueDate\n }\n studentEnrollDetail {\n id\n }\n student {\n id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath\n }\n }\n }\n`;\n\nexport const ADD_STUDENTASSIGNMENT = gql`\n mutation addStudentAssignment(\n $classSectionId: ID\n $classAssignmentId: ID\n $studentEnrollDetailId: ID\n $studentId: ID\n $studentAssignmentInput: StudentAssignmentInput!\n ) {\n addStudentAssignment(\n classSectionId: $classSectionId\n classAssignmentId: $classAssignmentId\n studentEnrollDetailId: $studentEnrollDetailId\n studentId: $studentId\n studentAssignmentInput: $studentAssignmentInput\n ) {\n id studentCode\n }\n }\n`;\n\nexport const UPDATE_STUDENTASSIGNMENT = gql`\n mutation updateStudentAssignment(\n $id: ID!,\n $studentAssignmentInput: StudentAssignmentInput!\n ) {\n updateStudentAssignment(\n id: $id\n studentAssignmentInput: $studentAssignmentInput\n ) {\n id studentCode remark studentSendDate teacherReceiveDate isTeacherReceive\n uploadPath uploadPathUri uploadFileName\n classSection {\n id sectionNo\n }\n classAssignment {\n id topicLocal topicEng descriptionLocal descriptionEng score dueDate\n }\n studentEnrollDetail {\n id\n }\n student {\n id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath\n }\n }\n }\n`;\n\nexport const UPDATE_STUDENTASSIGNMENT_TEACHER_RECEIVE = gql`\n mutation updateStudentAssignmentTeacherReceive(\n $id: ID!,\n $studentAssignmentInput: StudentAssignmentInput!\n ) {\n updateStudentAssignmentTeacherReceive(\n id: $id\n studentAssignmentInput: $studentAssignmentInput\n ) {\n id studentCode remark studentSendDate teacherReceiveDate isTeacherReceive\n uploadPath uploadPathUri uploadFileName\n classSection {\n id sectionNo\n }\n classAssignment {\n id topicLocal topicEng descriptionLocal descriptionEng score dueDate\n }\n studentEnrollDetail {\n id\n }\n student {\n id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath\n }\n }\n }\n`;\n\nexport const DELETE_STUDENTASSIGNMENT = gql`\n mutation deleteStudentAssignment($id: ID!) {\n deleteStudentAssignment(\n id: $id\n ) {\n id studentCode\n }\n }\n`;\n\n","import { gql } from \"apollo-boost\";\n\n\nexport const GET_STUDENT_ENROLL_BY_CURRENT_USER = gql`\n query getStudentEnrollsByCurrentUser{\n getStudentEnrollsByCurrentUser {\n id periodCode studentCode enrollDate totalCredit totalDropCredit\n studentEnrollDetails {\n id sectionNo subjectCode teacherCode credit learnSpanNo examSpanNo isDrop\n studentUnitLearns {\n id unitSeq totalVdoLength totalLearnTime learnPercent\n courseOutlineUnit { id countLearnPercent }\n }\n subject {\n id\n code\n nameLocal\n }\n teacher {\n id\n prefix {\n nameLocal\n }\n firstNameLocal\n lastNameLocal\n telephone\n email\n availableTime\n code\n picturePath\n }\n classSection {\n id sectionNo learnSpanNo\n vdoSet {\n id totalVdoLength\n vdoSetUnits {\n id totalVdoLength\n courseOutlineUnit { id countLearnPercent}\n }\n }\n }\n }\n }\n }\n`;\n\nexport const GET_STUDENT_ENROLL_BYID = gql`\n query getStudentEnroll($id: ID!) {\n getStudentEnroll(\n id: $id\n ) {\n id\n enrollNo\n academicPeriod {\n id\n }\n periodCode\n student {\n id\n }\n studentCode\n enrollDate\n totalCredit\n totalDropCredit\n source\n }\n }\n`;\n\nexport const GET_STUDENTENROLL_LIST = gql`\n query getStudentEnrolls {\n getStudentEnrolls {\n id\n enrollNo\n academicPeriod {\n id\n }\n periodCode\n student {\n id\n firstNameLocal\n lastNameLocal\n }\n studentCode\n studentUnitLearn {\n id\n name\n }\n enrollDate\n totalCredit\n totalDropCredit\n source\n }\n }\n`;\n\nexport const GET_STUDENTENROLL_BYFILTER = gql`\n query getStudentEnrollsByFilter(\n $courseOutlineRegistratonFilterInput: StudentEnrollFilterInput\n ) {\n getStudentEnrollsByFilter(\n courseOutlineRegistrationFilterInput: $courseOutlineRegistrationFilterInput\n ) {\n id\n }\n }\n`;\n\nexport const ADD_STUDENTENROLL = gql`\n mutation addStudentEnroll(\n $courseOutlineRegistrationInput: [StudentEnrollInput!]\n ) {\n addStudentEnroll (\n courseOutlineRegistrationInput: $courseOutlineRegistrationInput\n )\n {\n id\n academicPeriod{\n id periodCode year semester\n }\n periodCode\n courseOutline{\n id\n }\n degree{\n id code nameLocal nameEng\n }\n subjectGroup{\n id code nameLocal nameEng\n }\n subject{\n id code nameLocal nameEng\n }\n subjectCode\n subjectName\n teacher{\n id code firstNameLocal lastNameLocal\n prefix{\n id nameLocal nameEng nameShortLocal nameShortEng\n }\n }\n teacherCode\n classSections{\n id\n }\n }\n }\n`;\n\nexport const UPDATE_STUDENTENROLL = gql`\n mutation updateStudentEnroll(\n $id: ID!,\n $courseOutlineRegistrationInput: StudentEnrollInput!\n ) {\n addStudentEnroll (\n id: $id\n courseOutlineRegistrationInput: $courseOutlineRegistrationInput\n ) {\n id\n }\n }\n`;\n\nexport const DELETE_STUDENTENROLL = gql`\n mutation deleteStudentEnroll(\n $id: ID!\n ) {\n deleteStudentEnroll (\n id: $id\n ) {\n id\n }\n }\n`;\n\nexport const UPLOAD_STUDENTENROLL_SPREADSHEET = gql`\n mutation uploadStudentEnrollSpreadsheet(\n $file: Upload!\n ) {\n uploadStudentEnrollSpreadsheet (\n file: $file\n ) {\n filename\n }\n }\n`;\n","import { gql } from \"apollo-boost\";\n\n/* \n * extend type Query {\n * getExamsByFilter\n * : [Exam]\n * }\n */\nexport const GET_EXAM_LIST_BYFILTER = gql`\n query getExamsByFilter($examFilterInput: ExamFilterInput) {\n getExamsByFilter(\n examFilterInput: $examFilterInput\n )\n {\n id\n subjectGroup {\n id\n }\n subject {\n id\n }\n teacher {\n id\n }\n }\n }\n`;\n","import {gql} from 'apollo-boost';\n\nexport const SYSTEM_CONFIG_WESTERN = gql`\n query systemConfigWestern{\n systemConfigWestern {\n id universityName welcomeMessage contactInfo\n fullWelcomePictureMobile\n }\n }\n`;\n\nexport const SYSTEM_CONFIG_NATION = gql`\n query systemConfigNation{\n systemConfigNation {\n id universityName welcomeMessage contactInfo\n fullWelcomePictureMobile\n }\n }\n`;\n\nexport const SYSTEM_CONFIG = gql`\n query systemConfig{\n systemConfig {\n id universityName logoMobile logoTablet logoDesktop\n welcomePictureMobile welcomePictureTablet welcomePictureDesktop welcomeMessage contactInfo\n }\n }\n`;\n\nexport const ADD_SYSTEM_CONFIG = gql`\n mutation addSystemConfig(\n $systemConfigInput: SystemConfigInput,\n ) {\n addSystemConfig(\n systemConfigInput: $systemConfigInput\n ) {\n id universityName logoMobile logoTablet logoDesktop\n welcomePictureMobile welcomePictureTablet welcomePictureDesktop welcomeMessage contactInfo\n }\n }\n`;\n\nexport const UPDATE_SYSTEM_CONFIG = gql`\n mutation updateSystemConfig(\n $id: ID!,\n $systemConfigInput: SystemConfigInput!\n ) {\n updateSystemConfig(\n id: $id\n systemConfigInput: $systemConfigInput\n ) {\n id universityName logoMobile logoTablet logoDesktop\n welcomePictureMobile welcomePictureTablet welcomePictureDesktop welcomeMessage contactInfo\n }\n }\n`;\n\n\n","import {gql} from 'apollo-boost';\n\nexport const GET_LIVECLASSSCHEDULE = gql`\n query getLiveClassSchedule($id : ID!){\n getLiveClassSchedule (\n id: $id\n ) {\n id periodCode degreeCode subjectGroupCode subjectCode subjectName\n teacherCode teacherFullName sectionNo topicLocal topicEng\n dateTimeFrom dateTimeTo liveFrom contract remark externalLink externalPassword\n rtmpServer rtmpStream isEnabled\n academicPeriod { id periodCode }\n degree { id code nameLocal nameEng }\n subjectGroup { id code nameLocal nameEng }\n subject { id code nameLocal nameEng }\n teacher { id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath\n telephone email socialMedia availableTime isSpecialTeacher picturePath label\n }\n courseOutlineRegistration { id }\n classSection { id sectionNo descriptionLocal descriptionEng\n startClassDate learnSpanNo examSpanNo studentRegisterQty\n classRoom{\n id\n nameLocal\n nameEng\n studentRegisterQty\n capacity\n startDate\n endDate\n courseOutlineRegistration{\n id\n courseOutline {\n id courseOutlineUnits{\n id seq nameLocal nameEng\n }\n }\n }\n degree{ id code }\n subjectGroup{ id code}\n classSection{\n id sectionNo descriptionLocal descriptionEng startClassDate\n learnSpanNo examSpanNo studentQty studentRegisterQty\n }\n teacher{\n id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath\n telephone email availableTime socialMedia isSpecialTeacher\n }\n subject{\n id code nameLocal nameEng\n }\n }\n vdoSet{\n id code totalVdoLength\n vdoSetUnits {\n id unitSeq\n vdoSetTopics{\n id vdoStreamPath\n }\n }\n }\n courseOutline{\n id\n courseOutlineUnits{ id }\n }\n }\n courseOutlineUnit { id seq nameLocal nameEng }\n }\n }\n`;\n\nexport const GET_LIVECLASSSCHEDULES_BY_FILTER = gql`\n\n query getLiveClassSchedulesByFilter($liveClassScheduleFilterInput: LiveClassScheduleFilterInput){\n getLiveClassSchedulesByFilter (\n liveClassScheduleFilterInput:$liveClassScheduleFilterInput\n ){\n id periodCode degreeCode subjectGroupCode subjectCode subjectName\n teacherCode teacherFullName sectionNo topicLocal topicEng\n dateTimeFrom dateTimeTo liveFrom contract remark externalLink externalPassword\n rtmpServer rtmpStream isEnabled\n academicPeriod { id periodCode }\n degree { id code nameLocal nameEng }\n subjectGroup { id code nameLocal nameEng }\n subject { id code nameLocal nameEng }\n teacher { id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath }\n courseOutlineRegistration { id }\n classSection { id sectionNo }\n courseOutlineUnit { id seq nameLocal nameEng }\n\n }\n }\n`;\n\nexport const GET_LIVECLASSSCHEDULES_BY_FILTER_FOR_TABLE = gql`\n\n query getLiveClassSchedulesByFilter($liveClassScheduleFilterInput: LiveClassScheduleFilterInput){\n getLiveClassSchedulesByFilter (\n liveClassScheduleFilterInput:$liveClassScheduleFilterInput\n ){\n id periodCode degreeCode subjectGroupCode subjectCode subjectName\n teacherCode teacherFullName sectionNo topicLocal topicEng\n dateTimeFrom dateTimeTo liveFrom contract remark externalLink externalPassword\n rtmpServer rtmpStream isEnabled\n subject { id code nameLocal nameEng }\n teacher { id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath }\n classSection { id sectionNo }\n courseOutlineUnit { id seq nameLocal nameEng }\n\n }\n }\n`;\n\nexport const GET_LIVECLASSSCHEDULES = gql`\n query getLiveClassSchedules {\n getLiveClassSchedules {\n id\n periodCode\n degreeCode\n subjectGroupCode\n subjectCode\n subjectName\n teacherCode\n teacherFullName\n sectionNo\n topicLocal\n topicEng\n dateTimeFrom\n dateTimeTo\n liveFrom\n contract\n remark externalLink externalPassword\n rtmpServer\n rtmpStream\n isEnabled\n academicPeriod {\n id\n periodCode\n }\n degree {\n id\n code\n nameLocal\n nameEng\n }\n subjectGroup {\n id\n code\n nameLocal\n nameEng\n }\n subject {\n id\n code\n nameLocal\n nameEng\n }\n teacher {\n id\n code\n firstNameLocal\n lastNameLocal\n firstNameEng\n lastNameEng\n picturePath\n }\n courseOutlineRegistration {\n id\n }\n classSection {\n id\n sectionNo\n }\n courseOutlineUnit {\n id\n seq\n nameLocal\n nameEng\n }\n }\n }\n`;\n\nexport const GET_LIVECLASSSCHEDULES_CURRENT_USER = gql`\n query getLiveClassSchedulesCurrentUser {\n getLiveClassSchedulesCurrentUser {\n id periodCode degreeCode subjectGroupCode subjectCode subjectName\n teacherCode teacherFullName sectionNo topicLocal topicEng\n dateTimeFrom dateTimeTo liveFrom contract remark externalLink externalPassword\n rtmpServer rtmpStream isEnabled\n academicPeriod { id periodCode }\n degree { id code nameLocal nameEng }\n subjectGroup { id code nameLocal nameEng }\n subject { id code nameLocal nameEng }\n teacher { id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath }\n courseOutlineRegistration { id }\n classSection { id sectionNo learnSpanNo }\n courseOutlineUnit { id seq nameLocal nameEng }\n }\n }\n`;\n\nexport const ADD_LIVECLASSSCHEDULE = gql`\n mutation addLiveClassSchedule(\n $degreeId: ID\n $subjectGroupId: ID\n $subjectId: ID\n $teacherId: ID\n $academicPeriodId: ID\n $courseOutlineRegistrationId: ID\n $classSectionId: ID\n $courseOutlineUnitId: ID\n $liveClassScheduleInput: LiveClassScheduleInput!\n ) {\n addLiveClassSchedule(\n degreeId: $degreeId\n subjectGroupId: $subjectGroupId\n subjectId: $subjectId\n teacherId: $teacherId\n academicPeriodId: $academicPeriodId\n courseOutlineRegistrationId: $courseOutlineRegistrationId\n classSectionId: $classSectionId\n courseOutlineUnitId: $courseOutlineUnitId\n liveClassScheduleInput: $liveClassScheduleInput\n ) {\n id periodCode degreeCode subjectGroupCode subjectCode subjectName\n teacherCode teacherFullName sectionNo topicLocal topicEng\n dateTimeFrom dateTimeTo liveFrom contract remark externalLink externalPassword\n rtmpServer rtmpStream isEnabled\n academicPeriod { id periodCode }\n degree { id code nameLocal nameEng }\n subjectGroup { id code nameLocal nameEng }\n subject { id code nameLocal nameEng }\n teacher { id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath }\n courseOutlineRegistration { id }\n classSection { id sectionNo }\n courseOutlineUnit { id seq nameLocal nameEng }\n }\n }\n`;\n\nexport const UPDATE_LIVECLASSSCHEDULE = gql`\n mutation updateLiveClassSchedule(\n $id: ID!,\n $degreeId: ID\n $subjectGroupId: ID\n $subjectId: ID\n $teacherId: ID\n $academicPeriodId: ID\n $courseOutlineRegistrationId: ID\n $classSectionId: ID\n $courseOutlineUnitId: ID\n $liveClassScheduleInput: LiveClassScheduleInput!\n ) {\n updateLiveClassSchedule(\n id: $id\n degreeId: $degreeId\n subjectGroupId: $subjectGroupId\n subjectId: $subjectId\n teacherId: $teacherId\n academicPeriodId: $academicPeriodId\n courseOutlineRegistrationId: $courseOutlineRegistrationId\n classSectionId: $classSectionId\n courseOutlineUnitId: $courseOutlineUnitId\n liveClassScheduleInput: $liveClassScheduleInput\n ) {\n id periodCode degreeCode subjectGroupCode subjectCode subjectName\n teacherCode teacherFullName sectionNo topicLocal topicEng\n dateTimeFrom dateTimeTo liveFrom contract remark externalLink externalPassword\n rtmpServer rtmpStream isEnabled\n academicPeriod { id periodCode }\n degree { id code nameLocal nameEng }\n subjectGroup { id code nameLocal nameEng }\n subject { id code nameLocal nameEng }\n teacher { id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath }\n courseOutlineRegistration { id }\n classSection { id sectionNo }\n courseOutlineUnit { id seq nameLocal nameEng }\n }\n }\n`;\n\nexport const DELETE_LIVECLASSSCHEDULE = gql`\n mutation deleteLiveClassSchedule($id: ID!) {\n deleteLiveClassSchedule(\n id: $id\n ) {\n id periodCode degreeCode subjectGroupCode subjectCode subjectName\n teacherCode teacherFullName sectionNo topicLocal topicEng\n dateTimeFrom dateTimeTo liveFrom contract remark externalLink externalPassword\n rtmpServer rtmpStream isEnabled\n academicPeriod { id periodCode }\n degree { id code nameLocal nameEng }\n subjectGroup { id code nameLocal nameEng }\n subject { id code nameLocal nameEng }\n teacher { id code firstNameLocal lastNameLocal firstNameEng lastNameEng picturePath }\n courseOutlineRegistration { id }\n classSection { id sectionNo }\n courseOutlineUnit { id seq nameLocal nameEng }\n }\n }\n`;\n\n"],"sourceRoot":""}