@quesmed/types 2.2.77 → 2.2.80
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/resolvers/mutation/restricted/marksheet.d.ts +46 -10
- package/dist/cjs/resolvers/mutation/restricted/marksheet.js +144 -543
- package/dist/cjs/resolvers/subscription/marksheet.d.ts +17 -17
- package/dist/cjs/resolvers/subscription/marksheet.js +13 -13
- package/dist/mjs/resolvers/mutation/restricted/marksheet.d.ts +46 -10
- package/dist/mjs/resolvers/mutation/restricted/marksheet.js +143 -542
- package/dist/mjs/resolvers/subscription/marksheet.d.ts +17 -17
- package/dist/mjs/resolvers/subscription/marksheet.js +12 -12
- package/package.json +1 -1
|
@@ -86,9 +86,9 @@ export interface IStartOrJoinMarksheetVar {
|
|
|
86
86
|
export declare type IStartOrJoinMarksheetData = RestrictedData<graphqlNormalize & IMarksheet, 'startOrJoinMarksheet'>;
|
|
87
87
|
export declare const START_OR_JOIN_MARKSHEET: import("@apollo/client").DocumentNode;
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* modifyMarksheet
|
|
90
90
|
*/
|
|
91
|
-
export interface
|
|
91
|
+
export interface IMarksheetDataInfo {
|
|
92
92
|
userId?: Id;
|
|
93
93
|
user?: IUser;
|
|
94
94
|
startedAt?: Date | null;
|
|
@@ -98,6 +98,11 @@ export interface IMarksheetAction {
|
|
|
98
98
|
users?: IUser[];
|
|
99
99
|
activeUsers?: IUser[];
|
|
100
100
|
}
|
|
101
|
+
export interface IPreStartMarksheetDataInfo {
|
|
102
|
+
topicConceptData?: string;
|
|
103
|
+
builderConfig?: IBuildConfigData;
|
|
104
|
+
preBuildData?: IPreBuildMarksheet;
|
|
105
|
+
}
|
|
101
106
|
export interface IMarkDataInfo {
|
|
102
107
|
markId?: Id;
|
|
103
108
|
markIndex?: number;
|
|
@@ -120,21 +125,21 @@ export interface IBuildConfigData {
|
|
|
120
125
|
isTest?: boolean;
|
|
121
126
|
}
|
|
122
127
|
export interface IQbankInfoInput {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
builderConfig?: IBuildConfigData;
|
|
128
|
+
marksheetData?: IMarksheetDataInfo;
|
|
129
|
+
preStartData?: IPreStartMarksheetDataInfo;
|
|
126
130
|
markData?: IMarkDataInfo;
|
|
127
131
|
action?: EMarksheetAction;
|
|
128
132
|
marksheetId: Id;
|
|
129
133
|
}
|
|
130
|
-
export
|
|
131
|
-
|
|
134
|
+
export declare type IModifyMarksheetVarInput = Omit<IQbankInfoInput, 'markData'>;
|
|
135
|
+
export interface IModifyMarksheetVar {
|
|
136
|
+
input: Omit<IQbankInfoInput, 'markData'>;
|
|
132
137
|
}
|
|
133
|
-
export declare type IModifyMarksheetData = RestrictedData<graphqlNormalize & IMarksheet, '
|
|
138
|
+
export declare type IModifyMarksheetData = RestrictedData<graphqlNormalize & IMarksheet, 'modifyMarksheet'>;
|
|
134
139
|
export declare const optimisticModifyMarksheetBuilderConfig: (marksheetId: number, builderConfig: IBuildConfigData, client?: ApolloClient<any> | undefined) => {
|
|
135
140
|
restricted: {
|
|
136
141
|
__typename: string;
|
|
137
|
-
|
|
142
|
+
modifyMarksheet: {
|
|
138
143
|
builderConfig: {
|
|
139
144
|
numberOfQuestions?: number | undefined;
|
|
140
145
|
difficulty?: number[] | undefined;
|
|
@@ -176,7 +181,38 @@ export declare const optimisticModifyMarksheetBuilderConfig: (marksheetId: numbe
|
|
|
176
181
|
};
|
|
177
182
|
};
|
|
178
183
|
};
|
|
179
|
-
export declare const
|
|
184
|
+
export declare const MODIFY_MARKSHEET: import("@apollo/client").DocumentNode;
|
|
185
|
+
/**
|
|
186
|
+
* MODIFY_BUILDER_CONFIG
|
|
187
|
+
*/
|
|
188
|
+
export declare const MODIFY_BUILDER_CONFIG: import("@apollo/client").DocumentNode;
|
|
189
|
+
export declare const MODIFY_BUILDER_CONFIG_FRAGMENT: import("@apollo/client").DocumentNode;
|
|
190
|
+
/**
|
|
191
|
+
* MODIFY_TOPIC_SELECTION
|
|
192
|
+
*/
|
|
193
|
+
export declare const MODIFY_TOPIC_SELECTION: import("@apollo/client").DocumentNode;
|
|
194
|
+
export declare const MODIFY_TOPIC_SELECTION_FRAGMENT: import("@apollo/client").DocumentNode;
|
|
195
|
+
export declare const MODIFY_CURRENT_MARK_FRAGMENT: import("@apollo/client").DocumentNode;
|
|
196
|
+
/**
|
|
197
|
+
* MODIFY_MARKSHEET_STATE
|
|
198
|
+
*/
|
|
199
|
+
export declare const MODIFY_MARKSHEET_STATE: import("@apollo/client").DocumentNode;
|
|
200
|
+
export declare const MODIFY_MARKSHEET_STATE_FRAGMENT: import("@apollo/client").DocumentNode;
|
|
201
|
+
/**
|
|
202
|
+
* modifyMarksheetMark
|
|
203
|
+
*/
|
|
204
|
+
export declare type IModifyMarksheetMarkVarInput = Required<Pick<IQbankInfoInput, 'action' | 'markData' | 'marksheetId'>>;
|
|
205
|
+
export interface IModifyMarksheetMarkVar {
|
|
206
|
+
input: IModifyMarksheetMarkVarInput;
|
|
207
|
+
}
|
|
208
|
+
export declare type IModifyMarksheetMarkData = RestrictedData<graphqlNormalize & IMarksheetMark, 'modifyMarksheetMark'>;
|
|
209
|
+
export declare const MODIFY_MARKSHEET_MARK: import("@apollo/client").DocumentNode;
|
|
210
|
+
export declare const MODIFY_MARKSHEET_MARK_STRIKED: import("@apollo/client").DocumentNode;
|
|
211
|
+
export declare const MODIFY_MARKSHEET_MARK_STRIKED_FRAGMENT: import("@apollo/client").DocumentNode;
|
|
212
|
+
export declare const MODIFY_MARKSHEET_MARK_QUESTIONCHOICEID: import("@apollo/client").DocumentNode;
|
|
213
|
+
export declare const MODIFY_MARKSHEET_MARK_QUESTIONCHOICEID_FRAGMENT: import("@apollo/client").DocumentNode;
|
|
214
|
+
export declare const MODIFY_CURRENT_MARKSHEET_MARK: import("@apollo/client").DocumentNode;
|
|
215
|
+
export declare const MODIFY_CURRENT_MARKSHEET_MARK_FRAGMENT: import("@apollo/client").DocumentNode;
|
|
180
216
|
/**
|
|
181
217
|
* leaveMarksheet
|
|
182
218
|
*/
|