@quesmed/types 2.2.44 → 2.2.45

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.
@@ -13,6 +13,13 @@ exports.DASHBOARD_QBANK = (0, client_1.gql) `
13
13
  completedQuestionsCount
14
14
  completedCorrectQuestionsCount
15
15
  completedIncorrectQuestionsCount
16
+ completedCards {
17
+ id
18
+ conceptId
19
+ concept {
20
+ id
21
+ }
22
+ }
16
23
  completedCardsCount
17
24
  completedGreenCardsCount
18
25
  completedYellowCardsCount
@@ -4,3 +4,4 @@ export declare type IUserVar = null;
4
4
  export declare type IUserData = RestrictedData<graphqlNormalize & IUser, 'user'>;
5
5
  export declare const USER: import("@apollo/client").DocumentNode;
6
6
  export declare const REFERRALS: import("@apollo/client").DocumentNode;
7
+ export declare const USER_COMPLETED_DATA: import("@apollo/client").DocumentNode;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.REFERRALS = exports.USER = void 0;
3
+ exports.USER_COMPLETED_DATA = exports.REFERRALS = exports.USER = void 0;
4
4
  const client_1 = require("@apollo/client");
5
5
  const user_1 = require("../../fragments/user");
6
6
  exports.USER = (0, client_1.gql) `
@@ -24,3 +24,21 @@ exports.REFERRALS = (0, client_1.gql) `
24
24
  }
25
25
  }
26
26
  `;
27
+ exports.USER_COMPLETED_DATA = (0, client_1.gql) `
28
+ query CompletedQuestionCards {
29
+ restricted {
30
+ user {
31
+ id
32
+ displayName
33
+ completedCards {
34
+ id
35
+ conceptId
36
+ concept {
37
+ id
38
+ }
39
+ }
40
+ completedCardsCount
41
+ }
42
+ }
43
+ }
44
+ `;
@@ -10,6 +10,13 @@ export const DASHBOARD_QBANK = gql `
10
10
  completedQuestionsCount
11
11
  completedCorrectQuestionsCount
12
12
  completedIncorrectQuestionsCount
13
+ completedCards {
14
+ id
15
+ conceptId
16
+ concept {
17
+ id
18
+ }
19
+ }
13
20
  completedCardsCount
14
21
  completedGreenCardsCount
15
22
  completedYellowCardsCount
@@ -4,3 +4,4 @@ export declare type IUserVar = null;
4
4
  export declare type IUserData = RestrictedData<graphqlNormalize & IUser, 'user'>;
5
5
  export declare const USER: import("@apollo/client").DocumentNode;
6
6
  export declare const REFERRALS: import("@apollo/client").DocumentNode;
7
+ export declare const USER_COMPLETED_DATA: import("@apollo/client").DocumentNode;
@@ -21,3 +21,21 @@ export const REFERRALS = gql `
21
21
  }
22
22
  }
23
23
  `;
24
+ export const USER_COMPLETED_DATA = gql `
25
+ query CompletedQuestionCards {
26
+ restricted {
27
+ user {
28
+ id
29
+ displayName
30
+ completedCards {
31
+ id
32
+ conceptId
33
+ concept {
34
+ id
35
+ }
36
+ }
37
+ completedCardsCount
38
+ }
39
+ }
40
+ }
41
+ `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.2.44",
3
+ "version": "2.2.45",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",