@uniteverses/shared 1.0.27 → 1.0.29

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.
@@ -2,10 +2,18 @@ export interface SatExamOrganization {
2
2
  id: string;
3
3
  name: string;
4
4
  }
5
+ export interface SatExamQuestionTypeGroup {
6
+ id: string;
7
+ name: string;
8
+ label: string;
9
+ types: SatExamQuestionType[];
10
+ }
5
11
  export interface SatExamQuestionType {
6
12
  id: string;
13
+ groupId: string | null;
7
14
  name: string;
8
15
  label: string;
16
+ group: SatExamQuestionTypeGroup | null;
9
17
  }
10
18
  export interface SatExamOption {
11
19
  id: string;
@@ -159,11 +167,21 @@ export interface UpdateSatExamQuestionInput {
159
167
  discrimination?: number;
160
168
  guessing?: number;
161
169
  }
170
+ export interface CreateSatExamQuestionTypeGroupInput {
171
+ name: string;
172
+ label: string;
173
+ }
174
+ export interface UpdateSatExamQuestionTypeGroupInput {
175
+ name?: string;
176
+ label?: string;
177
+ }
162
178
  export interface CreateSatExamQuestionTypeInput {
179
+ groupId?: string;
163
180
  name: string;
164
181
  label: string;
165
182
  }
166
183
  export interface UpdateSatExamQuestionTypeInput {
184
+ groupId?: string | null;
167
185
  name?: string;
168
186
  label?: string;
169
187
  }
@@ -183,3 +201,68 @@ export interface CreateSatExamCorrectAnswerInput {
183
201
  export interface UpdateSatExamCorrectAnswerInput {
184
202
  value?: string;
185
203
  }
204
+ export interface SatExamTemplate {
205
+ id: string;
206
+ organizationId: string;
207
+ title: string;
208
+ description: string | null;
209
+ createdAt: string;
210
+ updatedAt: string;
211
+ organization: SatExamOrganization;
212
+ sections: SatExamTemplateSection[];
213
+ }
214
+ export interface SatExamTemplateSection {
215
+ id: string;
216
+ templateId: string;
217
+ name: string;
218
+ order: number;
219
+ timeLimitMinutes: number | null;
220
+ module: number | null;
221
+ questions: SatExamTemplateQuestion[];
222
+ }
223
+ export interface SatExamTemplateQuestion {
224
+ id: string;
225
+ sectionId: string;
226
+ order: number;
227
+ types: SatExamTemplateQuestionType[];
228
+ }
229
+ export interface SatExamTemplateQuestionType {
230
+ id: string;
231
+ questionId: string;
232
+ typeId: string;
233
+ type: SatExamQuestionType;
234
+ }
235
+ export interface CreateSatExamTemplateInput {
236
+ organizationId: string;
237
+ title: string;
238
+ description?: string;
239
+ }
240
+ export interface UpdateSatExamTemplateInput {
241
+ title?: string;
242
+ description?: string;
243
+ organizationId?: string;
244
+ }
245
+ export interface CreateSatExamTemplateSectionInput {
246
+ templateId: string;
247
+ name: string;
248
+ order: number;
249
+ timeLimitMinutes?: number;
250
+ module?: number;
251
+ }
252
+ export interface UpdateSatExamTemplateSectionInput {
253
+ name?: string;
254
+ order?: number;
255
+ timeLimitMinutes?: number | null;
256
+ module?: number | null;
257
+ }
258
+ export interface CreateSatExamTemplateQuestionInput {
259
+ sectionId: string;
260
+ order: number;
261
+ }
262
+ export interface UpdateSatExamTemplateQuestionInput {
263
+ order?: number;
264
+ }
265
+ export interface CreateSatExamTemplateQuestionTypeInput {
266
+ questionId: string;
267
+ typeId: string;
268
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniteverses/shared",
3
- "version": "1.0.27",
3
+ "version": "1.0.29",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [