@quesmed/types-rn 2.2.82 → 2.2.84

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.2.82",
3
+ "version": "2.2.84",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -2065,6 +2065,7 @@ exports.END_MARKSHEET = (0, client_1.gql) `
2065
2065
  id
2066
2066
  timeTaken
2067
2067
  endedAt
2068
+ completed
2068
2069
  }
2069
2070
  }
2070
2071
  }
@@ -6,6 +6,9 @@ export interface IResetProgressVar {
6
6
  cards?: boolean;
7
7
  }
8
8
  export declare type IResetProgressData = RestrictedData<graphqlNormalize & IUser, 'resetProgress'>;
9
+ export declare const DELETE_USER: import("@apollo/client").DocumentNode;
10
+ export declare type IDeleteUserVar = null;
11
+ export declare type IDeleteUserData = RestrictedData<graphqlNormalize & Boolean, 'deleteUser'>;
9
12
  export interface IUserInput {
10
13
  displayName?: string;
11
14
  firstName?: string;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TOC_ACCEPT = exports.RENEW_TOKEN = exports.UPDATE_USER = exports.RESET_PROGRESS = void 0;
3
+ exports.TOC_ACCEPT = exports.RENEW_TOKEN = exports.UPDATE_USER = exports.DELETE_USER = exports.RESET_PROGRESS = void 0;
4
4
  const client_1 = require("@apollo/client");
5
5
  exports.RESET_PROGRESS = (0, client_1.gql) `
6
6
  mutation ResetProgress($questions: Boolean, $cards: Boolean) {
@@ -11,6 +11,13 @@ exports.RESET_PROGRESS = (0, client_1.gql) `
11
11
  }
12
12
  }
13
13
  `;
14
+ exports.DELETE_USER = (0, client_1.gql) `
15
+ mutation DeleteUser {
16
+ restricted {
17
+ deleteUser
18
+ }
19
+ }
20
+ `;
14
21
  exports.UPDATE_USER = (0, client_1.gql) `
15
22
  mutation UpdateUser($id: Int, $data: UserInput!) {
16
23
  restricted {