@quesmed/types-rn 2.2.83 → 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
|
@@ -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 {
|