@quesmed/types 2.2.50 → 2.2.53

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