@edpire/sdk 0.8.0 → 0.8.1

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/react.d.mts CHANGED
@@ -158,6 +158,12 @@ interface SubmitResult {
158
158
  exerciseFeedback: ExerciseFeedbackData[];
159
159
  /** When true, score banners hide the score (still being reviewed). */
160
160
  awaitingManualGrading?: boolean;
161
+ /**
162
+ * When true, an AI-marked answer has no mark yet (it did not come back in
163
+ * time). The banner then says the answers are still being marked, rather
164
+ * than that a teacher is reviewing open responses.
165
+ */
166
+ aiPending?: boolean;
161
167
  }
162
168
 
163
169
  type SpinnerTheme = "default" | "dots" | "pulse" | "bars";
@@ -201,6 +207,8 @@ interface EmbedResult {
201
207
  attempt_number: number;
202
208
  /** True when the submission contains open-response nodes still pending teacher review. */
203
209
  awaiting_manual_grading?: boolean;
210
+ /** True when an AI-marked answer has no mark yet: it is being marked, not scored 0. */
211
+ ai_pending?: boolean;
204
212
  exercise_results: Array<{
205
213
  exercise_id: string;
206
214
  total_score: number;