@quesmed/types-rn 2.5.62 → 2.5.63

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.5.62",
3
+ "version": "2.5.63",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -9,3 +9,8 @@ export interface IPresetsVar {
9
9
  }
10
10
  export type IPresetsData = RestrictedData<IPreset[], 'presets'>;
11
11
  export declare const PRESETS: import("@apollo/client").DocumentNode;
12
+ export interface IPresetVar {
13
+ id: Id;
14
+ }
15
+ export type IPresetData = RestrictedData<IPreset, 'preset'>;
16
+ export declare const PRESET: import("@apollo/client").DocumentNode;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PRESETS = void 0;
3
+ exports.PRESET = exports.PRESETS = void 0;
4
4
  const client_1 = require("@apollo/client");
5
5
  exports.PRESETS = (0, client_1.gql) `
6
6
  query Presets(
@@ -45,3 +45,34 @@ exports.PRESETS = (0, client_1.gql) `
45
45
  }
46
46
  }
47
47
  `;
48
+ exports.PRESET = (0, client_1.gql) `
49
+ query Preset($id: Int) {
50
+ restricted {
51
+ presets(id: $id) {
52
+ id
53
+ createdAt
54
+ updatedAt
55
+ name
56
+ likes
57
+ topicType
58
+ total
59
+ correct
60
+ incorrect
61
+ userId
62
+ university {
63
+ id
64
+ name
65
+ country
66
+ }
67
+ topics {
68
+ id
69
+ name
70
+ concepts {
71
+ id
72
+ name
73
+ }
74
+ }
75
+ }
76
+ }
77
+ }
78
+ `;