@quesmed/types-rn 2.0.8 → 2.0.11

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/models/User.d.ts CHANGED
@@ -74,6 +74,12 @@ export interface IUser {
74
74
  completedYellowCardsCount?: number | null;
75
75
  completedRedCardsCount?: number | null;
76
76
  dailyFeed: ITodo;
77
+ dailyProgress: IDailyProgressInfo[];
78
+ }
79
+ export interface IDailyProgressInfo {
80
+ totalCount: number;
81
+ totalCorrect: number;
82
+ dateString: string;
77
83
  }
78
84
  export declare function currentClassYear(createdAtUnix: number, classYear: IClassYear): IClassYear;
79
85
  export declare function currentClassGroup(createdAtUnix: number, classYear: IClassYear): EClassYearGroup;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.0.8",
3
+ "version": "2.0.11",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -0,0 +1,5 @@
1
+ import { graphqlNormalize, RestrictedData } from '../../types';
2
+ export declare type ITotalQuestionsVar = null;
3
+ export declare type ITotalQuestionsData = RestrictedData<graphqlNormalize & number, 'totalQuestions'>;
4
+ export declare type ITotalCardsVar = null;
5
+ export declare type ITotalCardsData = RestrictedData<graphqlNormalize & number, 'totalCards'>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,4 @@
1
+ export * from './global';
1
2
  export * from './marksheet';
2
3
  export * from './mockTests';
3
4
  export * from './osce';
@@ -10,6 +10,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
10
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./global"), exports);
13
14
  __exportStar(require("./marksheet"), exports);
14
15
  __exportStar(require("./mockTests"), exports);
15
16
  __exportStar(require("./osce"), exports);
@@ -4,10 +4,3 @@ export declare type IDashboardUserVar = null;
4
4
  export declare type IDashboardUserData = RestrictedData<graphqlNormalize & IUser, 'dashboardUser'>;
5
5
  export declare type IUserVar = null;
6
6
  export declare type IUserData = RestrictedData<graphqlNormalize & IUser, 'user'>;
7
- export declare type IDailyProgressVar = null;
8
- export interface IDailyProgressInfo {
9
- totalCount: number;
10
- totalTrue: number;
11
- dateString: string;
12
- }
13
- export declare type IDailyProgressData = RestrictedData<(graphqlNormalize & IDailyProgressInfo)[], 'dailyProgress'>;
@@ -6,6 +6,7 @@ export interface IVideoVar {
6
6
  export declare type IVideoData = RestrictedData<graphqlNormalize & IVideo, 'video'>;
7
7
  export interface IVideosVar {
8
8
  filter: 'new' | 'popular' | 'personal' | 'live' | 'osce';
9
+ search?: string;
9
10
  limit: number;
10
11
  }
11
12
  export declare type IVideosData = RestrictedData<(graphqlNormalize & IVideo)[], 'videos'>;