@quesmed/types 2.5.98 → 2.5.100

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.
@@ -8,6 +8,13 @@ export interface IResetProgressVar {
8
8
  cards?: boolean;
9
9
  }
10
10
  export type IResetProgressData = RestrictedData<graphqlNormalize & IUser, 'resetProgress'>;
11
+ export declare const RESET_CATEGORY_PROGRESS: import("@apollo/client").DocumentNode;
12
+ export interface IResetCategoryProgressVar {
13
+ topicIds?: Id[];
14
+ conceptIds?: Id[];
15
+ stationIds?: Id[];
16
+ }
17
+ export type IResetCategoryProgressData = RestrictedData<graphqlNormalize & boolean, 'resetCategoryProgress'>;
11
18
  export declare const DELETE_USER: import("@apollo/client").DocumentNode;
12
19
  export type IDeleteUserVar = null;
13
20
  export type IDeleteUserData = RestrictedData<graphqlNormalize & Boolean, 'deleteUser'>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.optimisticVideoLearningStatus = exports.updateCacheOnVideoLearningStatusUpdate = exports.UPSERT_USER_VIDEO_STATUS = exports.optimisticStationLearningStatus = exports.updateCacheOnStationLearningStatusUpdate = exports.UPSERT_USER_STATION_STATUS = exports.optimisticConceptLearningStatus = exports.updateCacheOnConceptLearningStatusUpdate = exports.UPSERT_USER_CONCEPT_STATUS = exports.TOC_ACCEPT = exports.RENEW_TOKEN = exports.UPDATE_USER = exports.DELETE_USER = exports.RESET_PROGRESS = void 0;
3
+ exports.optimisticVideoLearningStatus = exports.updateCacheOnVideoLearningStatusUpdate = exports.UPSERT_USER_VIDEO_STATUS = exports.optimisticStationLearningStatus = exports.updateCacheOnStationLearningStatusUpdate = exports.UPSERT_USER_STATION_STATUS = exports.optimisticConceptLearningStatus = exports.updateCacheOnConceptLearningStatusUpdate = exports.UPSERT_USER_CONCEPT_STATUS = exports.TOC_ACCEPT = exports.RENEW_TOKEN = exports.UPDATE_USER = exports.DELETE_USER = exports.RESET_CATEGORY_PROGRESS = exports.RESET_PROGRESS = void 0;
4
4
  const client_1 = require("@apollo/client");
5
5
  const models_1 = require("../../../models");
6
6
  exports.RESET_PROGRESS = (0, client_1.gql) `
@@ -12,6 +12,21 @@ exports.RESET_PROGRESS = (0, client_1.gql) `
12
12
  }
13
13
  }
14
14
  `;
15
+ exports.RESET_CATEGORY_PROGRESS = (0, client_1.gql) `
16
+ mutation ResetCategoryProgress(
17
+ $topicIds: [Int!]
18
+ $conceptIds: [Int!]
19
+ $stationIds: [Int!]
20
+ ) {
21
+ restricted {
22
+ resetCategoryProgress(
23
+ topicIds: $topicIds
24
+ conceptIds: $conceptIds
25
+ stationIds: $stationIds
26
+ )
27
+ }
28
+ }
29
+ `;
15
30
  exports.DELETE_USER = (0, client_1.gql) `
16
31
  mutation DeleteUser {
17
32
  restricted {
@@ -8,6 +8,13 @@ export interface IResetProgressVar {
8
8
  cards?: boolean;
9
9
  }
10
10
  export type IResetProgressData = RestrictedData<graphqlNormalize & IUser, 'resetProgress'>;
11
+ export declare const RESET_CATEGORY_PROGRESS: import("@apollo/client").DocumentNode;
12
+ export interface IResetCategoryProgressVar {
13
+ topicIds?: Id[];
14
+ conceptIds?: Id[];
15
+ stationIds?: Id[];
16
+ }
17
+ export type IResetCategoryProgressData = RestrictedData<graphqlNormalize & boolean, 'resetCategoryProgress'>;
11
18
  export declare const DELETE_USER: import("@apollo/client").DocumentNode;
12
19
  export type IDeleteUserVar = null;
13
20
  export type IDeleteUserData = RestrictedData<graphqlNormalize & Boolean, 'deleteUser'>;
@@ -9,6 +9,21 @@ export const RESET_PROGRESS = gql `
9
9
  }
10
10
  }
11
11
  `;
12
+ export const RESET_CATEGORY_PROGRESS = gql `
13
+ mutation ResetCategoryProgress(
14
+ $topicIds: [Int!]
15
+ $conceptIds: [Int!]
16
+ $stationIds: [Int!]
17
+ ) {
18
+ restricted {
19
+ resetCategoryProgress(
20
+ topicIds: $topicIds
21
+ conceptIds: $conceptIds
22
+ stationIds: $stationIds
23
+ )
24
+ }
25
+ }
26
+ `;
12
27
  export const DELETE_USER = gql `
13
28
  mutation DeleteUser {
14
29
  restricted {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.5.98",
3
+ "version": "2.5.100",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",