@quesmed/types 2.2.71 → 2.2.72

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