@quesmed/types-rn 2.2.27 → 2.2.30
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
|
@@ -12,6 +12,7 @@ exports.BUILD_MARKSHEET = (0, client_1.gql) `
|
|
|
12
12
|
startedAt
|
|
13
13
|
endedAt
|
|
14
14
|
topicIds
|
|
15
|
+
completed
|
|
15
16
|
solo
|
|
16
17
|
state
|
|
17
18
|
currentMarkId
|
|
@@ -1125,6 +1126,7 @@ exports.SAVE_MARKSHEET = (0, client_1.gql) `
|
|
|
1125
1126
|
id
|
|
1126
1127
|
createdAt
|
|
1127
1128
|
startedAt
|
|
1129
|
+
completed
|
|
1128
1130
|
endedAt
|
|
1129
1131
|
marks {
|
|
1130
1132
|
id
|
|
@@ -1269,6 +1271,7 @@ exports.MODIFY_MARKSHEET_INFO = (0, client_1.gql) `
|
|
|
1269
1271
|
state
|
|
1270
1272
|
solo
|
|
1271
1273
|
agoraId
|
|
1274
|
+
completed
|
|
1272
1275
|
currentMarkId
|
|
1273
1276
|
topicConceptData
|
|
1274
1277
|
builderConfig {
|
|
@@ -14,10 +14,11 @@ export interface IMarksheetsVar {
|
|
|
14
14
|
solo?: boolean;
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
|
-
export
|
|
17
|
+
export interface Marksheets {
|
|
18
18
|
results: (graphqlNormalize & IMarksheet)[];
|
|
19
19
|
total: number;
|
|
20
|
-
}
|
|
20
|
+
}
|
|
21
|
+
export declare type IMarksheetsData = RestrictedData<Marksheets, 'marksheets'>;
|
|
21
22
|
export declare const MARKSHEETS: import("@apollo/client").DocumentNode;
|
|
22
23
|
export declare type ILatestPastMarksheetIdVar = null;
|
|
23
24
|
export declare type ILatestPastMarksheetIdData = RestrictedData<number, 'latestPastMarksheetId'>;
|
|
@@ -25,8 +26,8 @@ export declare const LATEST_PAST_MARKSHEET_ID: import("@apollo/client").Document
|
|
|
25
26
|
/**
|
|
26
27
|
* latestAgoraId
|
|
27
28
|
*/
|
|
28
|
-
export declare type
|
|
29
|
-
export declare type
|
|
29
|
+
export declare type ILatestAgoraIdVar = null;
|
|
30
|
+
export declare type ILatestAgoraIdData = RestrictedData<string, 'latestAgoraId'>;
|
|
30
31
|
export declare const LATEST_PAST_AGORA_ID: import("@apollo/client").DocumentNode;
|
|
31
32
|
export declare type IFlaggedQuestionsVar = null;
|
|
32
33
|
export declare type IFlaggedQuestionsData = RestrictedData<(graphqlNormalize & IUserFlaggedQuestion)[], 'flaggedQuestions'>;
|
|
@@ -9,6 +9,7 @@ exports.MARKSHEET = (0, client_1.gql) `
|
|
|
9
9
|
id
|
|
10
10
|
topicConceptData
|
|
11
11
|
currentMarkId
|
|
12
|
+
completed
|
|
12
13
|
solo
|
|
13
14
|
state
|
|
14
15
|
users {
|
|
@@ -574,7 +575,7 @@ exports.LATEST_PAST_MARKSHEET_ID = (0, client_1.gql) `
|
|
|
574
575
|
}
|
|
575
576
|
`;
|
|
576
577
|
exports.LATEST_PAST_AGORA_ID = (0, client_1.gql) `
|
|
577
|
-
query
|
|
578
|
+
query LatestAgoraId {
|
|
578
579
|
restricted {
|
|
579
580
|
latestAgoraId
|
|
580
581
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { IDailyProgressInfo,
|
|
1
|
+
import { IDailyProgressInfo, ITodo, ITopic, IUser } from '../../../models';
|
|
2
|
+
import { Marksheets } from './marksheet';
|
|
2
3
|
import { IUniversitiesRankSpeciality } from './university';
|
|
3
4
|
export interface IDashboardQBank {
|
|
4
5
|
restricted: {
|
|
5
6
|
latestPastMarksheetId: number;
|
|
6
7
|
user: IUser;
|
|
7
|
-
marksheets:
|
|
8
|
+
marksheets: Marksheets;
|
|
8
9
|
dailyFeed: ITodo;
|
|
9
10
|
dailyProgress: IDailyProgressInfo[];
|
|
10
11
|
topics: ITopic[];
|