@quesmed/types-rn 2.2.52 → 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.2.52",
3
+ "version": "2.2.53",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -34,8 +34,17 @@ export declare const LATEST_PAST_MARKSHEET_ID: import("@apollo/client").Document
34
34
  export declare type ILatestAgoraIdVar = null;
35
35
  export declare type ILatestAgoraIdData = RestrictedData<string, 'latestAgoraId'>;
36
36
  export declare const LATEST_PAST_AGORA_ID: import("@apollo/client").DocumentNode;
37
- export declare type IFlaggedQuestionsVar = null;
38
- export declare type IFlaggedQuestionsData = RestrictedData<(graphqlNormalize & IUserFlaggedQuestion)[], 'flaggedQuestions'>;
37
+ export interface IFlaggedQuestionsVar {
38
+ filter: {
39
+ limit: number;
40
+ offset: number;
41
+ };
42
+ }
43
+ export declare type IFlaggedQuestionDataResults = (graphqlNormalize & IUserFlaggedQuestion)[];
44
+ export declare type IFlaggedQuestionsData = RestrictedData<graphqlNormalize & {
45
+ results: IFlaggedQuestionDataResults;
46
+ total: number;
47
+ }, 'flaggedQuestions'>;
39
48
  export declare const FLAGGED_QUESTIONS: import("@apollo/client").DocumentNode;
40
49
  /**
41
50
  * flaggedQuestionMarksheet
@@ -605,151 +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
- topic {
670
- name
671
- typeId
672
- }
673
- chapter {
674
- id
675
- explanation
676
- pictures {
654
+ replies {
677
655
  id
678
656
  createdAt
679
- updatedAt
680
- name
681
- caption
682
- path
683
- path512
684
- path256
685
- topicId
686
- topic {
657
+ comment
658
+ user {
687
659
  id
688
- name
689
- typeId
660
+ displayName
690
661
  }
662
+ likes
663
+ dislikes
664
+ isLikedByMe
665
+ questionId
691
666
  }
692
667
  }
693
- videos {
668
+ concept {
694
669
  id
695
- title
696
- museId
697
- startTime
698
- endTime
699
- thumbnail
700
- concepts {
701
- id
670
+ name
671
+ topic {
702
672
  name
673
+ typeId
703
674
  }
704
- live
705
- description
706
- duration
707
- }
708
- }
709
- pictures {
710
- id
711
- createdAt
712
- updatedAt
713
- name
714
- caption
715
- path
716
- path512
717
- path256
718
- topicId
719
- topic {
720
- id
721
- name
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 {
675
+ chapter {
746
676
  id
747
677
  explanation
748
- name
749
- label
750
- answer
751
- votes
752
- picture {
678
+ pictures {
753
679
  id
754
680
  createdAt
755
681
  updatedAt
@@ -758,41 +684,74 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
758
684
  path
759
685
  path512
760
686
  path256
687
+ topicId
688
+ topic {
689
+ id
690
+ name
691
+ typeId
692
+ }
761
693
  }
762
694
  }
763
- comments {
695
+ videos {
764
696
  id
765
- createdAt
766
- comment
767
- likes
768
- user {
769
- id
770
- displayName
771
- }
772
- dislikes
773
- isLikedByMe
774
- questionId
775
- replies {
697
+ title
698
+ museId
699
+ startTime
700
+ endTime
701
+ thumbnail
702
+ concepts {
776
703
  id
777
- createdAt
778
- comment
779
- user {
780
- id
781
- displayName
782
- }
783
- likes
784
- dislikes
785
- isLikedByMe
786
- questionId
704
+ name
787
705
  }
706
+ live
707
+ description
708
+ duration
788
709
  }
789
- concept {
710
+ }
711
+ pictures {
712
+ id
713
+ createdAt
714
+ updatedAt
715
+ name
716
+ caption
717
+ path
718
+ path512
719
+ path256
720
+ topicId
721
+ topic {
790
722
  id
791
723
  name
792
- 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 {
793
748
  id
794
749
  explanation
795
- pictures {
750
+ name
751
+ label
752
+ answer
753
+ votes
754
+ picture {
796
755
  id
797
756
  createdAt
798
757
  updatedAt
@@ -801,72 +760,74 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
801
760
  path
802
761
  path512
803
762
  path256
804
- topicId
805
- topic {
806
- id
807
- name
808
- typeId
809
- }
810
763
  }
811
764
  }
812
- videos {
765
+ comments {
813
766
  id
814
- title
815
- museId
816
- startTime
817
- endTime
818
- thumbnail
819
- concepts {
767
+ createdAt
768
+ comment
769
+ likes
770
+ user {
820
771
  id
821
- 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
822
789
  }
823
- live
824
- description
825
- duration
826
790
  }
827
- }
828
- pictures {
829
- id
830
- createdAt
831
- updatedAt
832
- name
833
- caption
834
- path
835
- path512
836
- path256
837
- topicId
838
- topic {
791
+ concept {
839
792
  id
840
793
  name
841
- 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
+ }
842
829
  }
843
- }
844
- difficulty
845
- psaSectionId
846
- likes
847
- dislikes
848
- isLikedByMe
849
- sbaAnswer: answer
850
- }
851
- ... on QuestionQA {
852
- conceptId
853
- difficulty
854
- dislikes
855
- explanation
856
- id
857
- isLikedByMe
858
- likes
859
- question
860
- totalVotes
861
- typeId
862
- choices {
863
- id
864
- explanation
865
- name
866
- label
867
- answer
868
- votes
869
- picture {
830
+ pictures {
870
831
  id
871
832
  createdAt
872
833
  updatedAt
@@ -875,118 +836,115 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
875
836
  path
876
837
  path512
877
838
  path256
839
+ topicId
840
+ topic {
841
+ id
842
+ name
843
+ typeId
844
+ }
878
845
  }
846
+ difficulty
847
+ psaSectionId
848
+ likes
849
+ dislikes
850
+ isLikedByMe
851
+ sbaAnswer: answer
879
852
  }
880
- comments {
853
+ ... on QuestionQA {
854
+ conceptId
855
+ difficulty
856
+ dislikes
857
+ explanation
881
858
  id
882
- createdAt
883
- comment
859
+ isLikedByMe
884
860
  likes
885
- user {
861
+ question
862
+ totalVotes
863
+ typeId
864
+ choices {
886
865
  id
887
- 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
+ }
888
881
  }
889
- dislikes
890
- isLikedByMe
891
- questionId
892
- replies {
882
+ comments {
893
883
  id
894
884
  createdAt
895
885
  comment
886
+ likes
896
887
  user {
897
888
  id
898
889
  displayName
899
890
  }
900
- likes
901
891
  dislikes
902
892
  isLikedByMe
903
893
  questionId
904
- }
905
- }
906
- concept {
907
- id
908
- name
909
- chapter {
910
- id
911
- explanation
912
- pictures {
894
+ replies {
913
895
  id
914
896
  createdAt
915
- updatedAt
916
- name
917
- caption
918
- path
919
- path512
920
- path256
921
- topicId
922
- topic {
897
+ comment
898
+ user {
923
899
  id
924
- name
925
- typeId
900
+ displayName
926
901
  }
902
+ likes
903
+ dislikes
904
+ isLikedByMe
905
+ questionId
927
906
  }
928
907
  }
929
- videos {
908
+ concept {
930
909
  id
931
- title
932
- museId
933
- startTime
934
- endTime
935
- thumbnail
936
- concepts {
910
+ name
911
+ chapter {
937
912
  id
938
- name
913
+ explanation
914
+ pictures {
915
+ id
916
+ createdAt
917
+ updatedAt
918
+ name
919
+ caption
920
+ path
921
+ path512
922
+ path256
923
+ topicId
924
+ topic {
925
+ id
926
+ name
927
+ typeId
928
+ }
929
+ }
930
+ }
931
+ videos {
932
+ id
933
+ title
934
+ museId
935
+ startTime
936
+ endTime
937
+ thumbnail
938
+ concepts {
939
+ id
940
+ name
941
+ }
942
+ live
943
+ description
944
+ duration
939
945
  }
940
- live
941
- description
942
- duration
943
- }
944
- }
945
- pictures {
946
- id
947
- createdAt
948
- updatedAt
949
- name
950
- caption
951
- path
952
- path512
953
- path256
954
- topicId
955
- topic {
956
- id
957
- name
958
- typeId
959
946
  }
960
- }
961
- difficulty
962
- psaSectionId
963
- likes
964
- dislikes
965
- isLikedByMe
966
- qaAnswer: answer {
967
- dose
968
- units
969
- }
970
- }
971
- ... on QuestionMultiA {
972
- conceptId
973
- difficulty
974
- dislikes
975
- explanation
976
- id
977
- isLikedByMe
978
- likes
979
- question
980
- totalVotes
981
- typeId
982
- choices {
983
- id
984
- explanation
985
- name
986
- label
987
- answer
988
- votes
989
- picture {
947
+ pictures {
990
948
  id
991
949
  createdAt
992
950
  updatedAt
@@ -995,41 +953,42 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
995
953
  path
996
954
  path512
997
955
  path256
956
+ topicId
957
+ topic {
958
+ id
959
+ name
960
+ typeId
961
+ }
998
962
  }
999
- }
1000
- comments {
1001
- id
1002
- createdAt
1003
- comment
963
+ difficulty
964
+ psaSectionId
1004
965
  likes
1005
- user {
1006
- id
1007
- displayName
1008
- }
1009
966
  dislikes
1010
967
  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
968
+ qaAnswer: answer {
969
+ dose
970
+ units
1024
971
  }
1025
972
  }
1026
- concept {
973
+ ... on QuestionMultiA {
974
+ conceptId
975
+ difficulty
976
+ dislikes
977
+ explanation
1027
978
  id
1028
- name
1029
- chapter {
979
+ isLikedByMe
980
+ likes
981
+ question
982
+ totalVotes
983
+ typeId
984
+ choices {
1030
985
  id
1031
986
  explanation
1032
- pictures {
987
+ name
988
+ label
989
+ answer
990
+ votes
991
+ picture {
1033
992
  id
1034
993
  createdAt
1035
994
  updatedAt
@@ -1038,72 +997,74 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
1038
997
  path
1039
998
  path512
1040
999
  path256
1041
- topicId
1042
- topic {
1043
- id
1044
- name
1045
- typeId
1046
- }
1047
1000
  }
1048
1001
  }
1049
- videos {
1002
+ comments {
1050
1003
  id
1051
- title
1052
- museId
1053
- startTime
1054
- endTime
1055
- thumbnail
1056
- concepts {
1004
+ createdAt
1005
+ comment
1006
+ likes
1007
+ user {
1057
1008
  id
1058
- 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
1059
1026
  }
1060
- live
1061
- description
1062
- duration
1063
1027
  }
1064
- }
1065
- pictures {
1066
- id
1067
- createdAt
1068
- updatedAt
1069
- name
1070
- caption
1071
- path
1072
- path512
1073
- path256
1074
- topicId
1075
- topic {
1028
+ concept {
1076
1029
  id
1077
1030
  name
1078
- 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
+ }
1079
1066
  }
1080
- }
1081
- difficulty
1082
- psaSectionId
1083
- likes
1084
- dislikes
1085
- isLikedByMe
1086
- multiAnswer: answer
1087
- }
1088
- ... on QuestionPrescription {
1089
- conceptId
1090
- difficulty
1091
- dislikes
1092
- explanation
1093
- id
1094
- isLikedByMe
1095
- likes
1096
- question
1097
- totalVotes
1098
- typeId
1099
- choices {
1100
- id
1101
- explanation
1102
- name
1103
- label
1104
- answer
1105
- votes
1106
- picture {
1067
+ pictures {
1107
1068
  id
1108
1069
  createdAt
1109
1070
  updatedAt
@@ -1112,118 +1073,160 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
1112
1073
  path
1113
1074
  path512
1114
1075
  path256
1076
+ topicId
1077
+ topic {
1078
+ id
1079
+ name
1080
+ typeId
1081
+ }
1115
1082
  }
1083
+ difficulty
1084
+ psaSectionId
1085
+ likes
1086
+ dislikes
1087
+ isLikedByMe
1088
+ multiAnswer: answer
1116
1089
  }
1117
- comments {
1090
+ ... on QuestionPrescription {
1091
+ conceptId
1092
+ difficulty
1093
+ dislikes
1094
+ explanation
1118
1095
  id
1119
- createdAt
1120
- comment
1096
+ isLikedByMe
1121
1097
  likes
1122
- user {
1098
+ question
1099
+ totalVotes
1100
+ typeId
1101
+ choices {
1123
1102
  id
1124
- 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
+ }
1125
1118
  }
1126
- dislikes
1127
- isLikedByMe
1128
- questionId
1129
- replies {
1119
+ comments {
1130
1120
  id
1131
1121
  createdAt
1132
1122
  comment
1123
+ likes
1133
1124
  user {
1134
1125
  id
1135
1126
  displayName
1136
1127
  }
1137
- likes
1138
1128
  dislikes
1139
1129
  isLikedByMe
1140
1130
  questionId
1141
- }
1142
- }
1143
- concept {
1144
- id
1145
- name
1146
- chapter {
1147
- id
1148
- explanation
1149
- pictures {
1131
+ replies {
1150
1132
  id
1151
1133
  createdAt
1152
- updatedAt
1153
- name
1154
- caption
1155
- path
1156
- path512
1157
- path256
1158
- topicId
1159
- topic {
1134
+ comment
1135
+ user {
1160
1136
  id
1161
- name
1162
- typeId
1137
+ displayName
1163
1138
  }
1139
+ likes
1140
+ dislikes
1141
+ isLikedByMe
1142
+ questionId
1164
1143
  }
1165
1144
  }
1166
- videos {
1145
+ concept {
1167
1146
  id
1168
- title
1169
- museId
1170
- startTime
1171
- endTime
1172
- thumbnail
1173
- concepts {
1147
+ name
1148
+ chapter {
1174
1149
  id
1175
- 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
1176
1182
  }
1177
- live
1178
- description
1179
- duration
1180
1183
  }
1181
- }
1182
- pictures {
1183
- id
1184
- createdAt
1185
- updatedAt
1186
- name
1187
- caption
1188
- path
1189
- path512
1190
- path256
1191
- topicId
1192
- topic {
1184
+ pictures {
1193
1185
  id
1186
+ createdAt
1187
+ updatedAt
1194
1188
  name
1195
- typeId
1196
- }
1197
- }
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
1189
+ caption
1190
+ path
1191
+ path512
1192
+ path256
1193
+ topicId
1194
+ topic {
1195
+ id
1196
+ name
1197
+ typeId
1198
+ }
1223
1199
  }
1224
- units {
1225
- display
1226
- 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
+ }
1227
1230
  }
1228
1231
  }
1229
1232
  }