@quesmed/types 2.2.52 → 2.2.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,6 +7,7 @@ export const MARKSHEET = gql `
7
7
  topicConceptData
8
8
  currentMarkId
9
9
  completed
10
+ timeTaken
10
11
  topicIds
11
12
  topicNames
12
13
  mockTestId
@@ -602,151 +603,77 @@ export const LATEST_PAST_AGORA_ID = gql `
602
603
  }
603
604
  `;
604
605
  export const FLAGGED_QUESTIONS = gql `
605
- query FlaggedQuestions {
606
+ query FlaggedQuestions($filter: FlaggedQuestionInput!) {
606
607
  restricted {
607
- flaggedQuestions {
608
- question {
609
- conceptId
610
- difficulty
611
- dislikes
612
- explanation
613
- id
614
- isLikedByMe
615
- likes
616
- question
617
- totalVotes
618
- typeId
619
- choices {
620
- id
608
+ flaggedQuestions(filter: $filter) {
609
+ total
610
+ results {
611
+ question {
612
+ conceptId
613
+ difficulty
614
+ dislikes
621
615
  explanation
622
- name
623
- label
624
- answer
625
- votes
626
- picture {
627
- id
628
- createdAt
629
- updatedAt
630
- name
631
- caption
632
- path
633
- path512
634
- path256
635
- }
636
- }
637
- comments {
638
616
  id
639
- createdAt
640
- comment
617
+ isLikedByMe
641
618
  likes
642
- user {
619
+ question
620
+ totalVotes
621
+ typeId
622
+ choices {
643
623
  id
644
- displayName
624
+ explanation
625
+ name
626
+ label
627
+ answer
628
+ votes
629
+ picture {
630
+ id
631
+ createdAt
632
+ updatedAt
633
+ name
634
+ caption
635
+ path
636
+ path512
637
+ path256
638
+ }
645
639
  }
646
- dislikes
647
- isLikedByMe
648
- questionId
649
- replies {
640
+ comments {
650
641
  id
651
642
  createdAt
652
643
  comment
644
+ likes
653
645
  user {
654
646
  id
655
647
  displayName
656
648
  }
657
- likes
658
649
  dislikes
659
650
  isLikedByMe
660
651
  questionId
661
- }
662
- }
663
- concept {
664
- id
665
- name
666
- topic {
667
- name
668
- typeId
669
- }
670
- chapter {
671
- id
672
- explanation
673
- pictures {
652
+ replies {
674
653
  id
675
654
  createdAt
676
- updatedAt
677
- name
678
- caption
679
- path
680
- path512
681
- path256
682
- topicId
683
- topic {
655
+ comment
656
+ user {
684
657
  id
685
- name
686
- typeId
658
+ displayName
687
659
  }
660
+ likes
661
+ dislikes
662
+ isLikedByMe
663
+ questionId
688
664
  }
689
665
  }
690
- videos {
666
+ concept {
691
667
  id
692
- title
693
- museId
694
- startTime
695
- endTime
696
- thumbnail
697
- concepts {
698
- id
668
+ name
669
+ topic {
699
670
  name
671
+ typeId
700
672
  }
701
- live
702
- description
703
- duration
704
- }
705
- }
706
- pictures {
707
- id
708
- createdAt
709
- updatedAt
710
- name
711
- caption
712
- path
713
- path512
714
- path256
715
- topicId
716
- topic {
717
- id
718
- name
719
- typeId
720
- }
721
- }
722
- }
723
- mark {
724
- flagged
725
- questionChoiceId
726
- timeTaken
727
- index
728
- id
729
- mark
730
- question {
731
- ... on QuestionSBA {
732
- conceptId
733
- difficulty
734
- dislikes
735
- explanation
736
- id
737
- isLikedByMe
738
- likes
739
- question
740
- totalVotes
741
- typeId
742
- choices {
673
+ chapter {
743
674
  id
744
675
  explanation
745
- name
746
- label
747
- answer
748
- votes
749
- picture {
676
+ pictures {
750
677
  id
751
678
  createdAt
752
679
  updatedAt
@@ -755,41 +682,74 @@ export const FLAGGED_QUESTIONS = gql `
755
682
  path
756
683
  path512
757
684
  path256
685
+ topicId
686
+ topic {
687
+ id
688
+ name
689
+ typeId
690
+ }
758
691
  }
759
692
  }
760
- comments {
693
+ videos {
761
694
  id
762
- createdAt
763
- comment
764
- likes
765
- user {
766
- id
767
- displayName
768
- }
769
- dislikes
770
- isLikedByMe
771
- questionId
772
- replies {
695
+ title
696
+ museId
697
+ startTime
698
+ endTime
699
+ thumbnail
700
+ concepts {
773
701
  id
774
- createdAt
775
- comment
776
- user {
777
- id
778
- displayName
779
- }
780
- likes
781
- dislikes
782
- isLikedByMe
783
- questionId
702
+ name
784
703
  }
704
+ live
705
+ description
706
+ duration
785
707
  }
786
- concept {
708
+ }
709
+ pictures {
710
+ id
711
+ createdAt
712
+ updatedAt
713
+ name
714
+ caption
715
+ path
716
+ path512
717
+ path256
718
+ topicId
719
+ topic {
787
720
  id
788
721
  name
789
- chapter {
722
+ typeId
723
+ }
724
+ }
725
+ }
726
+ mark {
727
+ flagged
728
+ questionChoiceId
729
+ timeTaken
730
+ index
731
+ id
732
+ mark
733
+ question {
734
+ ... on QuestionSBA {
735
+ conceptId
736
+ difficulty
737
+ dislikes
738
+ explanation
739
+ id
740
+ isLikedByMe
741
+ likes
742
+ question
743
+ totalVotes
744
+ typeId
745
+ choices {
790
746
  id
791
747
  explanation
792
- pictures {
748
+ name
749
+ label
750
+ answer
751
+ votes
752
+ picture {
793
753
  id
794
754
  createdAt
795
755
  updatedAt
@@ -798,72 +758,74 @@ export const FLAGGED_QUESTIONS = gql `
798
758
  path
799
759
  path512
800
760
  path256
801
- topicId
802
- topic {
803
- id
804
- name
805
- typeId
806
- }
807
761
  }
808
762
  }
809
- videos {
763
+ comments {
810
764
  id
811
- title
812
- museId
813
- startTime
814
- endTime
815
- thumbnail
816
- concepts {
765
+ createdAt
766
+ comment
767
+ likes
768
+ user {
817
769
  id
818
- name
770
+ displayName
771
+ }
772
+ dislikes
773
+ isLikedByMe
774
+ questionId
775
+ replies {
776
+ id
777
+ createdAt
778
+ comment
779
+ user {
780
+ id
781
+ displayName
782
+ }
783
+ likes
784
+ dislikes
785
+ isLikedByMe
786
+ questionId
819
787
  }
820
- live
821
- description
822
- duration
823
788
  }
824
- }
825
- pictures {
826
- id
827
- createdAt
828
- updatedAt
829
- name
830
- caption
831
- path
832
- path512
833
- path256
834
- topicId
835
- topic {
789
+ concept {
836
790
  id
837
791
  name
838
- typeId
792
+ chapter {
793
+ id
794
+ explanation
795
+ pictures {
796
+ id
797
+ createdAt
798
+ updatedAt
799
+ name
800
+ caption
801
+ path
802
+ path512
803
+ path256
804
+ topicId
805
+ topic {
806
+ id
807
+ name
808
+ typeId
809
+ }
810
+ }
811
+ }
812
+ videos {
813
+ id
814
+ title
815
+ museId
816
+ startTime
817
+ endTime
818
+ thumbnail
819
+ concepts {
820
+ id
821
+ name
822
+ }
823
+ live
824
+ description
825
+ duration
826
+ }
839
827
  }
840
- }
841
- difficulty
842
- psaSectionId
843
- likes
844
- dislikes
845
- isLikedByMe
846
- sbaAnswer: answer
847
- }
848
- ... on QuestionQA {
849
- conceptId
850
- difficulty
851
- dislikes
852
- explanation
853
- id
854
- isLikedByMe
855
- likes
856
- question
857
- totalVotes
858
- typeId
859
- choices {
860
- id
861
- explanation
862
- name
863
- label
864
- answer
865
- votes
866
- picture {
828
+ pictures {
867
829
  id
868
830
  createdAt
869
831
  updatedAt
@@ -872,118 +834,115 @@ export const FLAGGED_QUESTIONS = gql `
872
834
  path
873
835
  path512
874
836
  path256
837
+ topicId
838
+ topic {
839
+ id
840
+ name
841
+ typeId
842
+ }
875
843
  }
844
+ difficulty
845
+ psaSectionId
846
+ likes
847
+ dislikes
848
+ isLikedByMe
849
+ sbaAnswer: answer
876
850
  }
877
- comments {
851
+ ... on QuestionQA {
852
+ conceptId
853
+ difficulty
854
+ dislikes
855
+ explanation
878
856
  id
879
- createdAt
880
- comment
857
+ isLikedByMe
881
858
  likes
882
- user {
859
+ question
860
+ totalVotes
861
+ typeId
862
+ choices {
883
863
  id
884
- displayName
864
+ explanation
865
+ name
866
+ label
867
+ answer
868
+ votes
869
+ picture {
870
+ id
871
+ createdAt
872
+ updatedAt
873
+ name
874
+ caption
875
+ path
876
+ path512
877
+ path256
878
+ }
885
879
  }
886
- dislikes
887
- isLikedByMe
888
- questionId
889
- replies {
880
+ comments {
890
881
  id
891
882
  createdAt
892
883
  comment
884
+ likes
893
885
  user {
894
886
  id
895
887
  displayName
896
888
  }
897
- likes
898
889
  dislikes
899
890
  isLikedByMe
900
891
  questionId
901
- }
902
- }
903
- concept {
904
- id
905
- name
906
- chapter {
907
- id
908
- explanation
909
- pictures {
892
+ replies {
910
893
  id
911
894
  createdAt
912
- updatedAt
913
- name
914
- caption
915
- path
916
- path512
917
- path256
918
- topicId
919
- topic {
895
+ comment
896
+ user {
920
897
  id
921
- name
922
- typeId
898
+ displayName
923
899
  }
900
+ likes
901
+ dislikes
902
+ isLikedByMe
903
+ questionId
924
904
  }
925
905
  }
926
- videos {
906
+ concept {
927
907
  id
928
- title
929
- museId
930
- startTime
931
- endTime
932
- thumbnail
933
- concepts {
908
+ name
909
+ chapter {
934
910
  id
935
- name
911
+ explanation
912
+ pictures {
913
+ id
914
+ createdAt
915
+ updatedAt
916
+ name
917
+ caption
918
+ path
919
+ path512
920
+ path256
921
+ topicId
922
+ topic {
923
+ id
924
+ name
925
+ typeId
926
+ }
927
+ }
928
+ }
929
+ videos {
930
+ id
931
+ title
932
+ museId
933
+ startTime
934
+ endTime
935
+ thumbnail
936
+ concepts {
937
+ id
938
+ name
939
+ }
940
+ live
941
+ description
942
+ duration
936
943
  }
937
- live
938
- description
939
- duration
940
- }
941
- }
942
- pictures {
943
- id
944
- createdAt
945
- updatedAt
946
- name
947
- caption
948
- path
949
- path512
950
- path256
951
- topicId
952
- topic {
953
- id
954
- name
955
- typeId
956
944
  }
957
- }
958
- difficulty
959
- psaSectionId
960
- likes
961
- dislikes
962
- isLikedByMe
963
- qaAnswer: answer {
964
- dose
965
- units
966
- }
967
- }
968
- ... on QuestionMultiA {
969
- conceptId
970
- difficulty
971
- dislikes
972
- explanation
973
- id
974
- isLikedByMe
975
- likes
976
- question
977
- totalVotes
978
- typeId
979
- choices {
980
- id
981
- explanation
982
- name
983
- label
984
- answer
985
- votes
986
- picture {
945
+ pictures {
987
946
  id
988
947
  createdAt
989
948
  updatedAt
@@ -992,41 +951,42 @@ export const FLAGGED_QUESTIONS = gql `
992
951
  path
993
952
  path512
994
953
  path256
954
+ topicId
955
+ topic {
956
+ id
957
+ name
958
+ typeId
959
+ }
995
960
  }
996
- }
997
- comments {
998
- id
999
- createdAt
1000
- comment
961
+ difficulty
962
+ psaSectionId
1001
963
  likes
1002
- user {
1003
- id
1004
- displayName
1005
- }
1006
964
  dislikes
1007
965
  isLikedByMe
1008
- questionId
1009
- replies {
1010
- id
1011
- createdAt
1012
- comment
1013
- user {
1014
- id
1015
- displayName
1016
- }
1017
- likes
1018
- dislikes
1019
- isLikedByMe
1020
- questionId
966
+ qaAnswer: answer {
967
+ dose
968
+ units
1021
969
  }
1022
970
  }
1023
- concept {
971
+ ... on QuestionMultiA {
972
+ conceptId
973
+ difficulty
974
+ dislikes
975
+ explanation
1024
976
  id
1025
- name
1026
- chapter {
977
+ isLikedByMe
978
+ likes
979
+ question
980
+ totalVotes
981
+ typeId
982
+ choices {
1027
983
  id
1028
984
  explanation
1029
- pictures {
985
+ name
986
+ label
987
+ answer
988
+ votes
989
+ picture {
1030
990
  id
1031
991
  createdAt
1032
992
  updatedAt
@@ -1035,72 +995,74 @@ export const FLAGGED_QUESTIONS = gql `
1035
995
  path
1036
996
  path512
1037
997
  path256
1038
- topicId
1039
- topic {
1040
- id
1041
- name
1042
- typeId
1043
- }
1044
998
  }
1045
999
  }
1046
- videos {
1000
+ comments {
1047
1001
  id
1048
- title
1049
- museId
1050
- startTime
1051
- endTime
1052
- thumbnail
1053
- concepts {
1002
+ createdAt
1003
+ comment
1004
+ likes
1005
+ user {
1054
1006
  id
1055
- name
1007
+ displayName
1008
+ }
1009
+ dislikes
1010
+ isLikedByMe
1011
+ questionId
1012
+ replies {
1013
+ id
1014
+ createdAt
1015
+ comment
1016
+ user {
1017
+ id
1018
+ displayName
1019
+ }
1020
+ likes
1021
+ dislikes
1022
+ isLikedByMe
1023
+ questionId
1056
1024
  }
1057
- live
1058
- description
1059
- duration
1060
1025
  }
1061
- }
1062
- pictures {
1063
- id
1064
- createdAt
1065
- updatedAt
1066
- name
1067
- caption
1068
- path
1069
- path512
1070
- path256
1071
- topicId
1072
- topic {
1026
+ concept {
1073
1027
  id
1074
1028
  name
1075
- typeId
1029
+ chapter {
1030
+ id
1031
+ explanation
1032
+ pictures {
1033
+ id
1034
+ createdAt
1035
+ updatedAt
1036
+ name
1037
+ caption
1038
+ path
1039
+ path512
1040
+ path256
1041
+ topicId
1042
+ topic {
1043
+ id
1044
+ name
1045
+ typeId
1046
+ }
1047
+ }
1048
+ }
1049
+ videos {
1050
+ id
1051
+ title
1052
+ museId
1053
+ startTime
1054
+ endTime
1055
+ thumbnail
1056
+ concepts {
1057
+ id
1058
+ name
1059
+ }
1060
+ live
1061
+ description
1062
+ duration
1063
+ }
1076
1064
  }
1077
- }
1078
- difficulty
1079
- psaSectionId
1080
- likes
1081
- dislikes
1082
- isLikedByMe
1083
- multiAnswer: answer
1084
- }
1085
- ... on QuestionPrescription {
1086
- conceptId
1087
- difficulty
1088
- dislikes
1089
- explanation
1090
- id
1091
- isLikedByMe
1092
- likes
1093
- question
1094
- totalVotes
1095
- typeId
1096
- choices {
1097
- id
1098
- explanation
1099
- name
1100
- label
1101
- answer
1102
- votes
1103
- picture {
1065
+ pictures {
1104
1066
  id
1105
1067
  createdAt
1106
1068
  updatedAt
@@ -1109,118 +1071,160 @@ export const FLAGGED_QUESTIONS = gql `
1109
1071
  path
1110
1072
  path512
1111
1073
  path256
1074
+ topicId
1075
+ topic {
1076
+ id
1077
+ name
1078
+ typeId
1079
+ }
1112
1080
  }
1081
+ difficulty
1082
+ psaSectionId
1083
+ likes
1084
+ dislikes
1085
+ isLikedByMe
1086
+ multiAnswer: answer
1113
1087
  }
1114
- comments {
1088
+ ... on QuestionPrescription {
1089
+ conceptId
1090
+ difficulty
1091
+ dislikes
1092
+ explanation
1115
1093
  id
1116
- createdAt
1117
- comment
1094
+ isLikedByMe
1118
1095
  likes
1119
- user {
1096
+ question
1097
+ totalVotes
1098
+ typeId
1099
+ choices {
1120
1100
  id
1121
- displayName
1101
+ explanation
1102
+ name
1103
+ label
1104
+ answer
1105
+ votes
1106
+ picture {
1107
+ id
1108
+ createdAt
1109
+ updatedAt
1110
+ name
1111
+ caption
1112
+ path
1113
+ path512
1114
+ path256
1115
+ }
1122
1116
  }
1123
- dislikes
1124
- isLikedByMe
1125
- questionId
1126
- replies {
1117
+ comments {
1127
1118
  id
1128
1119
  createdAt
1129
1120
  comment
1121
+ likes
1130
1122
  user {
1131
1123
  id
1132
1124
  displayName
1133
1125
  }
1134
- likes
1135
1126
  dislikes
1136
1127
  isLikedByMe
1137
1128
  questionId
1138
- }
1139
- }
1140
- concept {
1141
- id
1142
- name
1143
- chapter {
1144
- id
1145
- explanation
1146
- pictures {
1129
+ replies {
1147
1130
  id
1148
1131
  createdAt
1149
- updatedAt
1150
- name
1151
- caption
1152
- path
1153
- path512
1154
- path256
1155
- topicId
1156
- topic {
1132
+ comment
1133
+ user {
1157
1134
  id
1158
- name
1159
- typeId
1135
+ displayName
1160
1136
  }
1137
+ likes
1138
+ dislikes
1139
+ isLikedByMe
1140
+ questionId
1161
1141
  }
1162
1142
  }
1163
- videos {
1143
+ concept {
1164
1144
  id
1165
- title
1166
- museId
1167
- startTime
1168
- endTime
1169
- thumbnail
1170
- concepts {
1145
+ name
1146
+ chapter {
1171
1147
  id
1172
- name
1148
+ explanation
1149
+ pictures {
1150
+ id
1151
+ createdAt
1152
+ updatedAt
1153
+ name
1154
+ caption
1155
+ path
1156
+ path512
1157
+ path256
1158
+ topicId
1159
+ topic {
1160
+ id
1161
+ name
1162
+ typeId
1163
+ }
1164
+ }
1165
+ }
1166
+ videos {
1167
+ id
1168
+ title
1169
+ museId
1170
+ startTime
1171
+ endTime
1172
+ thumbnail
1173
+ concepts {
1174
+ id
1175
+ name
1176
+ }
1177
+ live
1178
+ description
1179
+ duration
1173
1180
  }
1174
- live
1175
- description
1176
- duration
1177
1181
  }
1178
- }
1179
- pictures {
1180
- id
1181
- createdAt
1182
- updatedAt
1183
- name
1184
- caption
1185
- path
1186
- path512
1187
- path256
1188
- topicId
1189
- topic {
1182
+ pictures {
1190
1183
  id
1184
+ createdAt
1185
+ updatedAt
1191
1186
  name
1192
- typeId
1193
- }
1194
- }
1195
- difficulty
1196
- psaSectionId
1197
- likes
1198
- dislikes
1199
- isLikedByMe
1200
- prescribeAnswer: answer {
1201
- dose {
1202
- value
1203
- display
1204
- }
1205
- drug {
1206
- value
1207
- display
1208
- }
1209
- route {
1210
- value
1211
- display
1212
- }
1213
- frequency {
1214
- display
1215
- value
1216
- }
1217
- duration {
1218
- display
1219
- value
1187
+ caption
1188
+ path
1189
+ path512
1190
+ path256
1191
+ topicId
1192
+ topic {
1193
+ id
1194
+ name
1195
+ typeId
1196
+ }
1220
1197
  }
1221
- units {
1222
- display
1223
- value
1198
+ difficulty
1199
+ psaSectionId
1200
+ likes
1201
+ dislikes
1202
+ isLikedByMe
1203
+ prescribeAnswer: answer {
1204
+ dose {
1205
+ value
1206
+ display
1207
+ }
1208
+ drug {
1209
+ value
1210
+ display
1211
+ }
1212
+ route {
1213
+ value
1214
+ display
1215
+ }
1216
+ frequency {
1217
+ display
1218
+ value
1219
+ }
1220
+ duration {
1221
+ display
1222
+ value
1223
+ }
1224
+ units {
1225
+ display
1226
+ value
1227
+ }
1224
1228
  }
1225
1229
  }
1226
1230
  }