@quesmed/types 2.2.71 → 2.2.74

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.
@@ -29,6 +29,7 @@ export interface IPayload {
29
29
  qbankSubscriptionEndDate: number | null;
30
30
  osceSubscriptionEndDate: number | null;
31
31
  bundleSubscriptionEndDate: number | null;
32
+ ver: number;
32
33
  }
33
34
  export interface IDailyProgressInfo {
34
35
  totalCount: number;
@@ -2,7 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.COMPLETED_CARDS = exports.USER_FIELDS = void 0;
4
4
  const client_1 = require("@apollo/client");
5
- const picture_1 = require("./picture");
6
5
  exports.USER_FIELDS = (0, client_1.gql) `
7
6
  fragment UserFields on User {
8
7
  id
@@ -36,7 +35,6 @@ exports.USER_FIELDS = (0, client_1.gql) `
36
35
  }
37
36
  `;
38
37
  exports.COMPLETED_CARDS = (0, client_1.gql) `
39
- ${picture_1.PICTURE_FIELDS}
40
38
  fragment UserCompletedCards on User {
41
39
  completedCards {
42
40
  id
@@ -66,7 +64,20 @@ exports.COMPLETED_CARDS = (0, client_1.gql) `
66
64
  question
67
65
  explanation
68
66
  pictures {
69
- ...PictureFields
67
+ id
68
+ createdAt
69
+ updatedAt
70
+ name
71
+ caption
72
+ path
73
+ path512
74
+ path256
75
+ topicId
76
+ topic {
77
+ id
78
+ name
79
+ typeId
80
+ }
70
81
  }
71
82
  }
72
83
  }
@@ -126,6 +126,7 @@ exports.REMOVE_FROM_DAILY_STACK = (0, client_1.gql) `
126
126
  conceptId: $conceptId
127
127
  ) {
128
128
  id
129
+ cardId
129
130
  concept {
130
131
  id
131
132
  name
@@ -29,6 +29,7 @@ export interface IPayload {
29
29
  qbankSubscriptionEndDate: number | null;
30
30
  osceSubscriptionEndDate: number | null;
31
31
  bundleSubscriptionEndDate: number | null;
32
+ ver: number;
32
33
  }
33
34
  export interface IDailyProgressInfo {
34
35
  totalCount: number;
@@ -1,5 +1,4 @@
1
1
  import { gql } from '@apollo/client';
2
- import { PICTURE_FIELDS } from './picture';
3
2
  export const USER_FIELDS = gql `
4
3
  fragment UserFields on User {
5
4
  id
@@ -33,7 +32,6 @@ export const USER_FIELDS = gql `
33
32
  }
34
33
  `;
35
34
  export const COMPLETED_CARDS = gql `
36
- ${PICTURE_FIELDS}
37
35
  fragment UserCompletedCards on User {
38
36
  completedCards {
39
37
  id
@@ -63,7 +61,20 @@ export const COMPLETED_CARDS = gql `
63
61
  question
64
62
  explanation
65
63
  pictures {
66
- ...PictureFields
64
+ id
65
+ createdAt
66
+ updatedAt
67
+ name
68
+ caption
69
+ path
70
+ path512
71
+ path256
72
+ topicId
73
+ topic {
74
+ id
75
+ name
76
+ typeId
77
+ }
67
78
  }
68
79
  }
69
80
  }
@@ -122,6 +122,7 @@ export const REMOVE_FROM_DAILY_STACK = gql `
122
122
  conceptId: $conceptId
123
123
  ) {
124
124
  id
125
+ cardId
125
126
  concept {
126
127
  id
127
128
  name
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.2.71",
3
+ "version": "2.2.74",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",