@timeback/powerpath 0.2.0 → 0.2.1-beta.20260314151810
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/client.d.ts +1 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/factory.d.ts +3 -1
- package/dist/factory.d.ts.map +1 -1
- package/dist/index.d.ts +79 -0
- package/dist/index.js +32 -0
- package/dist/public-types.d.ts +41 -1
- package/dist/public-types.d.ts.map +1 -1
- package/dist/resources/index.d.ts +1 -0
- package/dist/resources/index.d.ts.map +1 -1
- package/dist/resources/render-config.d.ts +38 -0
- package/dist/resources/render-config.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -63,6 +63,7 @@ export declare const PowerPathClient: {
|
|
|
63
63
|
readonly assessments: import("./resources").AssessmentResource;
|
|
64
64
|
readonly lessonPlans: import("./resources").LessonPlansResource;
|
|
65
65
|
readonly placement: import("./resources").PlacementResource;
|
|
66
|
+
readonly renderConfig: import("./resources").RenderConfigResource;
|
|
66
67
|
readonly screening: import("./resources").ScreeningResource;
|
|
67
68
|
readonly syllabus: import("./resources").SyllabusResource;
|
|
68
69
|
readonly testAssignments: import("./resources").TestAssignmentsResource;
|
package/dist/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;CAA0B,CAAA;AAEtD,YAAY,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAA"}
|
package/dist/factory.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Creates PowerPathClient classes bound to specific provider registries.
|
|
5
5
|
*/
|
|
6
|
-
import { AssessmentResource, LessonPlansResource, PlacementResource, ScreeningResource, SyllabusResource, TestAssignmentsResource } from './resources';
|
|
6
|
+
import { AssessmentResource, LessonPlansResource, PlacementResource, RenderConfigResource, ScreeningResource, SyllabusResource, TestAssignmentsResource } from './resources';
|
|
7
7
|
import type { AuthCheckResult, ProviderRegistry, TimebackProvider } from '@timeback/internal-client-infra';
|
|
8
8
|
import type { PowerPathClientConfig, PowerPathTransportLike } from './types';
|
|
9
9
|
/**
|
|
@@ -24,6 +24,8 @@ export declare function createPowerPathClient(registry?: ProviderRegistry): {
|
|
|
24
24
|
readonly lessonPlans: LessonPlansResource;
|
|
25
25
|
/** Placement testing and progress */
|
|
26
26
|
readonly placement: PlacementResource;
|
|
27
|
+
/** Custom renderer configurations for courses */
|
|
28
|
+
readonly renderConfig: RenderConfigResource;
|
|
27
29
|
/** Screening sessions and results */
|
|
28
30
|
readonly screening: ScreeningResource;
|
|
29
31
|
/** Course syllabus retrieval */
|
package/dist/factory.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../src/factory.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,EACN,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,uBAAuB,EACvB,MAAM,aAAa,CAAA;AAGpB,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../src/factory.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,EACN,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,EAChB,uBAAuB,EACvB,MAAM,aAAa,CAAA;AAGpB,OAAO,KAAK,EACX,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAE5E;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,QAAQ,GAAE,gBAA4C;;QAQ1F,gBAAgB;;QAGhB,gBAAgB;;QAGhB,uDAAuD;;QAEvD,8CAA8C;;QAE9C,qCAAqC;;QAErC,iDAAiD;;QAEjD,qCAAqC;;QAErC,gCAAgC;;QAEhC,+CAA+C;;QA+C/C;;;WAGG;;QAKH;;;;WAIG;;;EASJ"}
|
package/dist/index.d.ts
CHANGED
|
@@ -751,6 +751,36 @@ interface UpdateStudentItemResponseResult {
|
|
|
751
751
|
[key: string]: unknown
|
|
752
752
|
}
|
|
753
753
|
|
|
754
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
755
|
+
// RENDER CONFIG
|
|
756
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* Result from upserting render configs for one or more courses.
|
|
760
|
+
*/
|
|
761
|
+
interface RenderConfigUpsertResponse {
|
|
762
|
+
updated: string[]
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
/**
|
|
766
|
+
* Render config for a single course.
|
|
767
|
+
*/
|
|
768
|
+
interface RenderConfigGetResponse {
|
|
769
|
+
courseId: string
|
|
770
|
+
rendererId: string
|
|
771
|
+
rendererUrl: string
|
|
772
|
+
rendererVersion?: string | null
|
|
773
|
+
suppressFeedback: boolean
|
|
774
|
+
suppressCorrectResponse: boolean
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
/**
|
|
778
|
+
* Result from deleting a render config.
|
|
779
|
+
*/
|
|
780
|
+
interface RenderConfigDeleteResponse {
|
|
781
|
+
deleted: string
|
|
782
|
+
}
|
|
783
|
+
|
|
754
784
|
// ═══════════════════════════════════════════════════════════════════════════════
|
|
755
785
|
// SYLLABUS
|
|
756
786
|
// ═══════════════════════════════════════════════════════════════════════════════
|
|
@@ -1053,6 +1083,15 @@ declare const PowerPathPlacementQueryParams = z.object({
|
|
|
1053
1083
|
subject: TimebackSubject,
|
|
1054
1084
|
})
|
|
1055
1085
|
|
|
1086
|
+
declare const PowerPathRenderConfigUpsertInput = z.object({
|
|
1087
|
+
courseIds: z.array(NonEmptyString).min(1),
|
|
1088
|
+
rendererId: NonEmptyString,
|
|
1089
|
+
rendererUrl: z.url(),
|
|
1090
|
+
rendererVersion: NonEmptyString.optional(),
|
|
1091
|
+
suppressFeedback: z.boolean().optional(),
|
|
1092
|
+
suppressCorrectResponse: z.boolean().optional(),
|
|
1093
|
+
})
|
|
1094
|
+
|
|
1056
1095
|
declare const PowerPathSyllabusQueryParams = z.object({
|
|
1057
1096
|
status: z.enum(['active', 'tobedeleted']).optional(),
|
|
1058
1097
|
})
|
|
@@ -1103,6 +1142,7 @@ type ImportExternalTestAssignmentResultsParams = input<
|
|
|
1103
1142
|
typeof PowerPathImportExternalTestAssignmentResultsParams
|
|
1104
1143
|
>
|
|
1105
1144
|
type PlacementQueryParams = input<typeof PowerPathPlacementQueryParams>
|
|
1145
|
+
type RenderConfigUpsertInput = input<typeof PowerPathRenderConfigUpsertInput>
|
|
1106
1146
|
type SyllabusQueryParams = input<typeof PowerPathSyllabusQueryParams>
|
|
1107
1147
|
|
|
1108
1148
|
/**
|
|
@@ -1220,6 +1260,42 @@ declare class PlacementResource {
|
|
|
1220
1260
|
resetUserPlacement(input: PlacementResetUserPlacementInput): Promise<ResetPlacementResponse>;
|
|
1221
1261
|
}
|
|
1222
1262
|
|
|
1263
|
+
/**
|
|
1264
|
+
* Render Config Resource
|
|
1265
|
+
*
|
|
1266
|
+
* PowerPath custom renderer configuration operations.
|
|
1267
|
+
*/
|
|
1268
|
+
|
|
1269
|
+
/**
|
|
1270
|
+
* Render config resource for managing custom renderer configurations on courses.
|
|
1271
|
+
*/
|
|
1272
|
+
declare class RenderConfigResource {
|
|
1273
|
+
private readonly transport;
|
|
1274
|
+
/** @param transport - PowerPath transport instance */
|
|
1275
|
+
constructor(transport: PowerPathTransportLike);
|
|
1276
|
+
/**
|
|
1277
|
+
* Upsert render config for one or more courses.
|
|
1278
|
+
*
|
|
1279
|
+
* @param input - Render config data including courseIds, rendererId, and rendererUrl
|
|
1280
|
+
* @returns List of updated course IDs
|
|
1281
|
+
*/
|
|
1282
|
+
upsert(input: RenderConfigUpsertInput): Promise<RenderConfigUpsertResponse>;
|
|
1283
|
+
/**
|
|
1284
|
+
* Get render config for a course.
|
|
1285
|
+
*
|
|
1286
|
+
* @param courseId - The course ID to look up
|
|
1287
|
+
* @returns The render config for the course
|
|
1288
|
+
*/
|
|
1289
|
+
get(courseId: string): Promise<RenderConfigGetResponse>;
|
|
1290
|
+
/**
|
|
1291
|
+
* Delete render config for a course.
|
|
1292
|
+
*
|
|
1293
|
+
* @param courseId - The course ID whose render config to delete
|
|
1294
|
+
* @returns Confirmation with the deleted course ID
|
|
1295
|
+
*/
|
|
1296
|
+
delete(courseId: string): Promise<RenderConfigDeleteResponse>;
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1223
1299
|
/**
|
|
1224
1300
|
* Screening Resource
|
|
1225
1301
|
*
|
|
@@ -1395,6 +1471,7 @@ declare const PowerPathClient: {
|
|
|
1395
1471
|
readonly assessments: AssessmentResource;
|
|
1396
1472
|
readonly lessonPlans: LessonPlansResource;
|
|
1397
1473
|
readonly placement: PlacementResource;
|
|
1474
|
+
readonly renderConfig: RenderConfigResource;
|
|
1398
1475
|
readonly screening: ScreeningResource;
|
|
1399
1476
|
readonly syllabus: SyllabusResource;
|
|
1400
1477
|
readonly testAssignments: TestAssignmentsResource;
|
|
@@ -1427,6 +1504,8 @@ declare function createPowerPathClient(registry?: ProviderRegistry): {
|
|
|
1427
1504
|
readonly lessonPlans: LessonPlansResource;
|
|
1428
1505
|
/** Placement testing and progress */
|
|
1429
1506
|
readonly placement: PlacementResource;
|
|
1507
|
+
/** Custom renderer configurations for courses */
|
|
1508
|
+
readonly renderConfig: RenderConfigResource;
|
|
1430
1509
|
/** Screening sessions and results */
|
|
1431
1510
|
readonly screening: ScreeningResource;
|
|
1432
1511
|
/** Course syllabus retrieval */
|
package/dist/index.js
CHANGED
|
@@ -1519,6 +1519,14 @@ var PowerPathPlacementQueryParams = z10.object({
|
|
|
1519
1519
|
student: NonEmptyString,
|
|
1520
1520
|
subject: TimebackSubject
|
|
1521
1521
|
});
|
|
1522
|
+
var PowerPathRenderConfigUpsertInput = z10.object({
|
|
1523
|
+
courseIds: z10.array(NonEmptyString).min(1),
|
|
1524
|
+
rendererId: NonEmptyString,
|
|
1525
|
+
rendererUrl: z10.url(),
|
|
1526
|
+
rendererVersion: NonEmptyString.optional(),
|
|
1527
|
+
suppressFeedback: z10.boolean().optional(),
|
|
1528
|
+
suppressCorrectResponse: z10.boolean().optional()
|
|
1529
|
+
});
|
|
1522
1530
|
var PowerPathSyllabusQueryParams = z10.object({
|
|
1523
1531
|
status: z10.enum(["active", "tobedeleted"]).optional()
|
|
1524
1532
|
});
|
|
@@ -1971,6 +1979,28 @@ class PlacementResource {
|
|
|
1971
1979
|
});
|
|
1972
1980
|
}
|
|
1973
1981
|
}
|
|
1982
|
+
// src/resources/render-config.ts
|
|
1983
|
+
class RenderConfigResource {
|
|
1984
|
+
transport;
|
|
1985
|
+
constructor(transport) {
|
|
1986
|
+
this.transport = transport;
|
|
1987
|
+
}
|
|
1988
|
+
upsert(input) {
|
|
1989
|
+
validateWithSchema(PowerPathRenderConfigUpsertInput, input, "render config upsert");
|
|
1990
|
+
return this.transport.request(`${this.transport.paths.base}/render-config/`, {
|
|
1991
|
+
method: "PUT",
|
|
1992
|
+
body: input
|
|
1993
|
+
});
|
|
1994
|
+
}
|
|
1995
|
+
get(courseId) {
|
|
1996
|
+
validateNonEmptyString(courseId, "courseId");
|
|
1997
|
+
return this.transport.request(`${this.transport.paths.base}/render-config/${encodeURIComponent(courseId)}`);
|
|
1998
|
+
}
|
|
1999
|
+
delete(courseId) {
|
|
2000
|
+
validateNonEmptyString(courseId, "courseId");
|
|
2001
|
+
return this.transport.request(`${this.transport.paths.base}/render-config/${encodeURIComponent(courseId)}`, { method: "DELETE" });
|
|
2002
|
+
}
|
|
2003
|
+
}
|
|
1974
2004
|
// src/resources/screening.ts
|
|
1975
2005
|
class ScreeningResource {
|
|
1976
2006
|
transport;
|
|
@@ -2134,6 +2164,7 @@ function createPowerPathClient(registry = DEFAULT_PROVIDER_REGISTRY) {
|
|
|
2134
2164
|
assessments;
|
|
2135
2165
|
lessonPlans;
|
|
2136
2166
|
placement;
|
|
2167
|
+
renderConfig;
|
|
2137
2168
|
screening;
|
|
2138
2169
|
syllabus;
|
|
2139
2170
|
testAssignments;
|
|
@@ -2165,6 +2196,7 @@ function createPowerPathClient(registry = DEFAULT_PROVIDER_REGISTRY) {
|
|
|
2165
2196
|
this.assessments = new AssessmentResource(this.transport);
|
|
2166
2197
|
this.lessonPlans = new LessonPlansResource(this.transport);
|
|
2167
2198
|
this.placement = new PlacementResource(this.transport);
|
|
2199
|
+
this.renderConfig = new RenderConfigResource(this.transport);
|
|
2168
2200
|
this.screening = new ScreeningResource(this.transport);
|
|
2169
2201
|
this.syllabus = new SyllabusResource(this.transport);
|
|
2170
2202
|
this.testAssignments = new TestAssignmentsResource(this.transport);
|
package/dist/public-types.d.ts
CHANGED
|
@@ -759,6 +759,36 @@ interface UpdateStudentItemResponseResult {
|
|
|
759
759
|
[key: string]: unknown
|
|
760
760
|
}
|
|
761
761
|
|
|
762
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
763
|
+
// RENDER CONFIG
|
|
764
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* Result from upserting render configs for one or more courses.
|
|
768
|
+
*/
|
|
769
|
+
interface RenderConfigUpsertResponse {
|
|
770
|
+
updated: string[]
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
/**
|
|
774
|
+
* Render config for a single course.
|
|
775
|
+
*/
|
|
776
|
+
interface RenderConfigGetResponse {
|
|
777
|
+
courseId: string
|
|
778
|
+
rendererId: string
|
|
779
|
+
rendererUrl: string
|
|
780
|
+
rendererVersion?: string | null
|
|
781
|
+
suppressFeedback: boolean
|
|
782
|
+
suppressCorrectResponse: boolean
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
/**
|
|
786
|
+
* Result from deleting a render config.
|
|
787
|
+
*/
|
|
788
|
+
interface RenderConfigDeleteResponse {
|
|
789
|
+
deleted: string
|
|
790
|
+
}
|
|
791
|
+
|
|
762
792
|
// ═══════════════════════════════════════════════════════════════════════════════
|
|
763
793
|
// SYLLABUS
|
|
764
794
|
// ═══════════════════════════════════════════════════════════════════════════════
|
|
@@ -1061,6 +1091,15 @@ declare const PowerPathPlacementQueryParams = z.object({
|
|
|
1061
1091
|
subject: TimebackSubject,
|
|
1062
1092
|
})
|
|
1063
1093
|
|
|
1094
|
+
declare const PowerPathRenderConfigUpsertInput = z.object({
|
|
1095
|
+
courseIds: z.array(NonEmptyString).min(1),
|
|
1096
|
+
rendererId: NonEmptyString,
|
|
1097
|
+
rendererUrl: z.url(),
|
|
1098
|
+
rendererVersion: NonEmptyString.optional(),
|
|
1099
|
+
suppressFeedback: z.boolean().optional(),
|
|
1100
|
+
suppressCorrectResponse: z.boolean().optional(),
|
|
1101
|
+
})
|
|
1102
|
+
|
|
1064
1103
|
declare const PowerPathSyllabusQueryParams = z.object({
|
|
1065
1104
|
status: z.enum(['active', 'tobedeleted']).optional(),
|
|
1066
1105
|
})
|
|
@@ -1111,6 +1150,7 @@ type ImportExternalTestAssignmentResultsParams = input<
|
|
|
1111
1150
|
typeof PowerPathImportExternalTestAssignmentResultsParams
|
|
1112
1151
|
>
|
|
1113
1152
|
type PlacementQueryParams = input<typeof PowerPathPlacementQueryParams>
|
|
1153
|
+
type RenderConfigUpsertInput = input<typeof PowerPathRenderConfigUpsertInput>
|
|
1114
1154
|
type SyllabusQueryParams = input<typeof PowerPathSyllabusQueryParams>
|
|
1115
1155
|
|
|
1116
|
-
export type { AssignmentResult, Attempt, BulkResult, CourseProgressResponse, CreateAttemptResponse, CreateExternalPlacementTestInput, CreateExternalTestOutInput, CreateInternalTestInput, CreateNewAttemptInput, ExternalTestCapableLessonType, ExternalTestCreateResponse, FinalStudentAssessmentResponseInput, FinalizeAssessmentResponse, GetAllPlacementTestsResponse, GetAssessmentProgressParams, GetAssessmentProgressResponse, GetAttemptsParams, GetAttemptsResponse, GetCurrentLevelResponse, GetNextPlacementTestResponse, GetNextQuestionParams, GetNextQuestionResponse, GetSubjectProgressResponse, ImportExternalResultsResponse, ImportExternalTestAssignmentResultsParams, InternalTestCreateResponse, LessonPlanCourseSyncResult, LessonPlanCreateResponse, LessonPlanOperation, LessonPlanOperationInput, LessonPlanOperationResult, LessonPlanOperationType, LessonPlanOperationsInput, LessonPlanOperationsResponse, LessonPlanResponse, LessonPlanSyncResult, LessonPlanUpdateStudentItemResponseInput, LessonPlansCreateInput, MakeExternalTestAssignmentInput, MakeExternalTestAssignmentResponse, PaginationMeta, PlacementQueryParams, PlacementResetUserPlacementInput, PowerPath100ProgressResponse, PowerPath100UpdateResponseResult, PowerPathLessonType, PowerPathQuestionContent, PowerPathQuestionDifficulty, PowerPathQuestionResult, PowerPathTestQuestion, QuizLikeLessonType, ResetAttemptInput, ResetAttemptResponse, ResetPlacementResponse, ResponseResult, ResponseResultFeedback, ScoreStatus, ScreeningAssignTestInput, ScreeningAssignTestResponse, ScreeningResetSessionInput, ScreeningResetSessionResponse, ScreeningResultsResponse, ScreeningSessionResponse, StandardProgressResponse, StandardUpdateResponseResult, SyllabusQueryParams, SyllabusResponse, TestAssignment, TestAssignmentStatus, TestAssignmentsAdminParams, TestAssignmentsBulkInput, TestAssignmentsCreateInput, TestAssignmentsImportInput, TestAssignmentsListParams, TestAssignmentsListResponse, TestAssignmentsUpdateInput, TestOutParams, TestOutResponse, UpdateStudentItemResponseResult, UpdateStudentQuestionResponseInput, UpdateStudentQuestionResponseResult };
|
|
1156
|
+
export type { AssignmentResult, Attempt, BulkResult, CourseProgressResponse, CreateAttemptResponse, CreateExternalPlacementTestInput, CreateExternalTestOutInput, CreateInternalTestInput, CreateNewAttemptInput, ExternalTestCapableLessonType, ExternalTestCreateResponse, FinalStudentAssessmentResponseInput, FinalizeAssessmentResponse, GetAllPlacementTestsResponse, GetAssessmentProgressParams, GetAssessmentProgressResponse, GetAttemptsParams, GetAttemptsResponse, GetCurrentLevelResponse, GetNextPlacementTestResponse, GetNextQuestionParams, GetNextQuestionResponse, GetSubjectProgressResponse, ImportExternalResultsResponse, ImportExternalTestAssignmentResultsParams, InternalTestCreateResponse, LessonPlanCourseSyncResult, LessonPlanCreateResponse, LessonPlanOperation, LessonPlanOperationInput, LessonPlanOperationResult, LessonPlanOperationType, LessonPlanOperationsInput, LessonPlanOperationsResponse, LessonPlanResponse, LessonPlanSyncResult, LessonPlanUpdateStudentItemResponseInput, LessonPlansCreateInput, MakeExternalTestAssignmentInput, MakeExternalTestAssignmentResponse, PaginationMeta, PlacementQueryParams, PlacementResetUserPlacementInput, PowerPath100ProgressResponse, PowerPath100UpdateResponseResult, PowerPathLessonType, PowerPathQuestionContent, PowerPathQuestionDifficulty, PowerPathQuestionResult, PowerPathTestQuestion, QuizLikeLessonType, RenderConfigDeleteResponse, RenderConfigGetResponse, RenderConfigUpsertInput, RenderConfigUpsertResponse, ResetAttemptInput, ResetAttemptResponse, ResetPlacementResponse, ResponseResult, ResponseResultFeedback, ScoreStatus, ScreeningAssignTestInput, ScreeningAssignTestResponse, ScreeningResetSessionInput, ScreeningResetSessionResponse, ScreeningResultsResponse, ScreeningSessionResponse, StandardProgressResponse, StandardUpdateResponseResult, SyllabusQueryParams, SyllabusResponse, TestAssignment, TestAssignmentStatus, TestAssignmentsAdminParams, TestAssignmentsBulkInput, TestAssignmentsCreateInput, TestAssignmentsImportInput, TestAssignmentsListParams, TestAssignmentsListResponse, TestAssignmentsUpdateInput, TestOutParams, TestOutResponse, UpdateStudentItemResponseResult, UpdateStudentQuestionResponseInput, UpdateStudentQuestionResponseResult };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-types.d.ts","sourceRoot":"","sources":["../src/public-types.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAA;AAEnD,YAAY,EACX,gCAAgC,EAChC,0BAA0B,EAC1B,uBAAuB,EACvB,qBAAqB,EACrB,mCAAmC,EACnC,2BAA2B,EAC3B,iBAAiB,EACjB,qBAAqB,EACrB,yCAAyC,EACzC,wBAAwB,EACxB,yBAAyB,EACzB,sBAAsB,EACtB,wCAAwC,EACxC,+BAA+B,EAC/B,oBAAoB,EACpB,gCAAgC,EAChC,iBAAiB,EACjB,wBAAwB,EACxB,0BAA0B,EAC1B,mBAAmB,EACnB,0BAA0B,EAC1B,wBAAwB,EACxB,0BAA0B,EAC1B,0BAA0B,EAC1B,yBAAyB,EACzB,0BAA0B,EAC1B,aAAa,EACb,kCAAkC,GAClC,MAAM,qBAAqB,CAAA"}
|
|
1
|
+
{"version":3,"file":"public-types.d.ts","sourceRoot":"","sources":["../src/public-types.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAA;AAEnD,YAAY,EACX,gCAAgC,EAChC,0BAA0B,EAC1B,uBAAuB,EACvB,qBAAqB,EACrB,mCAAmC,EACnC,2BAA2B,EAC3B,iBAAiB,EACjB,qBAAqB,EACrB,yCAAyC,EACzC,wBAAwB,EACxB,yBAAyB,EACzB,sBAAsB,EACtB,wCAAwC,EACxC,+BAA+B,EAC/B,oBAAoB,EACpB,gCAAgC,EAChC,uBAAuB,EACvB,iBAAiB,EACjB,wBAAwB,EACxB,0BAA0B,EAC1B,mBAAmB,EACnB,0BAA0B,EAC1B,wBAAwB,EACxB,0BAA0B,EAC1B,0BAA0B,EAC1B,yBAAyB,EACzB,0BAA0B,EAC1B,aAAa,EACb,kCAAkC,GAClC,MAAM,qBAAqB,CAAA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { AssessmentResource } from './assessment';
|
|
2
2
|
export { LessonPlansResource } from './lesson-plans';
|
|
3
3
|
export { PlacementResource } from './placement';
|
|
4
|
+
export { RenderConfigResource } from './render-config';
|
|
4
5
|
export { ScreeningResource } from './screening';
|
|
5
6
|
export { SyllabusResource } from './syllabus';
|
|
6
7
|
export { TestAssignmentsResource } from './test-assignments';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAA"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Render Config Resource
|
|
3
|
+
*
|
|
4
|
+
* PowerPath custom renderer configuration operations.
|
|
5
|
+
*/
|
|
6
|
+
import type { RenderConfigDeleteResponse, RenderConfigGetResponse, RenderConfigUpsertResponse } from '@timeback/types/protocols/powerpath';
|
|
7
|
+
import type { RenderConfigUpsertInput } from '@timeback/types/zod';
|
|
8
|
+
import type { PowerPathTransportLike } from '../types';
|
|
9
|
+
/**
|
|
10
|
+
* Render config resource for managing custom renderer configurations on courses.
|
|
11
|
+
*/
|
|
12
|
+
export declare class RenderConfigResource {
|
|
13
|
+
private readonly transport;
|
|
14
|
+
/** @param transport - PowerPath transport instance */
|
|
15
|
+
constructor(transport: PowerPathTransportLike);
|
|
16
|
+
/**
|
|
17
|
+
* Upsert render config for one or more courses.
|
|
18
|
+
*
|
|
19
|
+
* @param input - Render config data including courseIds, rendererId, and rendererUrl
|
|
20
|
+
* @returns List of updated course IDs
|
|
21
|
+
*/
|
|
22
|
+
upsert(input: RenderConfigUpsertInput): Promise<RenderConfigUpsertResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* Get render config for a course.
|
|
25
|
+
*
|
|
26
|
+
* @param courseId - The course ID to look up
|
|
27
|
+
* @returns The render config for the course
|
|
28
|
+
*/
|
|
29
|
+
get(courseId: string): Promise<RenderConfigGetResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* Delete render config for a course.
|
|
32
|
+
*
|
|
33
|
+
* @param courseId - The course ID whose render config to delete
|
|
34
|
+
* @returns Confirmation with the deleted course ID
|
|
35
|
+
*/
|
|
36
|
+
delete(courseId: string): Promise<RenderConfigDeleteResponse>;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=render-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"render-config.d.ts","sourceRoot":"","sources":["../../src/resources/render-config.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,OAAO,KAAK,EACX,0BAA0B,EAC1B,uBAAuB,EACvB,0BAA0B,EAC1B,MAAM,qCAAqC,CAAA;AAC5C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAClE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AAEtD;;GAEG;AACH,qBAAa,oBAAoB;IAEpB,OAAO,CAAC,QAAQ,CAAC,SAAS;IADtC,sDAAsD;IACtD,YAA6B,SAAS,EAAE,sBAAsB,EAAI;IAElE;;;;;OAKG;IACH,MAAM,CAAC,KAAK,EAAE,uBAAuB,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAM1E;IAED;;;;;OAKG;IACH,GAAG,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAKtD;IAED;;;;;OAKG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAM5D;CACD"}
|