@quesmed/types 2.2.51 → 2.2.54

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