@quesmed/types-rn 2.1.17 → 2.1.20

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.
@@ -12,4 +12,12 @@ export interface IConcept {
12
12
  chapterId: Id;
13
13
  chapter?: IChapter;
14
14
  videos?: IVideo[];
15
+ totalQuestions?: number | null;
16
+ correctQuestions?: number | null;
17
+ incorrectQuestions?: number | null;
18
+ totalCards?: number | null;
19
+ greenCards?: number | null;
20
+ yellowCards?: number | null;
21
+ redCards?: number | null;
22
+ dailyFeedCards?: number | null;
15
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.1.17",
3
+ "version": "2.1.20",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -40,6 +40,8 @@ exports.TOPICS = (0, client_1.gql) `
40
40
  id
41
41
  name
42
42
  topicId
43
+ totalQuestions
44
+ totalCards
43
45
  }
44
46
  }
45
47
  }
@@ -2,7 +2,7 @@ import { EVideoFilter, Id, IVideo } from '../../../models';
2
2
  import { graphqlNormalize, RestrictedData } from '../../types';
3
3
  import { EPlatformId } from './../../../index';
4
4
  export interface IVideoVar {
5
- videoId: Id;
5
+ id: Id;
6
6
  }
7
7
  export declare type IVideoData = RestrictedData<graphqlNormalize & IVideo, 'video'>;
8
8
  export declare const VIDEO: import("@apollo/client").DocumentNode;
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VIDEOS = exports.VIDEO = void 0;
4
4
  const client_1 = require("@apollo/client");
5
5
  exports.VIDEO = (0, client_1.gql) `
6
- query Video($videoId: Int!) {
6
+ query Video($id: Int!) {
7
7
  restricted {
8
- video(id: $videoId) {
8
+ video(id: $id) {
9
9
  id
10
10
  title
11
11
  museId
@@ -44,8 +44,8 @@ exports.SAMPLE_VIDEOS = (0, client_1.gql) `
44
44
  }
45
45
  `;
46
46
  exports.SAMPLE_VIDEO = (0, client_1.gql) `
47
- query SampleVideo($videoId: Int!) {
48
- video(id: $videoId) {
47
+ query SampleVideo($id: Int!) {
48
+ video(id: $id) {
49
49
  id
50
50
  title
51
51
  museId