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