@examplary/schemas 1.16.0 → 1.17.0

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.
@@ -52,5 +52,6 @@ export declare const QuestionScoringSchema: z.ZodObject<{
52
52
  guidance: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
53
  modelAnswer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
54
  templateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ excludeFromGrading: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
55
56
  }, z.core.$strip>;
56
57
  export type QuestionScoring = z.infer<typeof QuestionScoringSchema>;
@@ -63,4 +63,8 @@ exports.QuestionScoringSchema = zod_1.z.object({
63
63
  .string()
64
64
  .nullish()
65
65
  .describe("The ID of the scoring template applied, if any."),
66
+ excludeFromGrading: zod_1.z
67
+ .boolean()
68
+ .nullish()
69
+ .describe("Whether this question is excluded from grading. Excluded questions do not count towards the total points or grade of a session, but can still be answered and reviewed."),
66
70
  });
@@ -27,6 +27,7 @@ export declare const QuestionSchema: z.ZodObject<{
27
27
  guidance: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  modelAnswer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  templateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ excludeFromGrading: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
30
31
  }, z.core.$strip>>>;
31
32
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
32
33
  externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -33,6 +33,7 @@ export declare const QuestionTypeResponseProcessing: z.ZodObject<{
33
33
  guidance: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  modelAnswer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  templateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ excludeFromGrading: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
36
37
  }, z.core.$strip>>>>;
37
38
  tags: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>;
38
39
  externalId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -48,6 +48,7 @@ export declare const QuestionTypeSchema: z.ZodObject<{
48
48
  guidance: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
49
  modelAnswer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
50
  templateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ excludeFromGrading: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
51
52
  }, z.core.$strip>>>>;
52
53
  tags: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>;
53
54
  externalId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -218,6 +218,17 @@
218
218
  "type": "null"
219
219
  }
220
220
  ]
221
+ },
222
+ "excludeFromGrading": {
223
+ "description": "Whether this question is excluded from grading. Excluded questions do not count towards the total points or grade of a session, but can still be answered and reviewed.",
224
+ "anyOf": [
225
+ {
226
+ "type": "boolean"
227
+ },
228
+ {
229
+ "type": "null"
230
+ }
231
+ ]
221
232
  }
222
233
  },
223
234
  "additionalProperties": false
@@ -424,6 +424,17 @@
424
424
  "type": "null"
425
425
  }
426
426
  ]
427
+ },
428
+ "excludeFromGrading": {
429
+ "description": "Whether this question is excluded from grading. Excluded questions do not count towards the total points or grade of a session, but can still be answered and reviewed.",
430
+ "anyOf": [
431
+ {
432
+ "type": "boolean"
433
+ },
434
+ {
435
+ "type": "null"
436
+ }
437
+ ]
427
438
  }
428
439
  },
429
440
  "additionalProperties": false
@@ -260,6 +260,17 @@
260
260
  "type": "null"
261
261
  }
262
262
  ]
263
+ },
264
+ "excludeFromGrading": {
265
+ "description": "Whether this question is excluded from grading. Excluded questions do not count towards the total points or grade of a session, but can still be answered and reviewed.",
266
+ "anyOf": [
267
+ {
268
+ "type": "boolean"
269
+ },
270
+ {
271
+ "type": "null"
272
+ }
273
+ ]
263
274
  }
264
275
  },
265
276
  "additionalProperties": false
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@examplary/schemas",
3
3
  "packageManager": "yarn@4.8.1",
4
- "version": "1.16.0",
4
+ "version": "1.17.0",
5
5
  "description": "Schemas for the Examplary platform.",
6
6
  "scripts": {
7
7
  "build:schema": "tsx ./scripts/build.ts",