@quesmed/types-rn 2.0.9 → 2.0.12
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 +6 -0
- package/package.json +1 -1
- package/resolvers/query/restricted/global.d.ts +5 -0
- package/resolvers/query/restricted/global.js +2 -0
- package/resolvers/query/restricted/index.d.ts +1 -0
- package/resolvers/query/restricted/index.js +1 -0
- package/resolvers/query/restricted/user.d.ts +0 -7
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
|
@@ -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'>;
|
|
@@ -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'>;
|