@quesmed/types 2.2.49 → 2.2.52

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.
@@ -70,7 +70,7 @@ export declare type IAddFlaggedQuestionData = RestrictedData<graphqlNormalize &
70
70
  */
71
71
  export declare const REMOVE_FLAGGED_QUESTION: import("@apollo/client").DocumentNode;
72
72
  export interface IRemoveFlaggedQuestionVar {
73
- id: Id;
73
+ questionId: Id;
74
74
  }
75
75
  export declare type IRemoveFlaggedQuestionData = RestrictedData<graphqlNormalize & IUserFlaggedQuestion, 'removeFlaggedQuestion'>;
76
76
  /**
@@ -1798,7 +1798,623 @@ exports.ADD_FLAGGED_QUESTION = (0, client_1.gql) `
1798
1798
  mutation AddFlaggedQuestion($markId: Int!, $questionId: Int!) {
1799
1799
  restricted {
1800
1800
  addFlaggedQuestion(markId: $markId, questionId: $questionId) {
1801
- id
1801
+ question {
1802
+ conceptId
1803
+ difficulty
1804
+ dislikes
1805
+ explanation
1806
+ id
1807
+ isLikedByMe
1808
+ likes
1809
+ question
1810
+ totalVotes
1811
+ typeId
1812
+ choices {
1813
+ id
1814
+ explanation
1815
+ name
1816
+ label
1817
+ answer
1818
+ votes
1819
+ picture {
1820
+ id
1821
+ createdAt
1822
+ updatedAt
1823
+ name
1824
+ caption
1825
+ path
1826
+ path512
1827
+ path256
1828
+ }
1829
+ }
1830
+ comments {
1831
+ id
1832
+ createdAt
1833
+ comment
1834
+ likes
1835
+ user {
1836
+ id
1837
+ displayName
1838
+ }
1839
+ dislikes
1840
+ isLikedByMe
1841
+ questionId
1842
+ replies {
1843
+ id
1844
+ createdAt
1845
+ comment
1846
+ user {
1847
+ id
1848
+ displayName
1849
+ }
1850
+ likes
1851
+ dislikes
1852
+ isLikedByMe
1853
+ questionId
1854
+ }
1855
+ }
1856
+ concept {
1857
+ id
1858
+ name
1859
+ chapter {
1860
+ id
1861
+ explanation
1862
+ pictures {
1863
+ id
1864
+ createdAt
1865
+ updatedAt
1866
+ name
1867
+ caption
1868
+ path
1869
+ path512
1870
+ path256
1871
+ topicId
1872
+ topic {
1873
+ id
1874
+ name
1875
+ typeId
1876
+ }
1877
+ }
1878
+ }
1879
+ videos {
1880
+ id
1881
+ title
1882
+ museId
1883
+ startTime
1884
+ endTime
1885
+ thumbnail
1886
+ concepts {
1887
+ id
1888
+ name
1889
+ }
1890
+ live
1891
+ description
1892
+ duration
1893
+ }
1894
+ }
1895
+ pictures {
1896
+ id
1897
+ createdAt
1898
+ updatedAt
1899
+ name
1900
+ caption
1901
+ path
1902
+ path512
1903
+ path256
1904
+ topicId
1905
+ topic {
1906
+ id
1907
+ name
1908
+ typeId
1909
+ }
1910
+ }
1911
+ }
1912
+ mark {
1913
+ flagged
1914
+ questionChoiceId
1915
+ timeTaken
1916
+ index
1917
+ id
1918
+ mark
1919
+ question {
1920
+ ... on QuestionSBA {
1921
+ conceptId
1922
+ difficulty
1923
+ dislikes
1924
+ explanation
1925
+ id
1926
+ isLikedByMe
1927
+ likes
1928
+ question
1929
+ totalVotes
1930
+ typeId
1931
+ choices {
1932
+ id
1933
+ explanation
1934
+ name
1935
+ label
1936
+ answer
1937
+ votes
1938
+ picture {
1939
+ id
1940
+ createdAt
1941
+ updatedAt
1942
+ name
1943
+ caption
1944
+ path
1945
+ path512
1946
+ path256
1947
+ }
1948
+ }
1949
+ comments {
1950
+ id
1951
+ createdAt
1952
+ comment
1953
+ likes
1954
+ user {
1955
+ id
1956
+ displayName
1957
+ }
1958
+ dislikes
1959
+ isLikedByMe
1960
+ questionId
1961
+ replies {
1962
+ id
1963
+ createdAt
1964
+ comment
1965
+ user {
1966
+ id
1967
+ displayName
1968
+ }
1969
+ likes
1970
+ dislikes
1971
+ isLikedByMe
1972
+ questionId
1973
+ }
1974
+ }
1975
+ concept {
1976
+ id
1977
+ name
1978
+ chapter {
1979
+ id
1980
+ explanation
1981
+ pictures {
1982
+ id
1983
+ createdAt
1984
+ updatedAt
1985
+ name
1986
+ caption
1987
+ path
1988
+ path512
1989
+ path256
1990
+ topicId
1991
+ topic {
1992
+ id
1993
+ name
1994
+ typeId
1995
+ }
1996
+ }
1997
+ }
1998
+ videos {
1999
+ id
2000
+ title
2001
+ museId
2002
+ startTime
2003
+ endTime
2004
+ thumbnail
2005
+ concepts {
2006
+ id
2007
+ name
2008
+ }
2009
+ live
2010
+ description
2011
+ duration
2012
+ }
2013
+ }
2014
+ pictures {
2015
+ id
2016
+ createdAt
2017
+ updatedAt
2018
+ name
2019
+ caption
2020
+ path
2021
+ path512
2022
+ path256
2023
+ topicId
2024
+ topic {
2025
+ id
2026
+ name
2027
+ typeId
2028
+ }
2029
+ }
2030
+ difficulty
2031
+ psaSectionId
2032
+ likes
2033
+ dislikes
2034
+ isLikedByMe
2035
+ sbaAnswer: answer
2036
+ }
2037
+ ... on QuestionQA {
2038
+ conceptId
2039
+ difficulty
2040
+ dislikes
2041
+ explanation
2042
+ id
2043
+ isLikedByMe
2044
+ likes
2045
+ question
2046
+ totalVotes
2047
+ typeId
2048
+ choices {
2049
+ id
2050
+ explanation
2051
+ name
2052
+ label
2053
+ answer
2054
+ votes
2055
+ picture {
2056
+ id
2057
+ createdAt
2058
+ updatedAt
2059
+ name
2060
+ caption
2061
+ path
2062
+ path512
2063
+ path256
2064
+ }
2065
+ }
2066
+ comments {
2067
+ id
2068
+ createdAt
2069
+ comment
2070
+ likes
2071
+ user {
2072
+ id
2073
+ displayName
2074
+ }
2075
+ dislikes
2076
+ isLikedByMe
2077
+ questionId
2078
+ replies {
2079
+ id
2080
+ createdAt
2081
+ comment
2082
+ user {
2083
+ id
2084
+ displayName
2085
+ }
2086
+ likes
2087
+ dislikes
2088
+ isLikedByMe
2089
+ questionId
2090
+ }
2091
+ }
2092
+ concept {
2093
+ id
2094
+ name
2095
+ chapter {
2096
+ id
2097
+ explanation
2098
+ pictures {
2099
+ id
2100
+ createdAt
2101
+ updatedAt
2102
+ name
2103
+ caption
2104
+ path
2105
+ path512
2106
+ path256
2107
+ topicId
2108
+ topic {
2109
+ id
2110
+ name
2111
+ typeId
2112
+ }
2113
+ }
2114
+ }
2115
+ videos {
2116
+ id
2117
+ title
2118
+ museId
2119
+ startTime
2120
+ endTime
2121
+ thumbnail
2122
+ concepts {
2123
+ id
2124
+ name
2125
+ }
2126
+ live
2127
+ description
2128
+ duration
2129
+ }
2130
+ }
2131
+ pictures {
2132
+ id
2133
+ createdAt
2134
+ updatedAt
2135
+ name
2136
+ caption
2137
+ path
2138
+ path512
2139
+ path256
2140
+ topicId
2141
+ topic {
2142
+ id
2143
+ name
2144
+ typeId
2145
+ }
2146
+ }
2147
+ difficulty
2148
+ psaSectionId
2149
+ likes
2150
+ dislikes
2151
+ isLikedByMe
2152
+ qaAnswer: answer {
2153
+ dose
2154
+ units
2155
+ }
2156
+ }
2157
+ ... on QuestionMultiA {
2158
+ conceptId
2159
+ difficulty
2160
+ dislikes
2161
+ explanation
2162
+ id
2163
+ isLikedByMe
2164
+ likes
2165
+ question
2166
+ totalVotes
2167
+ typeId
2168
+ choices {
2169
+ id
2170
+ explanation
2171
+ name
2172
+ label
2173
+ answer
2174
+ votes
2175
+ picture {
2176
+ id
2177
+ createdAt
2178
+ updatedAt
2179
+ name
2180
+ caption
2181
+ path
2182
+ path512
2183
+ path256
2184
+ }
2185
+ }
2186
+ comments {
2187
+ id
2188
+ createdAt
2189
+ comment
2190
+ likes
2191
+ user {
2192
+ id
2193
+ displayName
2194
+ }
2195
+ dislikes
2196
+ isLikedByMe
2197
+ questionId
2198
+ replies {
2199
+ id
2200
+ createdAt
2201
+ comment
2202
+ user {
2203
+ id
2204
+ displayName
2205
+ }
2206
+ likes
2207
+ dislikes
2208
+ isLikedByMe
2209
+ questionId
2210
+ }
2211
+ }
2212
+ concept {
2213
+ id
2214
+ name
2215
+ chapter {
2216
+ id
2217
+ explanation
2218
+ pictures {
2219
+ id
2220
+ createdAt
2221
+ updatedAt
2222
+ name
2223
+ caption
2224
+ path
2225
+ path512
2226
+ path256
2227
+ topicId
2228
+ topic {
2229
+ id
2230
+ name
2231
+ typeId
2232
+ }
2233
+ }
2234
+ }
2235
+ videos {
2236
+ id
2237
+ title
2238
+ museId
2239
+ startTime
2240
+ endTime
2241
+ thumbnail
2242
+ concepts {
2243
+ id
2244
+ name
2245
+ }
2246
+ live
2247
+ description
2248
+ duration
2249
+ }
2250
+ }
2251
+ pictures {
2252
+ id
2253
+ createdAt
2254
+ updatedAt
2255
+ name
2256
+ caption
2257
+ path
2258
+ path512
2259
+ path256
2260
+ topicId
2261
+ topic {
2262
+ id
2263
+ name
2264
+ typeId
2265
+ }
2266
+ }
2267
+ difficulty
2268
+ psaSectionId
2269
+ likes
2270
+ dislikes
2271
+ isLikedByMe
2272
+ multiAnswer: answer
2273
+ }
2274
+ ... on QuestionPrescription {
2275
+ conceptId
2276
+ difficulty
2277
+ dislikes
2278
+ explanation
2279
+ id
2280
+ isLikedByMe
2281
+ likes
2282
+ question
2283
+ totalVotes
2284
+ typeId
2285
+ choices {
2286
+ id
2287
+ explanation
2288
+ name
2289
+ label
2290
+ answer
2291
+ votes
2292
+ picture {
2293
+ id
2294
+ createdAt
2295
+ updatedAt
2296
+ name
2297
+ caption
2298
+ path
2299
+ path512
2300
+ path256
2301
+ }
2302
+ }
2303
+ comments {
2304
+ id
2305
+ createdAt
2306
+ comment
2307
+ likes
2308
+ user {
2309
+ id
2310
+ displayName
2311
+ }
2312
+ dislikes
2313
+ isLikedByMe
2314
+ questionId
2315
+ replies {
2316
+ id
2317
+ createdAt
2318
+ comment
2319
+ user {
2320
+ id
2321
+ displayName
2322
+ }
2323
+ likes
2324
+ dislikes
2325
+ isLikedByMe
2326
+ questionId
2327
+ }
2328
+ }
2329
+ concept {
2330
+ id
2331
+ name
2332
+ chapter {
2333
+ id
2334
+ explanation
2335
+ pictures {
2336
+ id
2337
+ createdAt
2338
+ updatedAt
2339
+ name
2340
+ caption
2341
+ path
2342
+ path512
2343
+ path256
2344
+ topicId
2345
+ topic {
2346
+ id
2347
+ name
2348
+ typeId
2349
+ }
2350
+ }
2351
+ }
2352
+ videos {
2353
+ id
2354
+ title
2355
+ museId
2356
+ startTime
2357
+ endTime
2358
+ thumbnail
2359
+ concepts {
2360
+ id
2361
+ name
2362
+ }
2363
+ live
2364
+ description
2365
+ duration
2366
+ }
2367
+ }
2368
+ pictures {
2369
+ id
2370
+ createdAt
2371
+ updatedAt
2372
+ name
2373
+ caption
2374
+ path
2375
+ path512
2376
+ path256
2377
+ topicId
2378
+ topic {
2379
+ id
2380
+ name
2381
+ typeId
2382
+ }
2383
+ }
2384
+ difficulty
2385
+ psaSectionId
2386
+ likes
2387
+ dislikes
2388
+ isLikedByMe
2389
+ prescribeAnswer: answer {
2390
+ dose {
2391
+ value
2392
+ display
2393
+ }
2394
+ drug {
2395
+ value
2396
+ display
2397
+ }
2398
+ route {
2399
+ value
2400
+ display
2401
+ }
2402
+ frequency {
2403
+ display
2404
+ value
2405
+ }
2406
+ duration {
2407
+ display
2408
+ value
2409
+ }
2410
+ units {
2411
+ display
2412
+ value
2413
+ }
2414
+ }
2415
+ }
2416
+ }
2417
+ }
1802
2418
  }
1803
2419
  }
1804
2420
  }
@@ -1807,9 +2423,9 @@ exports.ADD_FLAGGED_QUESTION = (0, client_1.gql) `
1807
2423
  * removeFlaggedQuestion
1808
2424
  */
1809
2425
  exports.REMOVE_FLAGGED_QUESTION = (0, client_1.gql) `
1810
- mutation RemoveFlaggedQuestion($id: Int!) {
2426
+ mutation RemoveFlaggedQuestion($questionId: Int!) {
1811
2427
  restricted {
1812
- removeFlaggedQuestion(id: $id) {
2428
+ removeFlaggedQuestion(questionId: $questionId) {
1813
2429
  id
1814
2430
  }
1815
2431
  }
@@ -95,6 +95,7 @@ exports.ADD_TO_DAILY_STACK = (0, client_1.gql) `
95
95
  score
96
96
  iteration
97
97
  optimalFactor
98
+ cardId
98
99
  card {
99
100
  id
100
101
  conceptId
@@ -666,6 +666,10 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
666
666
  concept {
667
667
  id
668
668
  name
669
+ topic {
670
+ name
671
+ typeId
672
+ }
669
673
  chapter {
670
674
  id
671
675
  explanation
@@ -67,16 +67,3 @@ exports.USER_COMPLETED_DATA = (0, client_1.gql) `
67
67
  }
68
68
  }
69
69
  `;
70
- // id: Int
71
- // createdAt: Date
72
- // updatedAt: Date
73
- // deletedAt: Date
74
- // cardId: Int
75
- // card: Card
76
- // userId: Int
77
- // concept: Concept
78
- // lastSeen: Date
79
- // reviewDate: Date
80
- // score: Float
81
- // iteration: Int
82
- // optimalFactor: Float
@@ -70,7 +70,7 @@ export declare type IAddFlaggedQuestionData = RestrictedData<graphqlNormalize &
70
70
  */
71
71
  export declare const REMOVE_FLAGGED_QUESTION: import("@apollo/client").DocumentNode;
72
72
  export interface IRemoveFlaggedQuestionVar {
73
- id: Id;
73
+ questionId: Id;
74
74
  }
75
75
  export declare type IRemoveFlaggedQuestionData = RestrictedData<graphqlNormalize & IUserFlaggedQuestion, 'removeFlaggedQuestion'>;
76
76
  /**
@@ -1793,7 +1793,623 @@ export const ADD_FLAGGED_QUESTION = gql `
1793
1793
  mutation AddFlaggedQuestion($markId: Int!, $questionId: Int!) {
1794
1794
  restricted {
1795
1795
  addFlaggedQuestion(markId: $markId, questionId: $questionId) {
1796
- id
1796
+ question {
1797
+ conceptId
1798
+ difficulty
1799
+ dislikes
1800
+ explanation
1801
+ id
1802
+ isLikedByMe
1803
+ likes
1804
+ question
1805
+ totalVotes
1806
+ typeId
1807
+ choices {
1808
+ id
1809
+ explanation
1810
+ name
1811
+ label
1812
+ answer
1813
+ votes
1814
+ picture {
1815
+ id
1816
+ createdAt
1817
+ updatedAt
1818
+ name
1819
+ caption
1820
+ path
1821
+ path512
1822
+ path256
1823
+ }
1824
+ }
1825
+ comments {
1826
+ id
1827
+ createdAt
1828
+ comment
1829
+ likes
1830
+ user {
1831
+ id
1832
+ displayName
1833
+ }
1834
+ dislikes
1835
+ isLikedByMe
1836
+ questionId
1837
+ replies {
1838
+ id
1839
+ createdAt
1840
+ comment
1841
+ user {
1842
+ id
1843
+ displayName
1844
+ }
1845
+ likes
1846
+ dislikes
1847
+ isLikedByMe
1848
+ questionId
1849
+ }
1850
+ }
1851
+ concept {
1852
+ id
1853
+ name
1854
+ chapter {
1855
+ id
1856
+ explanation
1857
+ pictures {
1858
+ id
1859
+ createdAt
1860
+ updatedAt
1861
+ name
1862
+ caption
1863
+ path
1864
+ path512
1865
+ path256
1866
+ topicId
1867
+ topic {
1868
+ id
1869
+ name
1870
+ typeId
1871
+ }
1872
+ }
1873
+ }
1874
+ videos {
1875
+ id
1876
+ title
1877
+ museId
1878
+ startTime
1879
+ endTime
1880
+ thumbnail
1881
+ concepts {
1882
+ id
1883
+ name
1884
+ }
1885
+ live
1886
+ description
1887
+ duration
1888
+ }
1889
+ }
1890
+ pictures {
1891
+ id
1892
+ createdAt
1893
+ updatedAt
1894
+ name
1895
+ caption
1896
+ path
1897
+ path512
1898
+ path256
1899
+ topicId
1900
+ topic {
1901
+ id
1902
+ name
1903
+ typeId
1904
+ }
1905
+ }
1906
+ }
1907
+ mark {
1908
+ flagged
1909
+ questionChoiceId
1910
+ timeTaken
1911
+ index
1912
+ id
1913
+ mark
1914
+ question {
1915
+ ... on QuestionSBA {
1916
+ conceptId
1917
+ difficulty
1918
+ dislikes
1919
+ explanation
1920
+ id
1921
+ isLikedByMe
1922
+ likes
1923
+ question
1924
+ totalVotes
1925
+ typeId
1926
+ choices {
1927
+ id
1928
+ explanation
1929
+ name
1930
+ label
1931
+ answer
1932
+ votes
1933
+ picture {
1934
+ id
1935
+ createdAt
1936
+ updatedAt
1937
+ name
1938
+ caption
1939
+ path
1940
+ path512
1941
+ path256
1942
+ }
1943
+ }
1944
+ comments {
1945
+ id
1946
+ createdAt
1947
+ comment
1948
+ likes
1949
+ user {
1950
+ id
1951
+ displayName
1952
+ }
1953
+ dislikes
1954
+ isLikedByMe
1955
+ questionId
1956
+ replies {
1957
+ id
1958
+ createdAt
1959
+ comment
1960
+ user {
1961
+ id
1962
+ displayName
1963
+ }
1964
+ likes
1965
+ dislikes
1966
+ isLikedByMe
1967
+ questionId
1968
+ }
1969
+ }
1970
+ concept {
1971
+ id
1972
+ name
1973
+ chapter {
1974
+ id
1975
+ explanation
1976
+ pictures {
1977
+ id
1978
+ createdAt
1979
+ updatedAt
1980
+ name
1981
+ caption
1982
+ path
1983
+ path512
1984
+ path256
1985
+ topicId
1986
+ topic {
1987
+ id
1988
+ name
1989
+ typeId
1990
+ }
1991
+ }
1992
+ }
1993
+ videos {
1994
+ id
1995
+ title
1996
+ museId
1997
+ startTime
1998
+ endTime
1999
+ thumbnail
2000
+ concepts {
2001
+ id
2002
+ name
2003
+ }
2004
+ live
2005
+ description
2006
+ duration
2007
+ }
2008
+ }
2009
+ pictures {
2010
+ id
2011
+ createdAt
2012
+ updatedAt
2013
+ name
2014
+ caption
2015
+ path
2016
+ path512
2017
+ path256
2018
+ topicId
2019
+ topic {
2020
+ id
2021
+ name
2022
+ typeId
2023
+ }
2024
+ }
2025
+ difficulty
2026
+ psaSectionId
2027
+ likes
2028
+ dislikes
2029
+ isLikedByMe
2030
+ sbaAnswer: answer
2031
+ }
2032
+ ... on QuestionQA {
2033
+ conceptId
2034
+ difficulty
2035
+ dislikes
2036
+ explanation
2037
+ id
2038
+ isLikedByMe
2039
+ likes
2040
+ question
2041
+ totalVotes
2042
+ typeId
2043
+ choices {
2044
+ id
2045
+ explanation
2046
+ name
2047
+ label
2048
+ answer
2049
+ votes
2050
+ picture {
2051
+ id
2052
+ createdAt
2053
+ updatedAt
2054
+ name
2055
+ caption
2056
+ path
2057
+ path512
2058
+ path256
2059
+ }
2060
+ }
2061
+ comments {
2062
+ id
2063
+ createdAt
2064
+ comment
2065
+ likes
2066
+ user {
2067
+ id
2068
+ displayName
2069
+ }
2070
+ dislikes
2071
+ isLikedByMe
2072
+ questionId
2073
+ replies {
2074
+ id
2075
+ createdAt
2076
+ comment
2077
+ user {
2078
+ id
2079
+ displayName
2080
+ }
2081
+ likes
2082
+ dislikes
2083
+ isLikedByMe
2084
+ questionId
2085
+ }
2086
+ }
2087
+ concept {
2088
+ id
2089
+ name
2090
+ chapter {
2091
+ id
2092
+ explanation
2093
+ pictures {
2094
+ id
2095
+ createdAt
2096
+ updatedAt
2097
+ name
2098
+ caption
2099
+ path
2100
+ path512
2101
+ path256
2102
+ topicId
2103
+ topic {
2104
+ id
2105
+ name
2106
+ typeId
2107
+ }
2108
+ }
2109
+ }
2110
+ videos {
2111
+ id
2112
+ title
2113
+ museId
2114
+ startTime
2115
+ endTime
2116
+ thumbnail
2117
+ concepts {
2118
+ id
2119
+ name
2120
+ }
2121
+ live
2122
+ description
2123
+ duration
2124
+ }
2125
+ }
2126
+ pictures {
2127
+ id
2128
+ createdAt
2129
+ updatedAt
2130
+ name
2131
+ caption
2132
+ path
2133
+ path512
2134
+ path256
2135
+ topicId
2136
+ topic {
2137
+ id
2138
+ name
2139
+ typeId
2140
+ }
2141
+ }
2142
+ difficulty
2143
+ psaSectionId
2144
+ likes
2145
+ dislikes
2146
+ isLikedByMe
2147
+ qaAnswer: answer {
2148
+ dose
2149
+ units
2150
+ }
2151
+ }
2152
+ ... on QuestionMultiA {
2153
+ conceptId
2154
+ difficulty
2155
+ dislikes
2156
+ explanation
2157
+ id
2158
+ isLikedByMe
2159
+ likes
2160
+ question
2161
+ totalVotes
2162
+ typeId
2163
+ choices {
2164
+ id
2165
+ explanation
2166
+ name
2167
+ label
2168
+ answer
2169
+ votes
2170
+ picture {
2171
+ id
2172
+ createdAt
2173
+ updatedAt
2174
+ name
2175
+ caption
2176
+ path
2177
+ path512
2178
+ path256
2179
+ }
2180
+ }
2181
+ comments {
2182
+ id
2183
+ createdAt
2184
+ comment
2185
+ likes
2186
+ user {
2187
+ id
2188
+ displayName
2189
+ }
2190
+ dislikes
2191
+ isLikedByMe
2192
+ questionId
2193
+ replies {
2194
+ id
2195
+ createdAt
2196
+ comment
2197
+ user {
2198
+ id
2199
+ displayName
2200
+ }
2201
+ likes
2202
+ dislikes
2203
+ isLikedByMe
2204
+ questionId
2205
+ }
2206
+ }
2207
+ concept {
2208
+ id
2209
+ name
2210
+ chapter {
2211
+ id
2212
+ explanation
2213
+ pictures {
2214
+ id
2215
+ createdAt
2216
+ updatedAt
2217
+ name
2218
+ caption
2219
+ path
2220
+ path512
2221
+ path256
2222
+ topicId
2223
+ topic {
2224
+ id
2225
+ name
2226
+ typeId
2227
+ }
2228
+ }
2229
+ }
2230
+ videos {
2231
+ id
2232
+ title
2233
+ museId
2234
+ startTime
2235
+ endTime
2236
+ thumbnail
2237
+ concepts {
2238
+ id
2239
+ name
2240
+ }
2241
+ live
2242
+ description
2243
+ duration
2244
+ }
2245
+ }
2246
+ pictures {
2247
+ id
2248
+ createdAt
2249
+ updatedAt
2250
+ name
2251
+ caption
2252
+ path
2253
+ path512
2254
+ path256
2255
+ topicId
2256
+ topic {
2257
+ id
2258
+ name
2259
+ typeId
2260
+ }
2261
+ }
2262
+ difficulty
2263
+ psaSectionId
2264
+ likes
2265
+ dislikes
2266
+ isLikedByMe
2267
+ multiAnswer: answer
2268
+ }
2269
+ ... on QuestionPrescription {
2270
+ conceptId
2271
+ difficulty
2272
+ dislikes
2273
+ explanation
2274
+ id
2275
+ isLikedByMe
2276
+ likes
2277
+ question
2278
+ totalVotes
2279
+ typeId
2280
+ choices {
2281
+ id
2282
+ explanation
2283
+ name
2284
+ label
2285
+ answer
2286
+ votes
2287
+ picture {
2288
+ id
2289
+ createdAt
2290
+ updatedAt
2291
+ name
2292
+ caption
2293
+ path
2294
+ path512
2295
+ path256
2296
+ }
2297
+ }
2298
+ comments {
2299
+ id
2300
+ createdAt
2301
+ comment
2302
+ likes
2303
+ user {
2304
+ id
2305
+ displayName
2306
+ }
2307
+ dislikes
2308
+ isLikedByMe
2309
+ questionId
2310
+ replies {
2311
+ id
2312
+ createdAt
2313
+ comment
2314
+ user {
2315
+ id
2316
+ displayName
2317
+ }
2318
+ likes
2319
+ dislikes
2320
+ isLikedByMe
2321
+ questionId
2322
+ }
2323
+ }
2324
+ concept {
2325
+ id
2326
+ name
2327
+ chapter {
2328
+ id
2329
+ explanation
2330
+ pictures {
2331
+ id
2332
+ createdAt
2333
+ updatedAt
2334
+ name
2335
+ caption
2336
+ path
2337
+ path512
2338
+ path256
2339
+ topicId
2340
+ topic {
2341
+ id
2342
+ name
2343
+ typeId
2344
+ }
2345
+ }
2346
+ }
2347
+ videos {
2348
+ id
2349
+ title
2350
+ museId
2351
+ startTime
2352
+ endTime
2353
+ thumbnail
2354
+ concepts {
2355
+ id
2356
+ name
2357
+ }
2358
+ live
2359
+ description
2360
+ duration
2361
+ }
2362
+ }
2363
+ pictures {
2364
+ id
2365
+ createdAt
2366
+ updatedAt
2367
+ name
2368
+ caption
2369
+ path
2370
+ path512
2371
+ path256
2372
+ topicId
2373
+ topic {
2374
+ id
2375
+ name
2376
+ typeId
2377
+ }
2378
+ }
2379
+ difficulty
2380
+ psaSectionId
2381
+ likes
2382
+ dislikes
2383
+ isLikedByMe
2384
+ prescribeAnswer: answer {
2385
+ dose {
2386
+ value
2387
+ display
2388
+ }
2389
+ drug {
2390
+ value
2391
+ display
2392
+ }
2393
+ route {
2394
+ value
2395
+ display
2396
+ }
2397
+ frequency {
2398
+ display
2399
+ value
2400
+ }
2401
+ duration {
2402
+ display
2403
+ value
2404
+ }
2405
+ units {
2406
+ display
2407
+ value
2408
+ }
2409
+ }
2410
+ }
2411
+ }
2412
+ }
1797
2413
  }
1798
2414
  }
1799
2415
  }
@@ -1802,9 +2418,9 @@ export const ADD_FLAGGED_QUESTION = gql `
1802
2418
  * removeFlaggedQuestion
1803
2419
  */
1804
2420
  export const REMOVE_FLAGGED_QUESTION = gql `
1805
- mutation RemoveFlaggedQuestion($id: Int!) {
2421
+ mutation RemoveFlaggedQuestion($questionId: Int!) {
1806
2422
  restricted {
1807
- removeFlaggedQuestion(id: $id) {
2423
+ removeFlaggedQuestion(questionId: $questionId) {
1808
2424
  id
1809
2425
  }
1810
2426
  }
@@ -91,6 +91,7 @@ export const ADD_TO_DAILY_STACK = gql `
91
91
  score
92
92
  iteration
93
93
  optimalFactor
94
+ cardId
94
95
  card {
95
96
  id
96
97
  conceptId
@@ -663,6 +663,10 @@ export const FLAGGED_QUESTIONS = gql `
663
663
  concept {
664
664
  id
665
665
  name
666
+ topic {
667
+ name
668
+ typeId
669
+ }
666
670
  chapter {
667
671
  id
668
672
  explanation
@@ -64,16 +64,3 @@ export const USER_COMPLETED_DATA = gql `
64
64
  }
65
65
  }
66
66
  `;
67
- // id: Int
68
- // createdAt: Date
69
- // updatedAt: Date
70
- // deletedAt: Date
71
- // cardId: Int
72
- // card: Card
73
- // userId: Int
74
- // concept: Concept
75
- // lastSeen: Date
76
- // reviewDate: Date
77
- // score: Float
78
- // iteration: Int
79
- // optimalFactor: Float
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.2.49",
3
+ "version": "2.2.52",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",