@timeback/core 0.2.1-beta.20260314134943 → 0.2.1-beta.20260314155353
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/{chunk-cjf6wewp.js → chunk-wvs4tg34.js} +16 -2
- package/dist/index.js +45 -1
- package/dist/utils.js +1 -1
- package/package.json +1 -1
|
@@ -793,7 +793,9 @@ var EduBridgeEnrollment = z7.object({
|
|
|
793
793
|
school: z7.object({
|
|
794
794
|
id: z7.string(),
|
|
795
795
|
name: z7.string()
|
|
796
|
-
})
|
|
796
|
+
}),
|
|
797
|
+
testOutSupported: z7.boolean(),
|
|
798
|
+
testOutEligible: z7.boolean()
|
|
797
799
|
});
|
|
798
800
|
var SubjectMetrics = z7.object({
|
|
799
801
|
activityMetrics: z7.object({
|
|
@@ -1591,6 +1593,18 @@ var PowerPathPlacementQueryParams = z10.object({
|
|
|
1591
1593
|
student: NonEmptyString,
|
|
1592
1594
|
subject: TimebackSubject
|
|
1593
1595
|
});
|
|
1596
|
+
var PowerPathMakeExternalStudentTestOutAssignmentInput = z10.object({
|
|
1597
|
+
oneRosterSourcedId: NonEmptyString,
|
|
1598
|
+
subject: NonEmptyString
|
|
1599
|
+
});
|
|
1600
|
+
var PowerPathRenderConfigUpsertInput = z10.object({
|
|
1601
|
+
courseIds: z10.array(NonEmptyString).min(1),
|
|
1602
|
+
rendererId: NonEmptyString,
|
|
1603
|
+
rendererUrl: z10.url(),
|
|
1604
|
+
rendererVersion: NonEmptyString.optional(),
|
|
1605
|
+
suppressFeedback: z10.boolean().optional(),
|
|
1606
|
+
suppressCorrectResponse: z10.boolean().optional()
|
|
1607
|
+
});
|
|
1594
1608
|
var PowerPathSyllabusQueryParams = z10.object({
|
|
1595
1609
|
status: z10.enum(["active", "tobedeleted"]).optional()
|
|
1596
1610
|
});
|
|
@@ -2119,4 +2133,4 @@ function createEdubridgeClient(registry = DEFAULT_PROVIDER_REGISTRY) {
|
|
|
2119
2133
|
|
|
2120
2134
|
// ../edubridge/src/client.ts
|
|
2121
2135
|
var EdubridgeClient = createEdubridgeClient();
|
|
2122
|
-
export { ActivityCompletedInput, TimeSpentInput, CaliperEnvelopeInput, CaliperSendEventsInput, CaliperListEventsParams, QuestionSeenInput, QuestionAnsweredInput, QuestionGradedInput, WebhookCreateInput, WebhookUpdateInput, WebhookFilterCreateInput, WebhookFilterUpdateInput, CasePackageInput, ClrCredentialInput, OneRosterUserCreateInput, OneRosterCourseCreateInput, OneRosterClassCreateInput, OneRosterEnrollmentCreateInput, OneRosterCategoryCreateInput, OneRosterLineItemCreateInput, OneRosterResultCreateInput, OneRosterScoreScaleCreateInput, OneRosterAssessmentLineItemCreateInput, OneRosterAssessmentResultCreateInput, OneRosterOrgCreateInput, OneRosterSchoolCreateInput, OneRosterAcademicSessionCreateInput, OneRosterComponentResourceCreateInput, OneRosterCourseComponentCreateInput, OneRosterEnrollInput, OneRosterAgentInput, OneRosterCredentialInput, OneRosterDemographicsCreateInput, OneRosterResourceCreateInput, OneRosterCourseStructureInput, OneRosterBulkResultsInput, PowerPathCreateExternalPlacementTestInput, PowerPathCreateExternalTestOutInput, PowerPathCreateInternalTestInput, PowerPathCreateNewAttemptInput, PowerPathFinalStudentAssessmentResponseInput, PowerPathLessonPlansCreateInput, PowerPathLessonPlanOperationsInput, PowerPathLessonPlanUpdateStudentItemResponseInput, PowerPathMakeExternalTestAssignmentInput, PowerPathPlacementResetUserPlacementInput, PowerPathResetAttemptInput, PowerPathScreeningResetSessionInput, PowerPathScreeningAssignTestInput, PowerPathTestAssignmentsCreateInput, PowerPathTestAssignmentsUpdateInput, PowerPathTestAssignmentsBulkInput, PowerPathTestAssignmentsImportInput, PowerPathTestAssignmentsListParams, PowerPathTestAssignmentsAdminParams, PowerPathUpdateStudentQuestionResponseInput, PowerPathGetAssessmentProgressParams, PowerPathGetNextQuestionParams, PowerPathGetAttemptsParams, PowerPathTestOutParams, PowerPathImportExternalTestAssignmentResultsParams, PowerPathPlacementQueryParams, PowerPathSyllabusQueryParams, QtiAssessmentItemXmlCreateInput, QtiAssessmentItemJsonCreateInput, QtiAssessmentItemCreateInput, QtiAssessmentItemUpdateInput, QtiAssessmentItemProcessResponseInput, QtiAssessmentItemRef, QtiAssessmentSection, QtiTestPart, QtiReorderItemsInput, QtiAssessmentTestMetadataUpdateInput, QtiAssessmentTestCreateInput, QtiAssessmentTestUpdateInput, QtiStimulusCreateInput, QtiStimulusUpdateInput, QtiValidateInput, QtiValidateBatchInput, QtiLessonFeedbackInput, aggregateActivityMetrics, EdubridgeClient };
|
|
2136
|
+
export { ActivityCompletedInput, TimeSpentInput, CaliperEnvelopeInput, CaliperSendEventsInput, CaliperListEventsParams, QuestionSeenInput, QuestionAnsweredInput, QuestionGradedInput, WebhookCreateInput, WebhookUpdateInput, WebhookFilterCreateInput, WebhookFilterUpdateInput, CasePackageInput, ClrCredentialInput, OneRosterUserCreateInput, OneRosterCourseCreateInput, OneRosterClassCreateInput, OneRosterEnrollmentCreateInput, OneRosterCategoryCreateInput, OneRosterLineItemCreateInput, OneRosterResultCreateInput, OneRosterScoreScaleCreateInput, OneRosterAssessmentLineItemCreateInput, OneRosterAssessmentResultCreateInput, OneRosterOrgCreateInput, OneRosterSchoolCreateInput, OneRosterAcademicSessionCreateInput, OneRosterComponentResourceCreateInput, OneRosterCourseComponentCreateInput, OneRosterEnrollInput, OneRosterAgentInput, OneRosterCredentialInput, OneRosterDemographicsCreateInput, OneRosterResourceCreateInput, OneRosterCourseStructureInput, OneRosterBulkResultsInput, PowerPathCreateExternalPlacementTestInput, PowerPathCreateExternalTestOutInput, PowerPathCreateInternalTestInput, PowerPathCreateNewAttemptInput, PowerPathFinalStudentAssessmentResponseInput, PowerPathLessonPlansCreateInput, PowerPathLessonPlanOperationsInput, PowerPathLessonPlanUpdateStudentItemResponseInput, PowerPathMakeExternalTestAssignmentInput, PowerPathPlacementResetUserPlacementInput, PowerPathResetAttemptInput, PowerPathScreeningResetSessionInput, PowerPathScreeningAssignTestInput, PowerPathTestAssignmentsCreateInput, PowerPathTestAssignmentsUpdateInput, PowerPathTestAssignmentsBulkInput, PowerPathTestAssignmentsImportInput, PowerPathTestAssignmentsListParams, PowerPathTestAssignmentsAdminParams, PowerPathUpdateStudentQuestionResponseInput, PowerPathGetAssessmentProgressParams, PowerPathGetNextQuestionParams, PowerPathGetAttemptsParams, PowerPathTestOutParams, PowerPathImportExternalTestAssignmentResultsParams, PowerPathPlacementQueryParams, PowerPathMakeExternalStudentTestOutAssignmentInput, PowerPathRenderConfigUpsertInput, PowerPathSyllabusQueryParams, QtiAssessmentItemXmlCreateInput, QtiAssessmentItemJsonCreateInput, QtiAssessmentItemCreateInput, QtiAssessmentItemUpdateInput, QtiAssessmentItemProcessResponseInput, QtiAssessmentItemRef, QtiAssessmentSection, QtiTestPart, QtiReorderItemsInput, QtiAssessmentTestMetadataUpdateInput, QtiAssessmentTestCreateInput, QtiAssessmentTestUpdateInput, QtiStimulusCreateInput, QtiStimulusUpdateInput, QtiValidateInput, QtiValidateBatchInput, QtiLessonFeedbackInput, aggregateActivityMetrics, EdubridgeClient };
|
package/dist/index.js
CHANGED
|
@@ -40,9 +40,11 @@ import {
|
|
|
40
40
|
PowerPathLessonPlanOperationsInput,
|
|
41
41
|
PowerPathLessonPlanUpdateStudentItemResponseInput,
|
|
42
42
|
PowerPathLessonPlansCreateInput,
|
|
43
|
+
PowerPathMakeExternalStudentTestOutAssignmentInput,
|
|
43
44
|
PowerPathMakeExternalTestAssignmentInput,
|
|
44
45
|
PowerPathPlacementQueryParams,
|
|
45
46
|
PowerPathPlacementResetUserPlacementInput,
|
|
47
|
+
PowerPathRenderConfigUpsertInput,
|
|
46
48
|
PowerPathResetAttemptInput,
|
|
47
49
|
PowerPathScreeningAssignTestInput,
|
|
48
50
|
PowerPathScreeningResetSessionInput,
|
|
@@ -80,7 +82,7 @@ import {
|
|
|
80
82
|
WebhookFilterCreateInput,
|
|
81
83
|
WebhookFilterUpdateInput,
|
|
82
84
|
WebhookUpdateInput
|
|
83
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-wvs4tg34.js";
|
|
84
86
|
import {
|
|
85
87
|
ApiError,
|
|
86
88
|
BaseTransport,
|
|
@@ -2822,6 +2824,28 @@ class PlacementResource {
|
|
|
2822
2824
|
});
|
|
2823
2825
|
}
|
|
2824
2826
|
}
|
|
2827
|
+
// ../powerpath/src/resources/render-config.ts
|
|
2828
|
+
class RenderConfigResource {
|
|
2829
|
+
transport;
|
|
2830
|
+
constructor(transport) {
|
|
2831
|
+
this.transport = transport;
|
|
2832
|
+
}
|
|
2833
|
+
upsert(input) {
|
|
2834
|
+
validateWithSchema(PowerPathRenderConfigUpsertInput, input, "render config upsert");
|
|
2835
|
+
return this.transport.request(`${this.transport.paths.base}/render-config/`, {
|
|
2836
|
+
method: "PUT",
|
|
2837
|
+
body: input
|
|
2838
|
+
});
|
|
2839
|
+
}
|
|
2840
|
+
get(courseId) {
|
|
2841
|
+
validateNonEmptyString(courseId, "courseId");
|
|
2842
|
+
return this.transport.request(`${this.transport.paths.base}/render-config/${encodeURIComponent(courseId)}`);
|
|
2843
|
+
}
|
|
2844
|
+
delete(courseId) {
|
|
2845
|
+
validateNonEmptyString(courseId, "courseId");
|
|
2846
|
+
return this.transport.request(`${this.transport.paths.base}/render-config/${encodeURIComponent(courseId)}`, { method: "DELETE" });
|
|
2847
|
+
}
|
|
2848
|
+
}
|
|
2825
2849
|
// ../powerpath/src/resources/screening.ts
|
|
2826
2850
|
class ScreeningResource {
|
|
2827
2851
|
transport;
|
|
@@ -2977,6 +3001,22 @@ class TestAssignmentsResource {
|
|
|
2977
3001
|
});
|
|
2978
3002
|
}
|
|
2979
3003
|
}
|
|
3004
|
+
// ../powerpath/src/resources/test-out.ts
|
|
3005
|
+
class TestOutResource {
|
|
3006
|
+
transport;
|
|
3007
|
+
constructor(transport) {
|
|
3008
|
+
this.transport = transport;
|
|
3009
|
+
}
|
|
3010
|
+
getEligibility(studentId, subject) {
|
|
3011
|
+
validateNonEmptyString(studentId, "studentId");
|
|
3012
|
+
validateNonEmptyString(subject, "subject");
|
|
3013
|
+
return this.transport.request(`${this.transport.paths.base}/test-out/getTestOutEligibility/${encodeURIComponent(studentId)}/${encodeURIComponent(subject)}`);
|
|
3014
|
+
}
|
|
3015
|
+
createAssignment(input) {
|
|
3016
|
+
validateWithSchema(PowerPathMakeExternalStudentTestOutAssignmentInput, input, "make external student test out assignment");
|
|
3017
|
+
return this.transport.request(`${this.transport.paths.base}/test-out/makeExternalStudentTestOutAssignment`, { method: "POST", body: input });
|
|
3018
|
+
}
|
|
3019
|
+
}
|
|
2980
3020
|
// ../powerpath/src/factory.ts
|
|
2981
3021
|
function createPowerPathClient(registry = DEFAULT_PROVIDER_REGISTRY) {
|
|
2982
3022
|
return class PowerPathClient {
|
|
@@ -2985,9 +3025,11 @@ function createPowerPathClient(registry = DEFAULT_PROVIDER_REGISTRY) {
|
|
|
2985
3025
|
assessments;
|
|
2986
3026
|
lessonPlans;
|
|
2987
3027
|
placement;
|
|
3028
|
+
renderConfig;
|
|
2988
3029
|
screening;
|
|
2989
3030
|
syllabus;
|
|
2990
3031
|
testAssignments;
|
|
3032
|
+
testOut;
|
|
2991
3033
|
constructor(config = {}) {
|
|
2992
3034
|
const resolved = resolveToProvider6(config, registry);
|
|
2993
3035
|
if (resolved.mode === "transport") {
|
|
@@ -3016,9 +3058,11 @@ function createPowerPathClient(registry = DEFAULT_PROVIDER_REGISTRY) {
|
|
|
3016
3058
|
this.assessments = new AssessmentResource(this.transport);
|
|
3017
3059
|
this.lessonPlans = new LessonPlansResource(this.transport);
|
|
3018
3060
|
this.placement = new PlacementResource(this.transport);
|
|
3061
|
+
this.renderConfig = new RenderConfigResource(this.transport);
|
|
3019
3062
|
this.screening = new ScreeningResource(this.transport);
|
|
3020
3063
|
this.syllabus = new SyllabusResource(this.transport);
|
|
3021
3064
|
this.testAssignments = new TestAssignmentsResource(this.transport);
|
|
3065
|
+
this.testOut = new TestOutResource(this.transport);
|
|
3022
3066
|
}
|
|
3023
3067
|
getTransport() {
|
|
3024
3068
|
return this.transport;
|
package/dist/utils.js
CHANGED