@edpire/sdk 0.6.3 → 0.6.5
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/README.md +445 -443
- package/dist/chunk-76CZ6Z7T.mjs +1 -0
- package/dist/client.d.mts +44 -3
- package/dist/client.mjs +15 -5
- package/dist/dist-3D2JPDV3.mjs +11 -0
- package/dist/esm-RQP7AIMT.mjs +136 -0
- package/dist/index.d.mts +8 -1
- package/dist/index.mjs +52 -7
- package/dist/react.d.mts +9 -1
- package/dist/react.mjs +52 -7
- package/dist/sql-wasm-browser-NICPVFVD.mjs +2 -0
- package/dist/umd/index.global.js +454 -251
- package/examples/nextjs/README.md +66 -66
- package/examples/vite-express/README.md +69 -69
- package/examples/vite-express/server.ts +96 -84
- package/examples/vite-express/src/App.tsx +56 -56
- package/package.json +5 -4
- package/src/styles/runtime-utilities.css +1 -1
- package/src/styles/shell.css +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -339,10 +339,17 @@ interface AssessmentSummary {
|
|
|
339
339
|
id: string;
|
|
340
340
|
title: string;
|
|
341
341
|
description: string | null;
|
|
342
|
-
|
|
342
|
+
/**
|
|
343
|
+
* Free-form label (max 80 chars), set by the author. Replaces the old
|
|
344
|
+
* `type: "quiz" | "exam" | "practice"` enum, which the API never returned.
|
|
345
|
+
*/
|
|
346
|
+
category: string | null;
|
|
343
347
|
status: string;
|
|
344
348
|
share_code: string | null;
|
|
345
349
|
settings: Record<string, unknown>;
|
|
350
|
+
/** Sum of answer-key max scores. Use this to normalize scores, not the sum of `points`. */
|
|
351
|
+
max_score?: number;
|
|
352
|
+
/** Present on the list endpoint only, not on a single-assessment fetch. */
|
|
346
353
|
exercise_count?: number;
|
|
347
354
|
created_at: string;
|
|
348
355
|
updated_at: string;
|