@quesmed/types-rn 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.2.49",
3
+ "version": "2.2.52",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -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