@quesmed/types 2.1.18 → 2.1.21

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.
@@ -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
@@ -76,6 +76,7 @@ exports.SAMPLE_TODO = (0, client_1.gql) `
76
76
  card {
77
77
  id
78
78
  question
79
+ explanation
79
80
  concept {
80
81
  name
81
82
  chapter {
@@ -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
@@ -37,6 +37,8 @@ export const TOPICS = gql `
37
37
  id
38
38
  name
39
39
  topicId
40
+ totalQuestions
41
+ totalCards
40
42
  }
41
43
  }
42
44
  }
@@ -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;
@@ -1,8 +1,8 @@
1
1
  import { gql } from '@apollo/client';
2
2
  export const VIDEO = gql `
3
- query Video($videoId: Int!) {
3
+ query Video($id: Int!) {
4
4
  restricted {
5
- video(id: $videoId) {
5
+ video(id: $id) {
6
6
  id
7
7
  title
8
8
  museId
@@ -73,6 +73,7 @@ export const SAMPLE_TODO = gql `
73
73
  card {
74
74
  id
75
75
  question
76
+ explanation
76
77
  concept {
77
78
  name
78
79
  chapter {
@@ -41,8 +41,8 @@ export const SAMPLE_VIDEOS = gql `
41
41
  }
42
42
  `;
43
43
  export const SAMPLE_VIDEO = gql `
44
- query SampleVideo($videoId: Int!) {
45
- video(id: $videoId) {
44
+ query SampleVideo($id: Int!) {
45
+ video(id: $id) {
46
46
  id
47
47
  title
48
48
  museId
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.1.18",
3
+ "version": "2.1.21",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",