@salesforce/lds-adapters-industries-education 1.361.0 → 1.362.0
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/es/es2018/industries-education.js +91 -24
- package/dist/es/es2018/types/src/generated/types/CreateLearningInputRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/GetLearningOutputRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/LearningFoundationItemOutput.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/LearningOutput.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/LearningPolicyRuleId.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/LearningPolicyRuleOutput.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/LearningPolicyRuleUpdate.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/LearningPolicyRules.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/LearningProgramOutput.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/UpdateLearningInputRepresentation.d.ts +5 -1
- package/package.json +4 -4
- package/sfdc/index.js +191 -124
- package/src/raml/api.raml +82 -0
|
@@ -173,7 +173,7 @@ var DiscriminatorValues;
|
|
|
173
173
|
DiscriminatorValues["LearningCourse"] = "LearningCourse";
|
|
174
174
|
DiscriminatorValues["LearningProgram"] = "LearningProgram";
|
|
175
175
|
})(DiscriminatorValues || (DiscriminatorValues = {}));
|
|
176
|
-
function validate$
|
|
176
|
+
function validate$1g(obj, path = 'LearningOutput') {
|
|
177
177
|
const v_error = (() => {
|
|
178
178
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
179
179
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -251,6 +251,13 @@ function validate$1f(obj, path = 'LearningOutput') {
|
|
|
251
251
|
return new TypeError('Expected "string" but received "' + typeof obj_provider + '" (at "' + path_provider + '")');
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
|
+
if (obj.providerName !== undefined) {
|
|
255
|
+
const obj_providerName = obj.providerName;
|
|
256
|
+
const path_providerName = path + '.providerName';
|
|
257
|
+
if (typeof obj_providerName !== 'string') {
|
|
258
|
+
return new TypeError('Expected "string" but received "' + typeof obj_providerName + '" (at "' + path_providerName + '")');
|
|
259
|
+
}
|
|
260
|
+
}
|
|
254
261
|
const obj_type = obj.type;
|
|
255
262
|
const path_type = path + '.type';
|
|
256
263
|
if (typeof obj_type !== 'string') {
|
|
@@ -260,7 +267,7 @@ function validate$1f(obj, path = 'LearningOutput') {
|
|
|
260
267
|
return v_error === undefined ? null : v_error;
|
|
261
268
|
}
|
|
262
269
|
|
|
263
|
-
function validate$
|
|
270
|
+
function validate$1f(obj, path = 'LearningOutcomeItemOutput') {
|
|
264
271
|
const v_error = (() => {
|
|
265
272
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
266
273
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -324,7 +331,7 @@ function validate$1e(obj, path = 'LearningOutcomeItemOutput') {
|
|
|
324
331
|
return v_error === undefined ? null : v_error;
|
|
325
332
|
}
|
|
326
333
|
|
|
327
|
-
function validate$
|
|
334
|
+
function validate$1e(obj, path = 'LearningStatus') {
|
|
328
335
|
const v_error = (() => {
|
|
329
336
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
330
337
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -426,7 +433,7 @@ function validate$1d(obj, path = 'LearningStatus') {
|
|
|
426
433
|
return v_error === undefined ? null : v_error;
|
|
427
434
|
}
|
|
428
435
|
|
|
429
|
-
function validate$
|
|
436
|
+
function validate$1d(obj, path = 'LearningFulfiller') {
|
|
430
437
|
const v_error = (() => {
|
|
431
438
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
432
439
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -441,7 +448,7 @@ function validate$1c(obj, path = 'LearningFulfiller') {
|
|
|
441
448
|
if (obj.learning !== undefined) {
|
|
442
449
|
const obj_learning = obj.learning;
|
|
443
450
|
const path_learning = path + '.learning';
|
|
444
|
-
const referencepath_learningValidationError = validate$
|
|
451
|
+
const referencepath_learningValidationError = validate$1g(obj_learning, path_learning);
|
|
445
452
|
if (referencepath_learningValidationError !== null) {
|
|
446
453
|
let message = 'Object doesn\'t match LearningOutput (at "' + path_learning + '")\n';
|
|
447
454
|
message += referencepath_learningValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -451,7 +458,7 @@ function validate$1c(obj, path = 'LearningFulfiller') {
|
|
|
451
458
|
if (obj.learningOutcomeItem !== undefined) {
|
|
452
459
|
const obj_learningOutcomeItem = obj.learningOutcomeItem;
|
|
453
460
|
const path_learningOutcomeItem = path + '.learningOutcomeItem';
|
|
454
|
-
const referencepath_learningOutcomeItemValidationError = validate$
|
|
461
|
+
const referencepath_learningOutcomeItemValidationError = validate$1f(obj_learningOutcomeItem, path_learningOutcomeItem);
|
|
455
462
|
if (referencepath_learningOutcomeItemValidationError !== null) {
|
|
456
463
|
let message = 'Object doesn\'t match LearningOutcomeItemOutput (at "' + path_learningOutcomeItem + '")\n';
|
|
457
464
|
message += referencepath_learningOutcomeItemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -461,7 +468,7 @@ function validate$1c(obj, path = 'LearningFulfiller') {
|
|
|
461
468
|
if (obj.learningStatus !== undefined) {
|
|
462
469
|
const obj_learningStatus = obj.learningStatus;
|
|
463
470
|
const path_learningStatus = path + '.learningStatus';
|
|
464
|
-
const referencepath_learningStatusValidationError = validate$
|
|
471
|
+
const referencepath_learningStatusValidationError = validate$1e(obj_learningStatus, path_learningStatus);
|
|
465
472
|
if (referencepath_learningStatusValidationError !== null) {
|
|
466
473
|
let message = 'Object doesn\'t match LearningStatus (at "' + path_learningStatus + '")\n';
|
|
467
474
|
message += referencepath_learningStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -477,7 +484,7 @@ function validate$1c(obj, path = 'LearningFulfiller') {
|
|
|
477
484
|
for (let i = 0; i < obj_otherLearningStatus.length; i++) {
|
|
478
485
|
const obj_otherLearningStatus_item = obj_otherLearningStatus[i];
|
|
479
486
|
const path_otherLearningStatus_item = path_otherLearningStatus + '[' + i + ']';
|
|
480
|
-
const referencepath_otherLearningStatus_itemValidationError = validate$
|
|
487
|
+
const referencepath_otherLearningStatus_itemValidationError = validate$1e(obj_otherLearningStatus_item, path_otherLearningStatus_item);
|
|
481
488
|
if (referencepath_otherLearningStatus_itemValidationError !== null) {
|
|
482
489
|
let message = 'Object doesn\'t match LearningStatus (at "' + path_otherLearningStatus_item + '")\n';
|
|
483
490
|
message += referencepath_otherLearningStatus_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -489,7 +496,7 @@ function validate$1c(obj, path = 'LearningFulfiller') {
|
|
|
489
496
|
return v_error === undefined ? null : v_error;
|
|
490
497
|
}
|
|
491
498
|
|
|
492
|
-
function validate$
|
|
499
|
+
function validate$1c(obj, path = 'LearningFoundationItemOutput') {
|
|
493
500
|
const v_error = (() => {
|
|
494
501
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
495
502
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -520,7 +527,7 @@ function validate$1b(obj, path = 'LearningFoundationItemOutput') {
|
|
|
520
527
|
for (let i = 0; i < obj_fulfilledBy.length; i++) {
|
|
521
528
|
const obj_fulfilledBy_item = obj_fulfilledBy[i];
|
|
522
529
|
const path_fulfilledBy_item = path_fulfilledBy + '[' + i + ']';
|
|
523
|
-
const referencepath_fulfilledBy_itemValidationError = validate$
|
|
530
|
+
const referencepath_fulfilledBy_itemValidationError = validate$1d(obj_fulfilledBy_item, path_fulfilledBy_item);
|
|
524
531
|
if (referencepath_fulfilledBy_itemValidationError !== null) {
|
|
525
532
|
let message = 'Object doesn\'t match LearningFulfiller (at "' + path_fulfilledBy_item + '")\n';
|
|
526
533
|
message += referencepath_fulfilledBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -538,6 +545,13 @@ function validate$1b(obj, path = 'LearningFoundationItemOutput') {
|
|
|
538
545
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isFulfilled + '" (at "' + path_isFulfilled + '")');
|
|
539
546
|
}
|
|
540
547
|
}
|
|
548
|
+
if (obj.learningAchievementConfigName !== undefined) {
|
|
549
|
+
const obj_learningAchievementConfigName = obj.learningAchievementConfigName;
|
|
550
|
+
const path_learningAchievementConfigName = path + '.learningAchievementConfigName';
|
|
551
|
+
if (typeof obj_learningAchievementConfigName !== 'string') {
|
|
552
|
+
return new TypeError('Expected "string" but received "' + typeof obj_learningAchievementConfigName + '" (at "' + path_learningAchievementConfigName + '")');
|
|
553
|
+
}
|
|
554
|
+
}
|
|
541
555
|
if (obj.learningAchievementId !== undefined) {
|
|
542
556
|
const obj_learningAchievementId = obj.learningAchievementId;
|
|
543
557
|
const path_learningAchievementId = path + '.learningAchievementId';
|
|
@@ -545,6 +559,13 @@ function validate$1b(obj, path = 'LearningFoundationItemOutput') {
|
|
|
545
559
|
return new TypeError('Expected "string" but received "' + typeof obj_learningAchievementId + '" (at "' + path_learningAchievementId + '")');
|
|
546
560
|
}
|
|
547
561
|
}
|
|
562
|
+
if (obj.learningAchievementName !== undefined) {
|
|
563
|
+
const obj_learningAchievementName = obj.learningAchievementName;
|
|
564
|
+
const path_learningAchievementName = path + '.learningAchievementName';
|
|
565
|
+
if (typeof obj_learningAchievementName !== 'string') {
|
|
566
|
+
return new TypeError('Expected "string" but received "' + typeof obj_learningAchievementName + '" (at "' + path_learningAchievementName + '")');
|
|
567
|
+
}
|
|
568
|
+
}
|
|
548
569
|
if (obj.learningAchievementType !== undefined) {
|
|
549
570
|
const obj_learningAchievementType = obj.learningAchievementType;
|
|
550
571
|
const path_learningAchievementType = path + '.learningAchievementType';
|
|
@@ -588,7 +609,7 @@ function validate$1b(obj, path = 'LearningFoundationItemOutput') {
|
|
|
588
609
|
return v_error === undefined ? null : v_error;
|
|
589
610
|
}
|
|
590
611
|
|
|
591
|
-
function validate$
|
|
612
|
+
function validate$1b(obj, path = 'EducationApiErrorDetails') {
|
|
592
613
|
const v_error = (() => {
|
|
593
614
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
594
615
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -607,7 +628,36 @@ function validate$1a(obj, path = 'EducationApiErrorDetails') {
|
|
|
607
628
|
return v_error === undefined ? null : v_error;
|
|
608
629
|
}
|
|
609
630
|
|
|
610
|
-
|
|
631
|
+
function validate$1a(obj, path = 'LearningPolicyRuleOutput') {
|
|
632
|
+
const v_error = (() => {
|
|
633
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
634
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
635
|
+
}
|
|
636
|
+
const obj_description = obj.description;
|
|
637
|
+
const path_description = path + '.description';
|
|
638
|
+
if (typeof obj_description !== 'string') {
|
|
639
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
640
|
+
}
|
|
641
|
+
const obj_learningPolicyRuleId = obj.learningPolicyRuleId;
|
|
642
|
+
const path_learningPolicyRuleId = path + '.learningPolicyRuleId';
|
|
643
|
+
if (typeof obj_learningPolicyRuleId !== 'string') {
|
|
644
|
+
return new TypeError('Expected "string" but received "' + typeof obj_learningPolicyRuleId + '" (at "' + path_learningPolicyRuleId + '")');
|
|
645
|
+
}
|
|
646
|
+
const obj_policyRule = obj.policyRule;
|
|
647
|
+
const path_policyRule = path + '.policyRule';
|
|
648
|
+
if (typeof obj_policyRule !== 'string') {
|
|
649
|
+
return new TypeError('Expected "string" but received "' + typeof obj_policyRule + '" (at "' + path_policyRule + '")');
|
|
650
|
+
}
|
|
651
|
+
const obj_type = obj.type;
|
|
652
|
+
const path_type = path + '.type';
|
|
653
|
+
if (typeof obj_type !== 'string') {
|
|
654
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
655
|
+
}
|
|
656
|
+
})();
|
|
657
|
+
return v_error === undefined ? null : v_error;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
const VERSION$C = "9b0ee223b5d04bad05ae8dc9a29ceefd";
|
|
611
661
|
function validate$19(obj, path = 'GetLearningOutputRepresentation') {
|
|
612
662
|
const v_error = (() => {
|
|
613
663
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -622,7 +672,7 @@ function validate$19(obj, path = 'GetLearningOutputRepresentation') {
|
|
|
622
672
|
for (let i = 0; i < obj_corequisites.length; i++) {
|
|
623
673
|
const obj_corequisites_item = obj_corequisites[i];
|
|
624
674
|
const path_corequisites_item = path_corequisites + '[' + i + ']';
|
|
625
|
-
const referencepath_corequisites_itemValidationError = validate$
|
|
675
|
+
const referencepath_corequisites_itemValidationError = validate$1c(obj_corequisites_item, path_corequisites_item);
|
|
626
676
|
if (referencepath_corequisites_itemValidationError !== null) {
|
|
627
677
|
let message = 'Object doesn\'t match LearningFoundationItemOutput (at "' + path_corequisites_item + '")\n';
|
|
628
678
|
message += referencepath_corequisites_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -639,7 +689,7 @@ function validate$19(obj, path = 'GetLearningOutputRepresentation') {
|
|
|
639
689
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
640
690
|
const obj_errors_item = obj_errors[i];
|
|
641
691
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
642
|
-
const referencepath_errors_itemValidationError = validate$
|
|
692
|
+
const referencepath_errors_itemValidationError = validate$1b(obj_errors_item, path_errors_item);
|
|
643
693
|
if (referencepath_errors_itemValidationError !== null) {
|
|
644
694
|
let message = 'Object doesn\'t match EducationApiErrorDetails (at "' + path_errors_item + '")\n';
|
|
645
695
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -650,13 +700,30 @@ function validate$19(obj, path = 'GetLearningOutputRepresentation') {
|
|
|
650
700
|
if (obj.learning !== undefined) {
|
|
651
701
|
const obj_learning = obj.learning;
|
|
652
702
|
const path_learning = path + '.learning';
|
|
653
|
-
const referencepath_learningValidationError = validate$
|
|
703
|
+
const referencepath_learningValidationError = validate$1g(obj_learning, path_learning);
|
|
654
704
|
if (referencepath_learningValidationError !== null) {
|
|
655
705
|
let message = 'Object doesn\'t match LearningOutput (at "' + path_learning + '")\n';
|
|
656
706
|
message += referencepath_learningValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
657
707
|
return new TypeError(message);
|
|
658
708
|
}
|
|
659
709
|
}
|
|
710
|
+
if (obj.learningPolicyRules !== undefined) {
|
|
711
|
+
const obj_learningPolicyRules = obj.learningPolicyRules;
|
|
712
|
+
const path_learningPolicyRules = path + '.learningPolicyRules';
|
|
713
|
+
if (!ArrayIsArray(obj_learningPolicyRules)) {
|
|
714
|
+
return new TypeError('Expected "array" but received "' + typeof obj_learningPolicyRules + '" (at "' + path_learningPolicyRules + '")');
|
|
715
|
+
}
|
|
716
|
+
for (let i = 0; i < obj_learningPolicyRules.length; i++) {
|
|
717
|
+
const obj_learningPolicyRules_item = obj_learningPolicyRules[i];
|
|
718
|
+
const path_learningPolicyRules_item = path_learningPolicyRules + '[' + i + ']';
|
|
719
|
+
const referencepath_learningPolicyRules_itemValidationError = validate$1a(obj_learningPolicyRules_item, path_learningPolicyRules_item);
|
|
720
|
+
if (referencepath_learningPolicyRules_itemValidationError !== null) {
|
|
721
|
+
let message = 'Object doesn\'t match LearningPolicyRuleOutput (at "' + path_learningPolicyRules_item + '")\n';
|
|
722
|
+
message += referencepath_learningPolicyRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
723
|
+
return new TypeError(message);
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
}
|
|
660
727
|
if (obj.outcomes !== undefined) {
|
|
661
728
|
const obj_outcomes = obj.outcomes;
|
|
662
729
|
const path_outcomes = path + '.outcomes';
|
|
@@ -666,7 +733,7 @@ function validate$19(obj, path = 'GetLearningOutputRepresentation') {
|
|
|
666
733
|
for (let i = 0; i < obj_outcomes.length; i++) {
|
|
667
734
|
const obj_outcomes_item = obj_outcomes[i];
|
|
668
735
|
const path_outcomes_item = path_outcomes + '[' + i + ']';
|
|
669
|
-
const referencepath_outcomes_itemValidationError = validate$
|
|
736
|
+
const referencepath_outcomes_itemValidationError = validate$1f(obj_outcomes_item, path_outcomes_item);
|
|
670
737
|
if (referencepath_outcomes_itemValidationError !== null) {
|
|
671
738
|
let message = 'Object doesn\'t match LearningOutcomeItemOutput (at "' + path_outcomes_item + '")\n';
|
|
672
739
|
message += referencepath_outcomes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -683,7 +750,7 @@ function validate$19(obj, path = 'GetLearningOutputRepresentation') {
|
|
|
683
750
|
for (let i = 0; i < obj_prerequisites.length; i++) {
|
|
684
751
|
const obj_prerequisites_item = obj_prerequisites[i];
|
|
685
752
|
const path_prerequisites_item = path_prerequisites + '[' + i + ']';
|
|
686
|
-
const referencepath_prerequisites_itemValidationError = validate$
|
|
753
|
+
const referencepath_prerequisites_itemValidationError = validate$1c(obj_prerequisites_item, path_prerequisites_item);
|
|
687
754
|
if (referencepath_prerequisites_itemValidationError !== null) {
|
|
688
755
|
let message = 'Object doesn\'t match LearningFoundationItemOutput (at "' + path_prerequisites_item + '")\n';
|
|
689
756
|
message += referencepath_prerequisites_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -700,7 +767,7 @@ function validate$19(obj, path = 'GetLearningOutputRepresentation') {
|
|
|
700
767
|
for (let i = 0; i < obj_recommended.length; i++) {
|
|
701
768
|
const obj_recommended_item = obj_recommended[i];
|
|
702
769
|
const path_recommended_item = path_recommended + '[' + i + ']';
|
|
703
|
-
const referencepath_recommended_itemValidationError = validate$
|
|
770
|
+
const referencepath_recommended_itemValidationError = validate$1c(obj_recommended_item, path_recommended_item);
|
|
704
771
|
if (referencepath_recommended_itemValidationError !== null) {
|
|
705
772
|
let message = 'Object doesn\'t match LearningFoundationItemOutput (at "' + path_recommended_item + '")\n';
|
|
706
773
|
message += referencepath_recommended_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -906,7 +973,7 @@ function validate$18(obj, path = 'CreateLearningOutputRepresentation') {
|
|
|
906
973
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
907
974
|
const obj_errors_item = obj_errors[i];
|
|
908
975
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
909
|
-
const referencepath_errors_itemValidationError = validate$
|
|
976
|
+
const referencepath_errors_itemValidationError = validate$1b(obj_errors_item, path_errors_item);
|
|
910
977
|
if (referencepath_errors_itemValidationError !== null) {
|
|
911
978
|
let message = 'Object doesn\'t match EducationApiErrorDetails (at "' + path_errors_item + '")\n';
|
|
912
979
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3002,7 +3069,7 @@ function validate$U(obj, path = 'LearningProgramPlanRequirementOutput') {
|
|
|
3002
3069
|
for (let i = 0; i < obj_fulfilledBy.length; i++) {
|
|
3003
3070
|
const obj_fulfilledBy_item = obj_fulfilledBy[i];
|
|
3004
3071
|
const path_fulfilledBy_item = path_fulfilledBy + '[' + i + ']';
|
|
3005
|
-
const referencepath_fulfilledBy_itemValidationError = validate$
|
|
3072
|
+
const referencepath_fulfilledBy_itemValidationError = validate$1d(obj_fulfilledBy_item, path_fulfilledBy_item);
|
|
3006
3073
|
if (referencepath_fulfilledBy_itemValidationError !== null) {
|
|
3007
3074
|
let message = 'Object doesn\'t match LearningFulfiller (at "' + path_fulfilledBy_item + '")\n';
|
|
3008
3075
|
message += referencepath_fulfilledBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3172,7 +3239,7 @@ function validate$S(obj, path = 'LearnerProgram') {
|
|
|
3172
3239
|
if (obj.learningOutcomeItem !== undefined) {
|
|
3173
3240
|
const obj_learningOutcomeItem = obj.learningOutcomeItem;
|
|
3174
3241
|
const path_learningOutcomeItem = path + '.learningOutcomeItem';
|
|
3175
|
-
const referencepath_learningOutcomeItemValidationError = validate$
|
|
3242
|
+
const referencepath_learningOutcomeItemValidationError = validate$1f(obj_learningOutcomeItem, path_learningOutcomeItem);
|
|
3176
3243
|
if (referencepath_learningOutcomeItemValidationError !== null) {
|
|
3177
3244
|
let message = 'Object doesn\'t match LearningOutcomeItemOutput (at "' + path_learningOutcomeItem + '")\n';
|
|
3178
3245
|
message += referencepath_learningOutcomeItemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3316,7 +3383,7 @@ function validate$R(obj, path = 'LearnerProgressOutputRepresentation') {
|
|
|
3316
3383
|
for (let i = 0; i < obj_nonRequiredLearnings.length; i++) {
|
|
3317
3384
|
const obj_nonRequiredLearnings_item = obj_nonRequiredLearnings[i];
|
|
3318
3385
|
const path_nonRequiredLearnings_item = path_nonRequiredLearnings + '[' + i + ']';
|
|
3319
|
-
const referencepath_nonRequiredLearnings_itemValidationError = validate$
|
|
3386
|
+
const referencepath_nonRequiredLearnings_itemValidationError = validate$1d(obj_nonRequiredLearnings_item, path_nonRequiredLearnings_item);
|
|
3320
3387
|
if (referencepath_nonRequiredLearnings_itemValidationError !== null) {
|
|
3321
3388
|
let message = 'Object doesn\'t match LearningFulfiller (at "' + path_nonRequiredLearnings_item + '")\n';
|
|
3322
3389
|
message += referencepath_nonRequiredLearnings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3551,7 +3618,7 @@ function validate$P(obj, path = 'LearningFoundationItemValidationOutput') {
|
|
|
3551
3618
|
for (let i = 0; i < obj_corequisites.length; i++) {
|
|
3552
3619
|
const obj_corequisites_item = obj_corequisites[i];
|
|
3553
3620
|
const path_corequisites_item = path_corequisites + '[' + i + ']';
|
|
3554
|
-
const referencepath_corequisites_itemValidationError = validate$
|
|
3621
|
+
const referencepath_corequisites_itemValidationError = validate$1c(obj_corequisites_item, path_corequisites_item);
|
|
3555
3622
|
if (referencepath_corequisites_itemValidationError !== null) {
|
|
3556
3623
|
let message = 'Object doesn\'t match LearningFoundationItemOutput (at "' + path_corequisites_item + '")\n';
|
|
3557
3624
|
message += referencepath_corequisites_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3576,7 +3643,7 @@ function validate$P(obj, path = 'LearningFoundationItemValidationOutput') {
|
|
|
3576
3643
|
for (let i = 0; i < obj_prerequisites.length; i++) {
|
|
3577
3644
|
const obj_prerequisites_item = obj_prerequisites[i];
|
|
3578
3645
|
const path_prerequisites_item = path_prerequisites + '[' + i + ']';
|
|
3579
|
-
const referencepath_prerequisites_itemValidationError = validate$
|
|
3646
|
+
const referencepath_prerequisites_itemValidationError = validate$1c(obj_prerequisites_item, path_prerequisites_item);
|
|
3580
3647
|
if (referencepath_prerequisites_itemValidationError !== null) {
|
|
3581
3648
|
let message = 'Object doesn\'t match LearningFoundationItemOutput (at "' + path_prerequisites_item + '")\n';
|
|
3582
3649
|
message += referencepath_prerequisites_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { LearningPolicyRules as LearningPolicyRules_LearningPolicyRules } from './LearningPolicyRules';
|
|
1
2
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "0d79e65909ac4d67a9f6b706318b1978";
|
|
3
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
5
|
export declare const RepresentationType: string;
|
|
5
6
|
export declare function normalize(input: CreateLearningInputRepresentation, existing: CreateLearningInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CreateLearningInputRepresentationNormalized;
|
|
@@ -18,6 +19,8 @@ export interface CreateLearningInputRepresentationNormalized {
|
|
|
18
19
|
corequisites?: Array<{}>;
|
|
19
20
|
/** Learning record to be created. */
|
|
20
21
|
learning: {};
|
|
22
|
+
/** List of Learning Policy Rules that are part of learning */
|
|
23
|
+
learningPolicyRules: Array<LearningPolicyRules_LearningPolicyRules>;
|
|
21
24
|
/** List of AchievementMappings which are part of the outcomes set */
|
|
22
25
|
outcomes?: Array<{}>;
|
|
23
26
|
/** List of AchievementMappings which are part of the prerequisite set */
|
|
@@ -36,6 +39,7 @@ export interface CreateLearningInputRepresentationNormalized {
|
|
|
36
39
|
export interface CreateLearningInputRepresentation {
|
|
37
40
|
corequisites?: Array<{}>;
|
|
38
41
|
learning: {};
|
|
42
|
+
learningPolicyRules: Array<LearningPolicyRules_LearningPolicyRules>;
|
|
39
43
|
outcomes?: Array<{}>;
|
|
40
44
|
prerequisites?: Array<{}>;
|
|
41
45
|
recommended?: Array<{}>;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { LearningFoundationItemOutput as LearningFoundationItemOutput_LearningFoundationItemOutput } from './LearningFoundationItemOutput';
|
|
2
2
|
import { EducationApiErrorDetails as EducationApiErrorDetails_EducationApiErrorDetails } from './EducationApiErrorDetails';
|
|
3
3
|
import { LearningOutput as LearningOutput_LearningOutput } from './LearningOutput';
|
|
4
|
+
import { LearningPolicyRuleOutput as LearningPolicyRuleOutput_LearningPolicyRuleOutput } from './LearningPolicyRuleOutput';
|
|
4
5
|
import { LearningOutcomeItemOutput as LearningOutcomeItemOutput_LearningOutcomeItemOutput } from './LearningOutcomeItemOutput';
|
|
5
6
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
6
7
|
import { LearningCourseOutput as LearningCourseOutput_LearningCourseOutput } from './LearningCourseOutput';
|
|
7
8
|
import { LearningProgramOutput as LearningProgramOutput_LearningProgramOutput } from './LearningProgramOutput';
|
|
8
|
-
export declare const VERSION = "
|
|
9
|
+
export declare const VERSION = "9b0ee223b5d04bad05ae8dc9a29ceefd";
|
|
9
10
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
10
11
|
export declare const RepresentationType: string;
|
|
11
12
|
export declare function normalize(input: GetLearningOutputRepresentation, existing: GetLearningOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): GetLearningOutputRepresentationNormalized;
|
|
@@ -25,6 +26,8 @@ export interface GetLearningOutputRepresentationNormalized {
|
|
|
25
26
|
/** Specifies the validation errors for the API parameters. */
|
|
26
27
|
errors?: Array<EducationApiErrorDetails_EducationApiErrorDetails>;
|
|
27
28
|
learning?: LearningOutput_LearningOutput;
|
|
29
|
+
/** Learning Policies Output. */
|
|
30
|
+
learningPolicyRules?: Array<LearningPolicyRuleOutput_LearningPolicyRuleOutput>;
|
|
28
31
|
/** Outcomes */
|
|
29
32
|
outcomes?: Array<LearningOutcomeItemOutput_LearningOutcomeItemOutput>;
|
|
30
33
|
/** Prerequisites */
|
|
@@ -44,6 +47,7 @@ export interface GetLearningOutputRepresentation {
|
|
|
44
47
|
corequisites?: Array<LearningFoundationItemOutput_LearningFoundationItemOutput>;
|
|
45
48
|
errors?: Array<EducationApiErrorDetails_EducationApiErrorDetails>;
|
|
46
49
|
learning?: LearningCourseOutput_LearningCourseOutput | LearningProgramOutput_LearningProgramOutput;
|
|
50
|
+
learningPolicyRules?: Array<LearningPolicyRuleOutput_LearningPolicyRuleOutput>;
|
|
47
51
|
outcomes?: Array<LearningOutcomeItemOutput_LearningOutcomeItemOutput>;
|
|
48
52
|
prerequisites?: Array<LearningFoundationItemOutput_LearningFoundationItemOutput>;
|
|
49
53
|
recommended?: Array<LearningFoundationItemOutput_LearningFoundationItemOutput>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LearningFulfiller as LearningFulfiller_LearningFulfiller } from './LearningFulfiller';
|
|
2
2
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "9fdc0b97a2f4609cd2047262a5147e33";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: LearningFoundationItemOutput, existing: LearningFoundationItemOutputNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LearningFoundationItemOutputNormalized;
|
|
@@ -27,8 +27,12 @@ export interface LearningFoundationItemOutputNormalized {
|
|
|
27
27
|
fulfilledDuration?: number;
|
|
28
28
|
/** Specifies whether the learning foundation item is fulfilled (true) or unfulfilled (false). */
|
|
29
29
|
isFulfilled?: boolean;
|
|
30
|
+
/** The name of the learning achievement config record */
|
|
31
|
+
learningAchievementConfigName?: string;
|
|
30
32
|
/** Learning Achievement Id */
|
|
31
33
|
learningAchievementId?: string;
|
|
34
|
+
/** The name of the learning achievement */
|
|
35
|
+
learningAchievementName?: string;
|
|
32
36
|
/** Type of Learning Achievement */
|
|
33
37
|
learningAchievementType?: string;
|
|
34
38
|
/** The ID of the learning foundation item. */
|
|
@@ -57,7 +61,9 @@ export interface LearningFoundationItemOutput {
|
|
|
57
61
|
fulfilledBy?: Array<LearningFulfiller_LearningFulfiller>;
|
|
58
62
|
fulfilledDuration?: number;
|
|
59
63
|
isFulfilled?: boolean;
|
|
64
|
+
learningAchievementConfigName?: string;
|
|
60
65
|
learningAchievementId?: string;
|
|
66
|
+
learningAchievementName?: string;
|
|
61
67
|
learningAchievementType?: string;
|
|
62
68
|
learningFoundationItemId: string;
|
|
63
69
|
learningId?: string;
|
|
@@ -3,7 +3,7 @@ export declare enum DiscriminatorValues {
|
|
|
3
3
|
LearningCourse = "LearningCourse",
|
|
4
4
|
LearningProgram = "LearningProgram"
|
|
5
5
|
}
|
|
6
|
-
export declare const VERSION = "
|
|
6
|
+
export declare const VERSION = "acde98688e710a85b51cdf704a72b473";
|
|
7
7
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
8
8
|
export declare const RepresentationType: string;
|
|
9
9
|
export declare function normalize(input: LearningOutput, existing: LearningOutputNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LearningOutputNormalized;
|
|
@@ -42,6 +42,8 @@ export interface LearningOutputNormalized {
|
|
|
42
42
|
name?: string;
|
|
43
43
|
/** Learning provider. */
|
|
44
44
|
provider?: string;
|
|
45
|
+
/** Provider Name. */
|
|
46
|
+
providerName?: string;
|
|
45
47
|
/** Learning type. */
|
|
46
48
|
type: string;
|
|
47
49
|
}
|
|
@@ -63,5 +65,6 @@ export interface LearningOutput {
|
|
|
63
65
|
learningId?: string;
|
|
64
66
|
name?: string;
|
|
65
67
|
provider?: string;
|
|
68
|
+
providerName?: string;
|
|
66
69
|
type: string;
|
|
67
70
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "e667d4364cb488e7b17014ca3a49f44d";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: LearningPolicyRuleId, existing: LearningPolicyRuleIdNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LearningPolicyRuleIdNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: LearningPolicyRuleIdNormalized, incoming: LearningPolicyRuleIdNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: LearningPolicyRuleId, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Learning Policy Rules Ids
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface LearningPolicyRuleIdNormalized {
|
|
17
|
+
/** Provides details of the learning policy rule id. */
|
|
18
|
+
learningPolicyRuleId: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Learning Policy Rules Ids
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface LearningPolicyRuleId {
|
|
27
|
+
learningPolicyRuleId: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "bc7857836fc38cb72b72b9aba8ec6c40";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: LearningPolicyRuleOutput, existing: LearningPolicyRuleOutputNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LearningPolicyRuleOutputNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: LearningPolicyRuleOutputNormalized, incoming: LearningPolicyRuleOutputNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: LearningPolicyRuleOutput, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Learning Policy Rules Output
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface LearningPolicyRuleOutputNormalized {
|
|
17
|
+
/** Description */
|
|
18
|
+
description: string;
|
|
19
|
+
/** Policy Rule Id */
|
|
20
|
+
learningPolicyRuleId: string;
|
|
21
|
+
/** Policy Rule */
|
|
22
|
+
policyRule: string;
|
|
23
|
+
/** Type */
|
|
24
|
+
type: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Learning Policy Rules Output
|
|
28
|
+
*
|
|
29
|
+
* Keys:
|
|
30
|
+
* (none)
|
|
31
|
+
*/
|
|
32
|
+
export interface LearningPolicyRuleOutput {
|
|
33
|
+
description: string;
|
|
34
|
+
learningPolicyRuleId: string;
|
|
35
|
+
policyRule: string;
|
|
36
|
+
type: string;
|
|
37
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { LearningPolicyRules as LearningPolicyRules_LearningPolicyRules } from './LearningPolicyRules';
|
|
2
|
+
import { LearningPolicyRuleId as LearningPolicyRuleId_LearningPolicyRuleId } from './LearningPolicyRuleId';
|
|
3
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
4
|
+
export declare const VERSION = "dffacac05ff7bf42c411a62c661e0b3c";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: LearningPolicyRuleUpdate, existing: LearningPolicyRuleUpdateNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LearningPolicyRuleUpdateNormalized;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
9
|
+
export declare function equals(existing: LearningPolicyRuleUpdateNormalized, incoming: LearningPolicyRuleUpdateNormalized): boolean;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: LearningPolicyRuleUpdate, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
|
+
/**
|
|
13
|
+
* Collection of Learning Policy Rules.
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface LearningPolicyRuleUpdateNormalized {
|
|
19
|
+
/** Provides details of the request to create achievements. */
|
|
20
|
+
createRecords: Array<LearningPolicyRules_LearningPolicyRules>;
|
|
21
|
+
/** Provides details of the request to create achievements. */
|
|
22
|
+
deleteRecords: Array<LearningPolicyRuleId_LearningPolicyRuleId>;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Collection of Learning Policy Rules.
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface LearningPolicyRuleUpdate {
|
|
31
|
+
createRecords: Array<LearningPolicyRules_LearningPolicyRules>;
|
|
32
|
+
deleteRecords: Array<LearningPolicyRuleId_LearningPolicyRuleId>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "94b6adb3bf96835ada6920c750fc4d5e";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: LearningPolicyRules, existing: LearningPolicyRulesNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LearningPolicyRulesNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: LearningPolicyRulesNormalized, incoming: LearningPolicyRulesNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: LearningPolicyRules, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Learning Policy Rules definition
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface LearningPolicyRulesNormalized {
|
|
17
|
+
/** Description */
|
|
18
|
+
description: string;
|
|
19
|
+
/** Policy Rule */
|
|
20
|
+
policyRule: string;
|
|
21
|
+
/** Type */
|
|
22
|
+
type: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Learning Policy Rules definition
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface LearningPolicyRules {
|
|
31
|
+
description: string;
|
|
32
|
+
policyRule: string;
|
|
33
|
+
type: string;
|
|
34
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LearningOutput as LearningOutput_LearningOutput } from './LearningOutput';
|
|
2
2
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "fac1dbda1464e3c092b4cf396e5e0afc";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: LearningProgramOutput, existing: LearningProgramOutputNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LearningProgramOutputNormalized;
|
|
@@ -21,6 +21,8 @@ export interface LearningProgramOutputNormalized extends LearningOutput_Learning
|
|
|
21
21
|
};
|
|
22
22
|
/** Learning program id. */
|
|
23
23
|
learningProgramId?: string;
|
|
24
|
+
/** The product id associated with the learning program. */
|
|
25
|
+
productId: string;
|
|
24
26
|
/** Applies only to learning programs. Identifies whether the learning program is a top-level program (true) or not (false). */
|
|
25
27
|
topLevelProgram?: boolean;
|
|
26
28
|
}
|
|
@@ -35,6 +37,7 @@ export interface LearningProgramOutput extends LearningOutput_LearningOutput {
|
|
|
35
37
|
[key: string]: unknown;
|
|
36
38
|
};
|
|
37
39
|
learningProgramId?: string;
|
|
40
|
+
productId: string;
|
|
38
41
|
topLevelProgram?: boolean;
|
|
39
42
|
type: 'LearningProgram';
|
|
40
43
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { LearningPolicyRuleUpdate as LearningPolicyRuleUpdate_LearningPolicyRuleUpdate } from './LearningPolicyRuleUpdate';
|
|
1
2
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "39c1b80b6205d38f91a32f58c68dc6ae";
|
|
3
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
5
|
export declare const RepresentationType: string;
|
|
5
6
|
export declare function normalize(input: UpdateLearningInputRepresentation, existing: UpdateLearningInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UpdateLearningInputRepresentationNormalized;
|
|
@@ -18,6 +19,8 @@ export interface UpdateLearningInputRepresentationNormalized {
|
|
|
18
19
|
corequisites?: {};
|
|
19
20
|
/** Learning record to be updated. */
|
|
20
21
|
learning: {};
|
|
22
|
+
/** List of Learning Policy Rules that are part of learning */
|
|
23
|
+
learningPolicyRules: Array<LearningPolicyRuleUpdate_LearningPolicyRuleUpdate>;
|
|
21
24
|
/** List of AchievementMappings which are part of the outcomes set */
|
|
22
25
|
outcomes?: Array<{}>;
|
|
23
26
|
/** Requirement update item which is part of the prerequisite set */
|
|
@@ -34,6 +37,7 @@ export interface UpdateLearningInputRepresentationNormalized {
|
|
|
34
37
|
export interface UpdateLearningInputRepresentation {
|
|
35
38
|
corequisites?: {};
|
|
36
39
|
learning: {};
|
|
40
|
+
learningPolicyRules: Array<LearningPolicyRuleUpdate_LearningPolicyRuleUpdate>;
|
|
37
41
|
outcomes?: Array<{}>;
|
|
38
42
|
prerequisites?: {};
|
|
39
43
|
recommended?: {};
|