@quesmed/types-rn 2.5.71 → 2.5.73

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.
@@ -7,7 +7,8 @@ export declare enum EMockTestType {
7
7
  PSA = 2,
8
8
  MISCELLANEOUS = 3,
9
9
  UNIVERSITY_SPECIFIC = 4,
10
- ANATOMY_SPOTTER = 5
10
+ ANATOMY_SPOTTER = 5,
11
+ UKMLA = 6
11
12
  }
12
13
  export interface IMockTestType {
13
14
  id: EMockTestType;
@@ -9,4 +9,5 @@ var EMockTestType;
9
9
  EMockTestType[EMockTestType["MISCELLANEOUS"] = 3] = "MISCELLANEOUS";
10
10
  EMockTestType[EMockTestType["UNIVERSITY_SPECIFIC"] = 4] = "UNIVERSITY_SPECIFIC";
11
11
  EMockTestType[EMockTestType["ANATOMY_SPOTTER"] = 5] = "ANATOMY_SPOTTER";
12
+ EMockTestType[EMockTestType["UKMLA"] = 6] = "UKMLA";
12
13
  })(EMockTestType = exports.EMockTestType || (exports.EMockTestType = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.5.71",
3
+ "version": "2.5.73",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -21,7 +21,7 @@ exports.USER_FIELDS = (0, client_1.gql) `
21
21
  tocAccepted
22
22
 
23
23
  # subscriptions
24
- subscriptions {
24
+ subscriptions(active: $active) {
25
25
  id
26
26
  productId
27
27
  periodEndAt
@@ -1,6 +1,8 @@
1
1
  import { IUser } from '../../../models';
2
2
  import { graphqlNormalize, RestrictedData } from '../../types';
3
- export type IUserVar = null;
3
+ export type IUserVar = {
4
+ active?: boolean;
5
+ };
4
6
  export type IUserData = RestrictedData<graphqlNormalize & IUser, 'user'>;
5
7
  export declare const USER: import("@apollo/client").DocumentNode;
6
8
  export declare const REFERRALS: import("@apollo/client").DocumentNode;
@@ -6,7 +6,7 @@ const fragments_1 = require("../../fragments");
6
6
  const user_1 = require("../../fragments/user");
7
7
  exports.USER = (0, client_1.gql) `
8
8
  ${user_1.USER_FIELDS}
9
- query User {
9
+ query User($active: Boolean) {
10
10
  restricted {
11
11
  user {
12
12
  ...UserFields