@playcademy/sdk 0.16.1-beta.26 → 0.16.1-beta.27
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/index.js +1 -1
- package/dist/internal.d.ts +7 -1
- package/dist/internal.js +3 -3
- package/dist/server/edge.js +1 -1
- package/dist/server.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3684,7 +3684,7 @@ async function request({
|
|
|
3684
3684
|
return rawText && rawText.length > 0 ? rawText : undefined;
|
|
3685
3685
|
}
|
|
3686
3686
|
// src/version.ts
|
|
3687
|
-
var SDK_VERSION = "0.16.1-beta.
|
|
3687
|
+
var SDK_VERSION = "0.16.1-beta.27";
|
|
3688
3688
|
|
|
3689
3689
|
// src/clients/base.ts
|
|
3690
3690
|
class PlaycademyBaseClient {
|
package/dist/internal.d.ts
CHANGED
|
@@ -4025,6 +4025,7 @@ declare class PlaycademyInternalClient extends PlaycademyBaseClient {
|
|
|
4025
4025
|
assessments: {
|
|
4026
4026
|
list: (gameId: string, courseId: string) => Promise<_playcademy_types.AssessmentSummary[]>;
|
|
4027
4027
|
create: (gameId: string, courseId: string, data: {
|
|
4028
|
+
assessmentKey: string;
|
|
4028
4029
|
title: string;
|
|
4029
4030
|
purpose: Exclude<_playcademy_types.AssessmentPurpose, 'diagnostic'>;
|
|
4030
4031
|
standard?: _playcademy_types.AssessmentStandardRef;
|
|
@@ -4045,7 +4046,12 @@ declare class PlaycademyInternalClient extends PlaycademyBaseClient {
|
|
|
4045
4046
|
action: 'discarded' | 'archived';
|
|
4046
4047
|
}>;
|
|
4047
4048
|
listTestLibrary: (gameId: string, courseId: string, options?: QtiLibraryQueryOptions) => Promise<_playcademy_types.QtiAssessmentTestListResponse>;
|
|
4048
|
-
copy: (gameId: string, courseId: string,
|
|
4049
|
+
copy: (gameId: string, courseId: string, data: {
|
|
4050
|
+
testIdentifier: string;
|
|
4051
|
+
assessmentKey: string;
|
|
4052
|
+
purpose: Exclude<_playcademy_types.AssessmentPurpose, 'diagnostic'>;
|
|
4053
|
+
standard?: _playcademy_types.AssessmentStandardRef;
|
|
4054
|
+
}) => Promise<_playcademy_types.AssessmentRow>;
|
|
4049
4055
|
listQuestions: (gameId: string, courseId: string, testIdentifier: string) => Promise<_playcademy_types.QtiTestQuestionsResponse>;
|
|
4050
4056
|
listQuestionLibrary: (gameId: string, courseId: string, options?: QtiLibraryQueryOptions) => Promise<_playcademy_types.QtiAssessmentItemListResponse>;
|
|
4051
4057
|
createQuestion: (gameId: string, courseId: string, testIdentifier: string, data: _playcademy_types.QtiQuestionCreateInput) => Promise<_playcademy_types.QtiTestQuestionRef>;
|
package/dist/internal.js
CHANGED
|
@@ -4145,8 +4145,8 @@ function createAssessmentNamespace(client) {
|
|
|
4145
4145
|
}),
|
|
4146
4146
|
remove: (gameId, courseId, testIdentifier) => client["request"](assessmentPath(gameId, courseId, testIdentifier), "DELETE"),
|
|
4147
4147
|
listTestLibrary: (gameId, courseId, options = {}) => client["request"](`${assessmentPath(gameId, courseId, "test-library")}${buildQtiLibraryQueryString(options)}`, "GET"),
|
|
4148
|
-
copy: (gameId, courseId,
|
|
4149
|
-
body:
|
|
4148
|
+
copy: (gameId, courseId, data) => client["request"](assessmentPath(gameId, courseId, "copies"), "POST", {
|
|
4149
|
+
body: data
|
|
4150
4150
|
}),
|
|
4151
4151
|
listQuestions: (gameId, courseId, testIdentifier) => client["request"](assessmentPath(gameId, courseId, testIdentifier, "questions"), "GET"),
|
|
4152
4152
|
listQuestionLibrary: (gameId, courseId, options = {}) => client["request"](`${assessmentPath(gameId, courseId, "question-library")}${buildQtiLibraryQueryString(options)}`, "GET"),
|
|
@@ -4579,7 +4579,7 @@ async function request({
|
|
|
4579
4579
|
return rawText && rawText.length > 0 ? rawText : undefined;
|
|
4580
4580
|
}
|
|
4581
4581
|
// src/version.ts
|
|
4582
|
-
var SDK_VERSION = "0.16.1-beta.
|
|
4582
|
+
var SDK_VERSION = "0.16.1-beta.27";
|
|
4583
4583
|
|
|
4584
4584
|
// src/clients/base.ts
|
|
4585
4585
|
class PlaycademyBaseClient {
|
package/dist/server/edge.js
CHANGED
package/dist/server.js
CHANGED