@quesmed/types 2.4.31 → 2.4.33
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/dist/cjs/index.js +5 -1
- package/dist/cjs/models/Chapter.d.ts +0 -2
- package/dist/cjs/models/Marksheet.d.ts +3 -1
- package/dist/cjs/models/MockTest.d.ts +1 -0
- package/dist/cjs/models/Question.d.ts +3 -3
- package/dist/cjs/models/Topic.d.ts +2 -1
- package/dist/cjs/models/Topic.js +1 -0
- package/dist/cjs/models/Type.d.ts +3 -3
- package/dist/cjs/models/User.d.ts +2 -2
- package/dist/cjs/models/index.js +5 -1
- package/dist/cjs/resolvers/apollo.d.ts +1 -1
- package/dist/cjs/resolvers/fragments/index.js +5 -1
- package/dist/cjs/resolvers/fragments/mockTest.js +1 -0
- package/dist/cjs/resolvers/index.js +5 -1
- package/dist/cjs/resolvers/mutation/admin/algoliaSync.d.ts +8 -8
- package/dist/cjs/resolvers/mutation/admin/index.js +5 -1
- package/dist/cjs/resolvers/mutation/admin/notification.d.ts +4 -4
- package/dist/cjs/resolvers/mutation/admin/token.d.ts +2 -2
- package/dist/cjs/resolvers/mutation/index.js +5 -1
- package/dist/cjs/resolvers/mutation/restricted/agora.d.ts +1 -1
- package/dist/cjs/resolvers/mutation/restricted/contactUs.d.ts +1 -1
- package/dist/cjs/resolvers/mutation/restricted/index.js +5 -1
- package/dist/cjs/resolvers/mutation/restricted/marksheet.d.ts +16 -13
- package/dist/cjs/resolvers/mutation/restricted/marksheet.js +6 -3
- package/dist/cjs/resolvers/mutation/restricted/mockTest.d.ts +4 -3
- package/dist/cjs/resolvers/mutation/restricted/notification.d.ts +8 -8
- package/dist/cjs/resolvers/mutation/restricted/osce.d.ts +16 -16
- package/dist/cjs/resolvers/mutation/restricted/questionDiscussion.d.ts +6 -6
- package/dist/cjs/resolvers/mutation/restricted/todo.d.ts +6 -6
- package/dist/cjs/resolvers/mutation/restricted/token.d.ts +4 -4
- package/dist/cjs/resolvers/mutation/restricted/users.d.ts +9 -9
- package/dist/cjs/resolvers/mutation/restricted/video.d.ts +1 -1
- package/dist/cjs/resolvers/mutation/stripe.d.ts +3 -3
- package/dist/cjs/resolvers/mutation/users.d.ts +4 -4
- package/dist/cjs/resolvers/mutation/validUserToken/index.js +5 -1
- package/dist/cjs/resolvers/mutation/validUserToken/user.d.ts +3 -3
- package/dist/cjs/resolvers/query/admin/getUserToken.d.ts +1 -1
- package/dist/cjs/resolvers/query/admin/index.js +5 -1
- package/dist/cjs/resolvers/query/author.d.ts +1 -1
- package/dist/cjs/resolvers/query/blog.d.ts +4 -4
- package/dist/cjs/resolvers/query/book.d.ts +3 -3
- package/dist/cjs/resolvers/query/feedback.d.ts +2 -2
- package/dist/cjs/resolvers/query/index.js +5 -1
- package/dist/cjs/resolvers/query/product.d.ts +1 -1
- package/dist/cjs/resolvers/query/restricted/conceptExplanation.d.ts +1 -1
- package/dist/cjs/resolvers/query/restricted/global.d.ts +4 -4
- package/dist/cjs/resolvers/query/restricted/index.js +5 -1
- package/dist/cjs/resolvers/query/restricted/marksheet.d.ts +13 -13
- package/dist/cjs/resolvers/query/restricted/marksheet.js +5 -0
- package/dist/cjs/resolvers/query/restricted/mockTests.d.ts +2 -2
- package/dist/cjs/resolvers/query/restricted/notification.d.ts +1 -1
- package/dist/cjs/resolvers/query/restricted/osce.d.ts +9 -9
- package/dist/cjs/resolvers/query/restricted/qBank.js +1 -1
- package/dist/cjs/resolvers/query/restricted/quesBook.d.ts +4 -4
- package/dist/cjs/resolvers/query/restricted/question.d.ts +1 -1
- package/dist/cjs/resolvers/query/restricted/todos.d.ts +2 -2
- package/dist/cjs/resolvers/query/restricted/topics.d.ts +2 -2
- package/dist/cjs/resolvers/query/restricted/topics.js +2 -2
- package/dist/cjs/resolvers/query/restricted/university.d.ts +1 -1
- package/dist/cjs/resolvers/query/restricted/user.d.ts +4 -4
- package/dist/cjs/resolvers/query/restricted/video.d.ts +2 -2
- package/dist/cjs/resolvers/query/sample.d.ts +5 -5
- package/dist/cjs/resolvers/query/university.d.ts +1 -1
- package/dist/cjs/resolvers/query/user.d.ts +2 -2
- package/dist/cjs/resolvers/query/video.d.ts +3 -3
- package/dist/cjs/resolvers/subscription/index.js +5 -1
- package/dist/cjs/resolvers/subscription/marksheet.d.ts +3 -3
- package/dist/cjs/resolvers/subscription/notification.d.ts +2 -2
- package/dist/cjs/resolvers/subscription/osce.d.ts +6 -6
- package/dist/cjs/resolvers/types.d.ts +3 -3
- package/dist/cjs/utils/index.js +5 -1
- package/dist/cjs/utils/lightgallery.js +1 -1
- package/dist/cjs/utils/supermemo.d.ts +0 -1
- package/dist/mjs/models/Chapter.d.ts +0 -2
- package/dist/mjs/models/Marksheet.d.ts +3 -1
- package/dist/mjs/models/MockTest.d.ts +1 -0
- package/dist/mjs/models/Question.d.ts +3 -3
- package/dist/mjs/models/Topic.d.ts +2 -1
- package/dist/mjs/models/Topic.js +1 -0
- package/dist/mjs/models/Type.d.ts +3 -3
- package/dist/mjs/models/User.d.ts +2 -2
- package/dist/mjs/resolvers/apollo.d.ts +1 -1
- package/dist/mjs/resolvers/fragments/mockTest.js +1 -0
- package/dist/mjs/resolvers/mutation/admin/algoliaSync.d.ts +8 -8
- package/dist/mjs/resolvers/mutation/admin/notification.d.ts +4 -4
- package/dist/mjs/resolvers/mutation/admin/token.d.ts +2 -2
- package/dist/mjs/resolvers/mutation/restricted/agora.d.ts +1 -1
- package/dist/mjs/resolvers/mutation/restricted/contactUs.d.ts +1 -1
- package/dist/mjs/resolvers/mutation/restricted/marksheet.d.ts +16 -13
- package/dist/mjs/resolvers/mutation/restricted/marksheet.js +6 -3
- package/dist/mjs/resolvers/mutation/restricted/mockTest.d.ts +4 -3
- package/dist/mjs/resolvers/mutation/restricted/notification.d.ts +8 -8
- package/dist/mjs/resolvers/mutation/restricted/osce.d.ts +16 -16
- package/dist/mjs/resolvers/mutation/restricted/questionDiscussion.d.ts +6 -6
- package/dist/mjs/resolvers/mutation/restricted/todo.d.ts +6 -6
- package/dist/mjs/resolvers/mutation/restricted/token.d.ts +4 -4
- package/dist/mjs/resolvers/mutation/restricted/users.d.ts +9 -9
- package/dist/mjs/resolvers/mutation/restricted/video.d.ts +1 -1
- package/dist/mjs/resolvers/mutation/stripe.d.ts +3 -3
- package/dist/mjs/resolvers/mutation/users.d.ts +4 -4
- package/dist/mjs/resolvers/mutation/validUserToken/user.d.ts +3 -3
- package/dist/mjs/resolvers/query/admin/getUserToken.d.ts +1 -1
- package/dist/mjs/resolvers/query/author.d.ts +1 -1
- package/dist/mjs/resolvers/query/blog.d.ts +4 -4
- package/dist/mjs/resolvers/query/book.d.ts +3 -3
- package/dist/mjs/resolvers/query/feedback.d.ts +2 -2
- package/dist/mjs/resolvers/query/product.d.ts +1 -1
- package/dist/mjs/resolvers/query/restricted/conceptExplanation.d.ts +1 -1
- package/dist/mjs/resolvers/query/restricted/global.d.ts +4 -4
- package/dist/mjs/resolvers/query/restricted/marksheet.d.ts +13 -13
- package/dist/mjs/resolvers/query/restricted/marksheet.js +5 -0
- package/dist/mjs/resolvers/query/restricted/mockTests.d.ts +2 -2
- package/dist/mjs/resolvers/query/restricted/notification.d.ts +1 -1
- package/dist/mjs/resolvers/query/restricted/osce.d.ts +9 -9
- package/dist/mjs/resolvers/query/restricted/qBank.js +1 -1
- package/dist/mjs/resolvers/query/restricted/quesBook.d.ts +4 -4
- package/dist/mjs/resolvers/query/restricted/question.d.ts +1 -1
- package/dist/mjs/resolvers/query/restricted/todos.d.ts +2 -2
- package/dist/mjs/resolvers/query/restricted/topics.d.ts +2 -2
- package/dist/mjs/resolvers/query/restricted/topics.js +2 -2
- package/dist/mjs/resolvers/query/restricted/university.d.ts +1 -1
- package/dist/mjs/resolvers/query/restricted/user.d.ts +4 -4
- package/dist/mjs/resolvers/query/restricted/video.d.ts +2 -2
- package/dist/mjs/resolvers/query/sample.d.ts +5 -5
- package/dist/mjs/resolvers/query/university.d.ts +1 -1
- package/dist/mjs/resolvers/query/user.d.ts +2 -2
- package/dist/mjs/resolvers/query/video.d.ts +3 -3
- package/dist/mjs/resolvers/subscription/marksheet.d.ts +3 -3
- package/dist/mjs/resolvers/subscription/notification.d.ts +2 -2
- package/dist/mjs/resolvers/subscription/osce.d.ts +6 -6
- package/dist/mjs/resolvers/types.d.ts +3 -3
- package/dist/mjs/utils/lightgallery.js +1 -1
- package/dist/mjs/utils/supermemo.d.ts +0 -1
- package/package.json +27 -27
|
@@ -7,7 +7,7 @@ export interface IBuildMockTestMarksheetVar {
|
|
|
7
7
|
mockTestId: Id;
|
|
8
8
|
duration: number;
|
|
9
9
|
}
|
|
10
|
-
export
|
|
10
|
+
export type IBuildMockTestMarksheetData = RestrictedData<graphqlNormalize & IMarksheet, 'buildMockTestMarksheet'>;
|
|
11
11
|
export declare const TOGGLE_FLAGGED_MARK: import("@apollo/client").DocumentNode;
|
|
12
12
|
export declare const MARK_FLAGGED_QUESTION: import("@apollo/client").DocumentNode;
|
|
13
13
|
export declare const updateCacheToggleFlaggedQuestion: (cache: ApolloCache<any>, result: ApolloUpdateResultRestricted<IToggleFlaggedMarkData>) => void;
|
|
@@ -38,7 +38,7 @@ export interface IToggleFlaggedMarkVar {
|
|
|
38
38
|
markId: Id;
|
|
39
39
|
isFlagged: boolean;
|
|
40
40
|
}
|
|
41
|
-
export
|
|
41
|
+
export type IToggleFlaggedMarkData = RestrictedData<graphqlNormalize & IMarksheetMark, 'toggleFlaggedMark'>;
|
|
42
42
|
export declare const END_MOCK_TEST: import("@apollo/client").DocumentNode;
|
|
43
43
|
export declare const updateCacheOnEndMockTest: (cache: ApolloCache<any>, result: ApolloUpdateResultRestricted<IEndMockTestData>, options: ApolloUpdateOptions) => void;
|
|
44
44
|
export declare const optimisticEndMockTest: (marksheet: IMarksheet) => {
|
|
@@ -53,6 +53,7 @@ export declare const optimisticEndMockTest: (marksheet: IMarksheet) => {
|
|
|
53
53
|
startedAt: number | Date;
|
|
54
54
|
type: import("../../../models").EMarksheetType;
|
|
55
55
|
endedAt: number | Date;
|
|
56
|
+
typeId: import("../../../models").ETopicType;
|
|
56
57
|
topicIds: number[];
|
|
57
58
|
topicNames?: string[] | undefined;
|
|
58
59
|
source: string;
|
|
@@ -81,4 +82,4 @@ export declare const optimisticEndMockTest: (marksheet: IMarksheet) => {
|
|
|
81
82
|
export interface IEndMockTestVar {
|
|
82
83
|
marksheetId: Id;
|
|
83
84
|
}
|
|
84
|
-
export
|
|
85
|
+
export type IEndMockTestData = RestrictedData<graphqlNormalize & IMarksheet, 'endMockTest'>;
|
|
@@ -13,22 +13,22 @@ export interface IAddNotificationInput {
|
|
|
13
13
|
global: boolean;
|
|
14
14
|
read: boolean;
|
|
15
15
|
}
|
|
16
|
-
export
|
|
16
|
+
export type IAddNotificationVar = {
|
|
17
17
|
data: IAddNotificationInput;
|
|
18
18
|
};
|
|
19
|
-
export
|
|
20
|
-
export
|
|
19
|
+
export type IAddNotificationData = RestrictedData<graphqlNormalize & INotification, 'addNotification'>;
|
|
20
|
+
export type IAddNotificationsVar = {
|
|
21
21
|
data: IAddNotificationInput[];
|
|
22
22
|
};
|
|
23
|
-
export
|
|
24
|
-
export
|
|
23
|
+
export type IAddNotificationsData = RestrictedData<graphqlNormalize & INotification[], 'addNotifications'>;
|
|
24
|
+
export type IMarkNotificationAsReadVar = {
|
|
25
25
|
id: Id;
|
|
26
26
|
};
|
|
27
|
-
export
|
|
27
|
+
export type IMarkNotificationAsReadData = RestrictedData<graphqlNormalize & INotification, 'markNotificationAsRead'>;
|
|
28
28
|
export declare const MARK_AS_READ: import("@apollo/client").DocumentNode;
|
|
29
29
|
export declare const updateNotificatonsOnMarkAsRead: (cache: ApolloCache<any>, result: ApolloUpdateResultRestricted<IMarkNotificationAsReadData>, options: ApolloUpdateOptions) => void;
|
|
30
|
-
export
|
|
31
|
-
export
|
|
30
|
+
export type IMarkAllNotificationsAsReadVar = null;
|
|
31
|
+
export type IMarkAllNotificationsAsReadData = RestrictedData<graphqlNormalize & INotification[], 'markAllNotificationsAsRead'>;
|
|
32
32
|
export declare const MARK_ALL_AS_READ: import("@apollo/client").DocumentNode;
|
|
33
33
|
export declare const optimisticMarkAsRead: (notification: INotification) => () => {
|
|
34
34
|
restricted: {
|
|
@@ -5,56 +5,56 @@ export declare const START_OSCE_MATCHMAKING: import("@apollo/client").DocumentNo
|
|
|
5
5
|
export interface IStartOsceMatchmakingVar {
|
|
6
6
|
agoraId: string;
|
|
7
7
|
}
|
|
8
|
-
export
|
|
8
|
+
export type IStartOsceMatchmakingData = RestrictedData<boolean, 'startOsceMatchmaking'>;
|
|
9
9
|
export declare const ACCEPT_OSCE_MATCHMAKING: import("@apollo/client").DocumentNode;
|
|
10
10
|
export interface IAcceptOsceMatchmakingVar {
|
|
11
11
|
agoraId: string;
|
|
12
12
|
}
|
|
13
|
-
export
|
|
13
|
+
export type IAcceptOsceMatchmakingData = RestrictedData<boolean, 'acceptOsceMatchmaking'>;
|
|
14
14
|
export declare const CHECK_OSCE_MATCHMAKING: import("@apollo/client").DocumentNode;
|
|
15
|
-
export
|
|
16
|
-
export
|
|
15
|
+
export type ICheckOsceMatchmakingVar = null;
|
|
16
|
+
export type ICheckOsceMatchmakingData = RestrictedData<graphqlNormalize & IOsceMatchmakingAction, 'checkOsceMatchmaking'>;
|
|
17
17
|
export declare const CANCEL_OSCE_MATCHMAKING: import("@apollo/client").DocumentNode;
|
|
18
18
|
export interface ICancelOsceMatchmakingVar {
|
|
19
19
|
agoraId: string;
|
|
20
20
|
}
|
|
21
|
-
export
|
|
21
|
+
export type ICancelOsceMatchmakingData = RestrictedData<boolean, 'cancelOsceMatchmaking'>;
|
|
22
22
|
export declare const BUILD_OSCE_MARKSHEET: import("@apollo/client").DocumentNode;
|
|
23
23
|
export interface IBuildOsceMarksheetVar {
|
|
24
24
|
osceStationId?: Id;
|
|
25
25
|
agoraId?: string;
|
|
26
26
|
solo?: boolean;
|
|
27
27
|
}
|
|
28
|
-
export
|
|
28
|
+
export type IBuildOsceMarksheetData = RestrictedData<graphqlNormalize & IOsceMarksheet, 'buildOsceMarksheet'>;
|
|
29
29
|
export declare const CHANGE_OSCE_ROLE: import("@apollo/client").DocumentNode;
|
|
30
30
|
export interface IChangeOsceRoleVar {
|
|
31
31
|
osceMarksheetId: Id;
|
|
32
32
|
role: EOsceRoles;
|
|
33
33
|
}
|
|
34
|
-
export
|
|
34
|
+
export type IChangeOsceRoleData = RestrictedData<graphqlNormalize & IOsceMarksheet, 'changeOsceRole'>;
|
|
35
35
|
export declare const MARK_OSCE_MARKSHEET_MARK: import("@apollo/client").DocumentNode;
|
|
36
36
|
export interface IMarkOsceMarksheetMarkVar {
|
|
37
37
|
osceMarksheetMarkId: Id;
|
|
38
38
|
mark: boolean;
|
|
39
39
|
}
|
|
40
|
-
export
|
|
40
|
+
export type IMarkOsceMarksheetMarkData = RestrictedData<graphqlNormalize & Partial<IOsceMarksheetMark>, 'markOsceMarksheetMark'>;
|
|
41
41
|
export declare const optimisticMarkOsceMarksheetMark: (variables: IMarkOsceMarksheetMarkVar) => IMarkOsceMarksheetMarkData;
|
|
42
42
|
export declare const SELECT_OSCE_STATION: import("@apollo/client").DocumentNode;
|
|
43
43
|
export interface ISelectOsceMarksheetStationVar {
|
|
44
44
|
osceMarksheetId: Id;
|
|
45
45
|
osceStationId: Id;
|
|
46
46
|
}
|
|
47
|
-
export
|
|
47
|
+
export type ISelectOsceMarksheetStationData = RestrictedData<graphqlNormalize & IOsceMarksheet, 'selectOsceMarksheetStation'>;
|
|
48
48
|
export declare const START_OSCE_MARKSHEET: import("@apollo/client").DocumentNode;
|
|
49
49
|
export interface IStartOsceMarksheetVar {
|
|
50
50
|
osceMarksheetId: Id;
|
|
51
51
|
}
|
|
52
|
-
export
|
|
52
|
+
export type IStartOsceMarksheetData = RestrictedData<graphqlNormalize & IOsceMarksheet, 'startOsceMarksheet'>;
|
|
53
53
|
export declare const START_OSCE_TIMER: import("@apollo/client").DocumentNode;
|
|
54
54
|
export interface IStartOsceTimerVar {
|
|
55
55
|
osceMarksheetId: Id;
|
|
56
56
|
}
|
|
57
|
-
export
|
|
57
|
+
export type IStartOsceTimerData = RestrictedData<graphqlNormalize & IOsceMarksheet, 'startOsceTimer'>;
|
|
58
58
|
export declare const PRESTART_OSCE_MARKSHEET: import("@apollo/client").DocumentNode;
|
|
59
59
|
export interface IPrestartOsceMarksheetVar {
|
|
60
60
|
osceMarksheetId: Id;
|
|
@@ -62,26 +62,26 @@ export interface IPrestartOsceMarksheetVar {
|
|
|
62
62
|
stationTime: number;
|
|
63
63
|
feedbackTime: number;
|
|
64
64
|
}
|
|
65
|
-
export
|
|
65
|
+
export type IPrestartOsceMarksheetData = RestrictedData<graphqlNormalize & IOsceMarksheet, 'prestartOsceMarksheet'>;
|
|
66
66
|
export declare const SAVE_OSCE_MARKSHEET: import("@apollo/client").DocumentNode;
|
|
67
67
|
export interface ISaveOsceMarksheetVar {
|
|
68
68
|
osceMarksheetId: Id;
|
|
69
69
|
globalScore?: number;
|
|
70
70
|
feedback?: string;
|
|
71
71
|
}
|
|
72
|
-
export
|
|
72
|
+
export type ISaveOsceMarksheetData = RestrictedData<graphqlNormalize & IOsceMarksheet, 'saveOsceMarksheet'>;
|
|
73
73
|
export declare const OSCE_MARKSHEET_ACTIONS: import("@apollo/client").DocumentNode;
|
|
74
74
|
export interface IOsceMarksheetActionsVar {
|
|
75
75
|
osceMarksheetId: Id;
|
|
76
76
|
action: EOsceMarksheetAction;
|
|
77
77
|
}
|
|
78
|
-
export
|
|
78
|
+
export type IOsceMarksheetActionsData = RestrictedData<number, 'osceMarksheetActions'>;
|
|
79
79
|
export declare const END_OSCE_MARKSHEET: import("@apollo/client").DocumentNode;
|
|
80
80
|
export interface IEndOsceMarksheetVar extends ISaveOsceMarksheetVar {
|
|
81
81
|
}
|
|
82
|
-
export
|
|
82
|
+
export type IEndOsceMarksheetData = RestrictedData<graphqlNormalize & IOsceMarksheet, 'endOsceMarksheet'>;
|
|
83
83
|
export declare const LEAVE_OSCE_MARKSHEET: import("@apollo/client").DocumentNode;
|
|
84
84
|
export interface ILeaveOsceMarksheetVar {
|
|
85
85
|
osceMarksheetId: Id;
|
|
86
86
|
}
|
|
87
|
-
export
|
|
87
|
+
export type ILeaveOsceMarksheetData = RestrictedData<graphqlNormalize & IOsceMarksheet, 'leaveOsceMarksheet'>;
|
|
@@ -25,7 +25,7 @@ export interface IQuestionLikeVar {
|
|
|
25
25
|
questionId: Id;
|
|
26
26
|
like: EQuestionLike;
|
|
27
27
|
}
|
|
28
|
-
export
|
|
28
|
+
export type IQuestionLikeData = RestrictedData<graphqlNormalize & IQuestion, 'questionLike'>;
|
|
29
29
|
export declare const QUESTION_COMMENTS: DocumentNode;
|
|
30
30
|
export declare const updateQuestionComments: (typeId: EQuestionType) => (cache: ApolloCache<any>, result: ApolloUpdateResultRestricted<IQuestionCommentsData>, options: ApolloUpdateOptions) => void;
|
|
31
31
|
export declare const optimisticQuestionComment: (id: number, user: {
|
|
@@ -38,7 +38,7 @@ export interface IQuestionCommentsVar {
|
|
|
38
38
|
parentId?: Id;
|
|
39
39
|
comment: string;
|
|
40
40
|
}
|
|
41
|
-
export
|
|
41
|
+
export type IQuestionCommentsData = RestrictedData<graphqlNormalize & IQuestionComment, 'questionComments'>;
|
|
42
42
|
export declare const QUESTION_COMMENT_LIKE: DocumentNode;
|
|
43
43
|
export declare const optimisticCommentLike: (comments: IQuestionComment[], input: IQuestionCommentsLikeVar, parentId: number | null) => IQuestionCommentsLikeData;
|
|
44
44
|
export interface IQuestionCommentsLikeVar {
|
|
@@ -47,16 +47,16 @@ export interface IQuestionCommentsLikeVar {
|
|
|
47
47
|
commentId: Id;
|
|
48
48
|
like: EQuestionLike;
|
|
49
49
|
}
|
|
50
|
-
export
|
|
50
|
+
export type IQuestionCommentsLikeData = RestrictedData<graphqlNormalize & IQuestionComment, 'questionCommentLike'>;
|
|
51
51
|
export declare const QUESTION_COMMENT_REMOVE: DocumentNode;
|
|
52
52
|
export declare const updateQuestionCommentsRemove: (typeId: EQuestionType) => (cache: ApolloCache<any>, result: ApolloUpdateResultRestricted<IQuestionCommentRemoveData>, options: ApolloUpdateOptions) => void;
|
|
53
|
-
export declare const optimisticQuestionCommentRemove: (comments: IQuestionComment[], input: IQuestionCommentRemoveVar, parentId?: number
|
|
53
|
+
export declare const optimisticQuestionCommentRemove: (comments: IQuestionComment[], input: IQuestionCommentRemoveVar, parentId?: number) => IQuestionCommentRemoveData;
|
|
54
54
|
export interface IQuestionCommentRemoveVar {
|
|
55
55
|
marksheetId?: Id;
|
|
56
56
|
questionId: Id;
|
|
57
57
|
commentId: Id;
|
|
58
58
|
}
|
|
59
|
-
export
|
|
59
|
+
export type IQuestionCommentRemoveData = RestrictedData<graphqlNormalize & IQuestionComment, 'questionCommentRemove'>;
|
|
60
60
|
/**
|
|
61
61
|
* addQuestionHighlight
|
|
62
62
|
*/
|
|
@@ -66,7 +66,7 @@ export interface IAddQuestionHighlightVar {
|
|
|
66
66
|
highlights: IHighlight[];
|
|
67
67
|
}[];
|
|
68
68
|
}
|
|
69
|
-
export
|
|
69
|
+
export type IAddQuestionHighlightData = RestrictedData<(graphqlNormalize & IQuestionHighlights)[], 'addQuestionHighlight'>;
|
|
70
70
|
export declare const ADD_QUESTION_HIGHLIGHT: DocumentNode;
|
|
71
71
|
export declare const updateQuestionHighlights: (typeId: EQuestionType) => (cache: ApolloCache<any>, result: ApolloUpdateResultRestricted<IAddQuestionHighlightData>, options: ApolloUpdateOptions) => void;
|
|
72
72
|
export {};
|
|
@@ -12,7 +12,7 @@ export interface IBuildTodoInput {
|
|
|
12
12
|
export interface IBuildTodoVar {
|
|
13
13
|
buildTodo: IBuildTodoInput;
|
|
14
14
|
}
|
|
15
|
-
export
|
|
15
|
+
export type IBuildTodoData = RestrictedData<graphqlNormalize & ITodo, 'buildTodo'>;
|
|
16
16
|
export interface ITodoInput {
|
|
17
17
|
todoId: number;
|
|
18
18
|
markId: number;
|
|
@@ -23,7 +23,7 @@ export declare const SAVE_TODO: import("@apollo/client").DocumentNode;
|
|
|
23
23
|
export interface ISaveTodosVar {
|
|
24
24
|
todos: ITodoInput[];
|
|
25
25
|
}
|
|
26
|
-
export
|
|
26
|
+
export type ISaveTodosData = RestrictedData<(graphqlNormalize & ITodo)[], 'saveTodos'>;
|
|
27
27
|
export declare const optimisticUpdatedSaveTodo: (todo: ITodo, cardIndex: number, todoInput: ITodoInput) => ISaveTodosData;
|
|
28
28
|
export declare function saveTodosCache(cache: ApolloCache<any>, result: ApolloUpdateResultRestricted<ISaveTodosData>, options: ApolloUpdateOptions): void;
|
|
29
29
|
export declare const optimisticSaveTodos: (todo: ITodo, cardIndex: number, todoInput: ITodoInput) => ISaveTodosData;
|
|
@@ -31,7 +31,7 @@ export declare const ADD_TO_DAILY_STACK: import("@apollo/client").DocumentNode;
|
|
|
31
31
|
export interface IAddToDailyStackVar {
|
|
32
32
|
conceptIds: Id[];
|
|
33
33
|
}
|
|
34
|
-
export
|
|
34
|
+
export type IAddToDailyStackData = RestrictedData<graphqlNormalize & {
|
|
35
35
|
addedUserCompletedCards: (graphqlNormalize & IUserCompletedCard)[];
|
|
36
36
|
dailyFeed: graphqlNormalize & ITodo;
|
|
37
37
|
}, 'addToDailyStack'>;
|
|
@@ -41,12 +41,12 @@ export interface IRemoveFromDailyStackVar {
|
|
|
41
41
|
todoId?: Id;
|
|
42
42
|
conceptId?: Id;
|
|
43
43
|
}
|
|
44
|
-
export
|
|
44
|
+
export type IRemoveFromDailyStackData = RestrictedData<graphqlNormalize & {
|
|
45
45
|
removedUserCompletedCards: (graphqlNormalize & IUserCompletedCard)[];
|
|
46
46
|
dailyFeed: graphqlNormalize & ITodo;
|
|
47
47
|
}, 'removeFromDailyStack'>;
|
|
48
48
|
export declare const updateCacheOnRemoveFromDailyStack: (cache: ApolloCache<any>, result: ApolloUpdateResultRestricted<IRemoveFromDailyStackData>, options: ApolloUpdateOptions) => void;
|
|
49
49
|
export declare const updateCacheOnAddToDailyStack: (cache: ApolloCache<any>, result: ApolloUpdateResultRestricted<IAddToDailyStackData>) => void;
|
|
50
50
|
export declare const REFRESH_DAILY_TASK: import("@apollo/client").DocumentNode;
|
|
51
|
-
export
|
|
52
|
-
export
|
|
51
|
+
export type IRefreshDailyTaskVar = null;
|
|
52
|
+
export type IRefreshDailyTaskData = RestrictedData<graphqlNormalize & ITodo, 'refreshDailyTask'>;
|
|
@@ -5,19 +5,19 @@ export interface IUpsertTokenVar {
|
|
|
5
5
|
token: string;
|
|
6
6
|
deviceId: string;
|
|
7
7
|
}
|
|
8
|
-
export
|
|
8
|
+
export type IUpsertTokenData = RestrictedData<graphqlNormalize & IToken, 'upsertToken'>;
|
|
9
9
|
export interface IRemoveTokenVar {
|
|
10
10
|
token: string;
|
|
11
11
|
}
|
|
12
|
-
export
|
|
12
|
+
export type IRemoveTokenData = RestrictedData<string, 'removeToken'>;
|
|
13
13
|
export declare const REMOVE_TOKEN: import("@apollo/client").DocumentNode;
|
|
14
14
|
export interface ISubscribeFCMTopicVar {
|
|
15
15
|
token: string;
|
|
16
16
|
topic: string;
|
|
17
17
|
}
|
|
18
|
-
export
|
|
18
|
+
export type ISubscribeFCMTopicData = RestrictedData<string, 'subscribeFCMTopic'>;
|
|
19
19
|
export interface IUnsubscribeFCMTopicVar {
|
|
20
20
|
token: string;
|
|
21
21
|
topic: string;
|
|
22
22
|
}
|
|
23
|
-
export
|
|
23
|
+
export type IUnsubscribeFCMTopicData = RestrictedData<string, 'unsubscribeFCMTopic'>;
|
|
@@ -5,10 +5,10 @@ export interface IResetProgressVar {
|
|
|
5
5
|
questions?: boolean;
|
|
6
6
|
cards?: boolean;
|
|
7
7
|
}
|
|
8
|
-
export
|
|
8
|
+
export type IResetProgressData = RestrictedData<graphqlNormalize & IUser, 'resetProgress'>;
|
|
9
9
|
export declare const DELETE_USER: import("@apollo/client").DocumentNode;
|
|
10
|
-
export
|
|
11
|
-
export
|
|
10
|
+
export type IDeleteUserVar = null;
|
|
11
|
+
export type IDeleteUserData = RestrictedData<graphqlNormalize & Boolean, 'deleteUser'>;
|
|
12
12
|
export interface IUserInput {
|
|
13
13
|
displayName?: string;
|
|
14
14
|
firstName?: string;
|
|
@@ -26,14 +26,14 @@ export interface IUpdateUserVar {
|
|
|
26
26
|
id?: number;
|
|
27
27
|
data: IUserInput;
|
|
28
28
|
}
|
|
29
|
-
export
|
|
29
|
+
export type IUpdateUserData = RestrictedData<{
|
|
30
30
|
jwt: string;
|
|
31
31
|
user: IUser & graphqlNormalize;
|
|
32
32
|
}, 'updateUser'>;
|
|
33
33
|
export declare const RENEW_TOKEN: import("@apollo/client").DocumentNode;
|
|
34
|
-
export
|
|
35
|
-
export
|
|
34
|
+
export type IRenewTokenVar = null;
|
|
35
|
+
export type IRenewTokenData = RestrictedData<string, 'renewToken'>;
|
|
36
36
|
export declare const TOC_ACCEPT: import("@apollo/client").DocumentNode;
|
|
37
|
-
export
|
|
38
|
-
export
|
|
39
|
-
export
|
|
37
|
+
export type ITocAcceptVar = null;
|
|
38
|
+
export type ITocAcceptData = RestrictedData<string, 'tocAccept'>;
|
|
39
|
+
export type ICompletedCardsData = Pick<IUser, 'completedCards' | 'completedCardsCount'>;
|
|
@@ -4,4 +4,4 @@ export declare const VIDEO_WATCHED: import("@apollo/client").DocumentNode;
|
|
|
4
4
|
export interface IVideoWatchedVar {
|
|
5
5
|
id: Id;
|
|
6
6
|
}
|
|
7
|
-
export
|
|
7
|
+
export type IVideoWatchedData = RestrictedData<graphqlNormalize & IVideo, 'videoWatched'>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RootData } from './../types';
|
|
2
2
|
export declare const CUSTOMER_PORTAL: import("@apollo/client").DocumentNode;
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export type ICustomerPortalVar = null;
|
|
4
|
+
export type ICustomerPortalData = RootData<string, 'customerPortal'>;
|
|
5
5
|
export interface IStripeLineItem {
|
|
6
6
|
price: string;
|
|
7
7
|
quantity: number;
|
|
@@ -10,4 +10,4 @@ export declare const STRIPE_HOMEPAGE_CHECKOUT_SESSION: import("@apollo/client").
|
|
|
10
10
|
export interface IStripeHomepageCheckoutSessionVar {
|
|
11
11
|
lineItems: IStripeLineItem[];
|
|
12
12
|
}
|
|
13
|
-
export
|
|
13
|
+
export type IStripeHomepageCheckoutSessionData = RootData<string, 'stripeHomepageCheckoutSession'>;
|
|
@@ -5,7 +5,7 @@ export interface ILoginUserVar {
|
|
|
5
5
|
password: string;
|
|
6
6
|
days: number;
|
|
7
7
|
}
|
|
8
|
-
export
|
|
8
|
+
export type ILoginUserData = RootData<string, 'loginUser'>;
|
|
9
9
|
export declare const REGISTER_USER: import("@apollo/client").DocumentNode;
|
|
10
10
|
export interface RegisterUserInput {
|
|
11
11
|
displayName: string;
|
|
@@ -22,15 +22,15 @@ export interface RegisterUserInput {
|
|
|
22
22
|
export interface IRegisterUserVar {
|
|
23
23
|
userData: RegisterUserInput;
|
|
24
24
|
}
|
|
25
|
-
export
|
|
25
|
+
export type IRegisterUserData = RootData<string, 'registerUser'>;
|
|
26
26
|
export declare const RESET_PASSWORD_PREP: import("@apollo/client").DocumentNode;
|
|
27
27
|
export interface IResetPasswordPrepVar {
|
|
28
28
|
username: string;
|
|
29
29
|
}
|
|
30
|
-
export
|
|
30
|
+
export type IResetPasswordPrepData = RootData<string, 'resetPasswordPrep'>;
|
|
31
31
|
export declare const RESET_PASSWORD: import("@apollo/client").DocumentNode;
|
|
32
32
|
export interface IResetPasswordVar {
|
|
33
33
|
token: string;
|
|
34
34
|
password: string;
|
|
35
35
|
}
|
|
36
|
-
export
|
|
36
|
+
export type IResetPasswordData = RootData<string, 'resetPassword'>;
|
|
@@ -2,13 +2,13 @@ export declare const CREATE_NEW_SUBSCRIPTION_CHECKOUT_SESSION: import("@apollo/c
|
|
|
2
2
|
export interface ICreateNewSubscriptionCheckoutSessionVar {
|
|
3
3
|
priceId: string;
|
|
4
4
|
}
|
|
5
|
-
export
|
|
5
|
+
export type ICreateNewSubscriptionCheckoutSessionData = {
|
|
6
6
|
validUserToken: {
|
|
7
7
|
createNewSubscriptionCheckoutSession: string | null;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
|
-
export
|
|
11
|
-
export
|
|
10
|
+
export type IRenewTokenVar = null;
|
|
11
|
+
export type IRenewTokenData = {
|
|
12
12
|
validUserToken: {
|
|
13
13
|
renewToken: string;
|
|
14
14
|
};
|
|
@@ -2,5 +2,5 @@ import { AdminData } from '../../types';
|
|
|
2
2
|
export interface IGetUserTokenVar {
|
|
3
3
|
username: string;
|
|
4
4
|
}
|
|
5
|
-
export
|
|
5
|
+
export type IGetUserTokenData = AdminData<string, 'getUserToken'>;
|
|
6
6
|
export declare const GET_USER_TOKEN: import("@apollo/client").DocumentNode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { IAuthor } from '../../models';
|
|
2
2
|
import { graphqlNormalize, RootData } from '../types';
|
|
3
|
-
export
|
|
3
|
+
export type IAuthorsData = RootData<(graphqlNormalize & IAuthor)[], 'authors'>;
|
|
4
4
|
export declare const AUTHORS: import("@apollo/client").DocumentNode;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { IBlogPost, IBlogTag } from '../../models';
|
|
2
2
|
import { graphqlNormalize, RootData } from '../types';
|
|
3
3
|
export declare const BLOG_TAGS: import("@apollo/client").DocumentNode;
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type IBlogTagsVar = null;
|
|
5
|
+
export type IBlogTagsData = RootData<(graphqlNormalize & IBlogTag)[], 'blogTags'>;
|
|
6
6
|
export declare const BLOG_POST: import("@apollo/client").DocumentNode;
|
|
7
7
|
export interface IBlogPostVar {
|
|
8
8
|
id: number;
|
|
9
9
|
}
|
|
10
|
-
export
|
|
10
|
+
export type IBlogPostData = RootData<graphqlNormalize & IBlogPost, 'blogPost'>;
|
|
11
11
|
export declare const BLOG_POSTS: import("@apollo/client").DocumentNode;
|
|
12
12
|
export interface IBlogPostsVar {
|
|
13
13
|
tagIds: number[];
|
|
14
14
|
}
|
|
15
|
-
export
|
|
15
|
+
export type IBlogPostsData = RootData<(graphqlNormalize & IBlogPost)[], 'blogPosts'>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { IBook } from '../../models';
|
|
2
2
|
import { graphqlNormalize, RootData } from './../types';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export type IBooksData = RootData<(graphqlNormalize & IBook)[], 'books'>;
|
|
4
|
+
export type IBooksVar = null;
|
|
5
5
|
export declare const BOOKS: import("@apollo/client").DocumentNode;
|
|
6
|
-
export
|
|
6
|
+
export type IBookData = RootData<graphqlNormalize & IBook, 'book'>;
|
|
7
7
|
export interface IBookVar {
|
|
8
8
|
id: number;
|
|
9
9
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IFeedback } from '../../models';
|
|
2
2
|
import { graphqlNormalize, RootData } from '../types';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export type IFeedbackData = RootData<(graphqlNormalize & IFeedback)[], 'feedback'>;
|
|
4
|
+
export type IFeedbackVar = null;
|
|
5
5
|
export declare const FEEDBACK: import("@apollo/client").DocumentNode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { IProduct } from '../../models';
|
|
2
2
|
import { graphqlNormalize, RootData } from '../types';
|
|
3
|
-
export
|
|
3
|
+
export type IProductsData = RootData<(graphqlNormalize & IProduct)[], 'products'>;
|
|
4
4
|
export declare const PRODUCTS: import("@apollo/client").DocumentNode;
|
|
@@ -8,5 +8,5 @@ export interface IQuesBookDict {
|
|
|
8
8
|
export interface IConceptExplanationVar {
|
|
9
9
|
chapterId: number;
|
|
10
10
|
}
|
|
11
|
-
export
|
|
11
|
+
export type IConceptExplanationData = RestrictedData<graphqlNormalize & string, 'conceptExplanation'>;
|
|
12
12
|
export declare const CONCEPT_EXPLANATION: import("@apollo/client").DocumentNode;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { graphqlNormalize, RestrictedData } from '../../types';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export type ITotalQuestionsVar = null;
|
|
3
|
+
export type ITotalQuestionsData = RestrictedData<graphqlNormalize & number, 'totalQuestions'>;
|
|
4
4
|
export declare const TOTAL_QUESTIONS: import("@apollo/client").DocumentNode;
|
|
5
|
-
export
|
|
6
|
-
export
|
|
5
|
+
export type ITotalCardsVar = null;
|
|
6
|
+
export type ITotalCardsData = RestrictedData<graphqlNormalize & number, 'totalCards'>;
|
|
7
7
|
export declare const TOTAL_CARDS: import("@apollo/client").DocumentNode;
|
|
@@ -4,7 +4,7 @@ import { graphqlNormalize, RestrictedData } from '../../types';
|
|
|
4
4
|
export interface IMarksheetVar {
|
|
5
5
|
id: Id;
|
|
6
6
|
}
|
|
7
|
-
export
|
|
7
|
+
export type IMarksheetData = RestrictedData<graphqlNormalize & IMarksheet, 'marksheet'>;
|
|
8
8
|
export declare const MARKSHEET: import("@apollo/client").DocumentNode;
|
|
9
9
|
export interface IMarksheetsVar {
|
|
10
10
|
filter: {
|
|
@@ -14,7 +14,7 @@ export interface IMarksheetsVar {
|
|
|
14
14
|
solo?: boolean;
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
|
-
export
|
|
17
|
+
export type IMarksheetsData = RestrictedData<{
|
|
18
18
|
results: (graphqlNormalize & IMarksheet)[];
|
|
19
19
|
total: number;
|
|
20
20
|
score: number;
|
|
@@ -25,14 +25,14 @@ export interface PaginatedMarksheets {
|
|
|
25
25
|
score: number;
|
|
26
26
|
}
|
|
27
27
|
export declare const MARKSHEETS: import("@apollo/client").DocumentNode;
|
|
28
|
-
export
|
|
29
|
-
export
|
|
28
|
+
export type ILatestPastMarksheetIdVar = null;
|
|
29
|
+
export type ILatestPastMarksheetIdData = RestrictedData<number, 'latestPastMarksheetId'>;
|
|
30
30
|
export declare const LATEST_PAST_MARKSHEET_ID: import("@apollo/client").DocumentNode;
|
|
31
31
|
/**
|
|
32
32
|
* latestAgoraId
|
|
33
33
|
*/
|
|
34
|
-
export
|
|
35
|
-
export
|
|
34
|
+
export type ILatestAgoraIdVar = null;
|
|
35
|
+
export type ILatestAgoraIdData = RestrictedData<string, 'latestAgoraId'>;
|
|
36
36
|
export declare const LATEST_PAST_AGORA_ID: import("@apollo/client").DocumentNode;
|
|
37
37
|
export interface IFlaggedQuestionsVar {
|
|
38
38
|
filter: {
|
|
@@ -40,8 +40,8 @@ export interface IFlaggedQuestionsVar {
|
|
|
40
40
|
offset: number;
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
|
-
export
|
|
44
|
-
export
|
|
43
|
+
export type IFlaggedQuestionDataResults = (graphqlNormalize & IUserFlaggedQuestion)[];
|
|
44
|
+
export type IFlaggedQuestionsData = RestrictedData<graphqlNormalize & {
|
|
45
45
|
results: IFlaggedQuestionDataResults;
|
|
46
46
|
total: number;
|
|
47
47
|
}, 'flaggedQuestions'>;
|
|
@@ -49,8 +49,8 @@ export declare const FLAGGED_QUESTIONS: import("@apollo/client").DocumentNode;
|
|
|
49
49
|
/**
|
|
50
50
|
* flaggedQuestionMarksheet
|
|
51
51
|
*/
|
|
52
|
-
export
|
|
53
|
-
export
|
|
52
|
+
export type IFlaggedQuestionsMarksheetVar = null;
|
|
53
|
+
export type IFlaggedQuestionsMarksheetData = RestrictedData<graphqlNormalize & IMarksheet, 'flaggedQuestionsMarksheet'>;
|
|
54
54
|
export declare const FLAGGED_QUESTIONS_MARKSHEET: import("@apollo/client").DocumentNode;
|
|
55
55
|
export interface IMarksheetFeedbackVar {
|
|
56
56
|
id: Id;
|
|
@@ -71,7 +71,7 @@ export interface IMarksheetFeedback {
|
|
|
71
71
|
passingMark: number;
|
|
72
72
|
topics: IMarksheetTopicFeedback[];
|
|
73
73
|
}
|
|
74
|
-
export
|
|
74
|
+
export type IMarksheetFeedbackData = RestrictedData<graphqlNormalize & IMarksheetFeedback, 'marksheetFeedback'>;
|
|
75
75
|
export declare const MARKSHEET_FEEDBACK: import("@apollo/client").DocumentNode;
|
|
76
76
|
/**
|
|
77
77
|
* heartbeatQbank
|
|
@@ -79,7 +79,7 @@ export declare const MARKSHEET_FEEDBACK: import("@apollo/client").DocumentNode;
|
|
|
79
79
|
export interface IQbankHeartbeatVar {
|
|
80
80
|
agoraId: string;
|
|
81
81
|
}
|
|
82
|
-
export
|
|
82
|
+
export type IQBankHeartBeatData = RestrictedData<boolean, 'heartbeatQbank'>;
|
|
83
83
|
export declare const HEARTBEAT_QBANK: import("@apollo/client").DocumentNode;
|
|
84
84
|
/**
|
|
85
85
|
* preBuildMarksheet
|
|
@@ -92,5 +92,5 @@ export interface IPreBuildMarksheetVar {
|
|
|
92
92
|
source: string;
|
|
93
93
|
difficulty?: EDifficultyType[];
|
|
94
94
|
}
|
|
95
|
-
export
|
|
95
|
+
export type IPreBuildMarksheetData = RestrictedData<graphqlNormalize & IPreBuildMarksheet, 'preBuildMarksheet'>;
|
|
96
96
|
export declare const PRE_BUILD_MARKSHEET: import("@apollo/client").DocumentNode;
|
|
@@ -45,6 +45,7 @@ export const MARKSHEET = gql `
|
|
|
45
45
|
createdAt
|
|
46
46
|
startedAt
|
|
47
47
|
endedAt
|
|
48
|
+
typeId
|
|
48
49
|
isTestMarksheet
|
|
49
50
|
source
|
|
50
51
|
correct
|
|
@@ -149,6 +150,10 @@ export const MARKSHEET = gql `
|
|
|
149
150
|
}
|
|
150
151
|
}
|
|
151
152
|
}
|
|
153
|
+
topic {
|
|
154
|
+
id
|
|
155
|
+
name
|
|
156
|
+
}
|
|
152
157
|
videos {
|
|
153
158
|
id
|
|
154
159
|
title
|
|
@@ -3,10 +3,10 @@ import { graphqlNormalize, RestrictedData } from '../../types';
|
|
|
3
3
|
export interface IMockTestVar {
|
|
4
4
|
id: Id;
|
|
5
5
|
}
|
|
6
|
-
export
|
|
6
|
+
export type IMockTestData = RestrictedData<graphqlNormalize & IUserMockTest, 'mockTest'>;
|
|
7
7
|
export declare const MOCK_TEST: import("@apollo/client").DocumentNode;
|
|
8
8
|
export interface IMockTestsVar {
|
|
9
9
|
typeIds?: ETopicType[];
|
|
10
10
|
}
|
|
11
|
-
export
|
|
11
|
+
export type IMockTestsData = RestrictedData<(graphqlNormalize & IUserMockTest)[], 'mockTests'>;
|
|
12
12
|
export declare const MOCK_TESTS: import("@apollo/client").DocumentNode;
|
|
@@ -6,5 +6,5 @@ export interface INotificationsVar {
|
|
|
6
6
|
offset?: number;
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
|
-
export
|
|
9
|
+
export type INotificationsData = RestrictedData<graphqlNormalize & INotification[], 'notifications'>;
|
|
10
10
|
export declare const NOTIFICATIONS: import("@apollo/client").DocumentNode;
|