@salesforce/lds-adapters-industries-education 1.364.0 → 1.366.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 +87 -8
- package/dist/es/es2018/types/src/generated/types/CreateLearningInputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/GetLearningOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/LearningCourseOutput.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/LearningEquivalency.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/LearningStatus.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/UpdateLearningInputRepresentation.d.ts +8 -1
- package/package.json +4 -4
- package/sfdc/index.js +181 -102
- package/src/raml/api.raml +64 -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$1h(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 + '")');
|
|
@@ -267,7 +267,7 @@ function validate$1g(obj, path = 'LearningOutput') {
|
|
|
267
267
|
return v_error === undefined ? null : v_error;
|
|
268
268
|
}
|
|
269
269
|
|
|
270
|
-
function validate$
|
|
270
|
+
function validate$1g(obj, path = 'LearningOutcomeItemOutput') {
|
|
271
271
|
const v_error = (() => {
|
|
272
272
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
273
273
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -331,6 +331,36 @@ function validate$1f(obj, path = 'LearningOutcomeItemOutput') {
|
|
|
331
331
|
return v_error === undefined ? null : v_error;
|
|
332
332
|
}
|
|
333
333
|
|
|
334
|
+
function validate$1f(obj, path = 'LearningEquivalency') {
|
|
335
|
+
const v_error = (() => {
|
|
336
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
337
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
338
|
+
}
|
|
339
|
+
if (obj.equivalencyId !== undefined) {
|
|
340
|
+
const obj_equivalencyId = obj.equivalencyId;
|
|
341
|
+
const path_equivalencyId = path + '.equivalencyId';
|
|
342
|
+
if (typeof obj_equivalencyId !== 'string') {
|
|
343
|
+
return new TypeError('Expected "string" but received "' + typeof obj_equivalencyId + '" (at "' + path_equivalencyId + '")');
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
if (obj.equivalencyName !== undefined) {
|
|
347
|
+
const obj_equivalencyName = obj.equivalencyName;
|
|
348
|
+
const path_equivalencyName = path + '.equivalencyName';
|
|
349
|
+
if (typeof obj_equivalencyName !== 'string') {
|
|
350
|
+
return new TypeError('Expected "string" but received "' + typeof obj_equivalencyName + '" (at "' + path_equivalencyName + '")');
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
if (obj.typeLabel !== undefined) {
|
|
354
|
+
const obj_typeLabel = obj.typeLabel;
|
|
355
|
+
const path_typeLabel = path + '.typeLabel';
|
|
356
|
+
if (typeof obj_typeLabel !== 'string') {
|
|
357
|
+
return new TypeError('Expected "string" but received "' + typeof obj_typeLabel + '" (at "' + path_typeLabel + '")');
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
})();
|
|
361
|
+
return v_error === undefined ? null : v_error;
|
|
362
|
+
}
|
|
363
|
+
|
|
334
364
|
function validate$1e(obj, path = 'LearningStatus') {
|
|
335
365
|
const v_error = (() => {
|
|
336
366
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -378,6 +408,21 @@ function validate$1e(obj, path = 'LearningStatus') {
|
|
|
378
408
|
return new TypeError('Expected "string" but received "' + typeof obj_durationUnit + '" (at "' + path_durationUnit + '")');
|
|
379
409
|
}
|
|
380
410
|
}
|
|
411
|
+
const obj_equivalency = obj.equivalency;
|
|
412
|
+
const path_equivalency = path + '.equivalency';
|
|
413
|
+
if (!ArrayIsArray(obj_equivalency)) {
|
|
414
|
+
return new TypeError('Expected "array" but received "' + typeof obj_equivalency + '" (at "' + path_equivalency + '")');
|
|
415
|
+
}
|
|
416
|
+
for (let i = 0; i < obj_equivalency.length; i++) {
|
|
417
|
+
const obj_equivalency_item = obj_equivalency[i];
|
|
418
|
+
const path_equivalency_item = path_equivalency + '[' + i + ']';
|
|
419
|
+
const referencepath_equivalency_itemValidationError = validate$1f(obj_equivalency_item, path_equivalency_item);
|
|
420
|
+
if (referencepath_equivalency_itemValidationError !== null) {
|
|
421
|
+
let message = 'Object doesn\'t match LearningEquivalency (at "' + path_equivalency_item + '")\n';
|
|
422
|
+
message += referencepath_equivalency_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
423
|
+
return new TypeError(message);
|
|
424
|
+
}
|
|
425
|
+
}
|
|
381
426
|
if (obj.learningId !== undefined) {
|
|
382
427
|
const obj_learningId = obj.learningId;
|
|
383
428
|
const path_learningId = path + '.learningId';
|
|
@@ -448,7 +493,7 @@ function validate$1d(obj, path = 'LearningFulfiller') {
|
|
|
448
493
|
if (obj.learning !== undefined) {
|
|
449
494
|
const obj_learning = obj.learning;
|
|
450
495
|
const path_learning = path + '.learning';
|
|
451
|
-
const referencepath_learningValidationError = validate$
|
|
496
|
+
const referencepath_learningValidationError = validate$1h(obj_learning, path_learning);
|
|
452
497
|
if (referencepath_learningValidationError !== null) {
|
|
453
498
|
let message = 'Object doesn\'t match LearningOutput (at "' + path_learning + '")\n';
|
|
454
499
|
message += referencepath_learningValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -458,7 +503,7 @@ function validate$1d(obj, path = 'LearningFulfiller') {
|
|
|
458
503
|
if (obj.learningOutcomeItem !== undefined) {
|
|
459
504
|
const obj_learningOutcomeItem = obj.learningOutcomeItem;
|
|
460
505
|
const path_learningOutcomeItem = path + '.learningOutcomeItem';
|
|
461
|
-
const referencepath_learningOutcomeItemValidationError = validate$
|
|
506
|
+
const referencepath_learningOutcomeItemValidationError = validate$1g(obj_learningOutcomeItem, path_learningOutcomeItem);
|
|
462
507
|
if (referencepath_learningOutcomeItemValidationError !== null) {
|
|
463
508
|
let message = 'Object doesn\'t match LearningOutcomeItemOutput (at "' + path_learningOutcomeItem + '")\n';
|
|
464
509
|
message += referencepath_learningOutcomeItemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -657,7 +702,7 @@ function validate$1a(obj, path = 'LearningPolicyRuleOutput') {
|
|
|
657
702
|
return v_error === undefined ? null : v_error;
|
|
658
703
|
}
|
|
659
704
|
|
|
660
|
-
const VERSION$C = "
|
|
705
|
+
const VERSION$C = "00d976655763261f8c025fa68734a565";
|
|
661
706
|
function validate$19(obj, path = 'GetLearningOutputRepresentation') {
|
|
662
707
|
const v_error = (() => {
|
|
663
708
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -700,7 +745,7 @@ function validate$19(obj, path = 'GetLearningOutputRepresentation') {
|
|
|
700
745
|
if (obj.learning !== undefined) {
|
|
701
746
|
const obj_learning = obj.learning;
|
|
702
747
|
const path_learning = path + '.learning';
|
|
703
|
-
const referencepath_learningValidationError = validate$
|
|
748
|
+
const referencepath_learningValidationError = validate$1h(obj_learning, path_learning);
|
|
704
749
|
if (referencepath_learningValidationError !== null) {
|
|
705
750
|
let message = 'Object doesn\'t match LearningOutput (at "' + path_learning + '")\n';
|
|
706
751
|
message += referencepath_learningValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -724,6 +769,23 @@ function validate$19(obj, path = 'GetLearningOutputRepresentation') {
|
|
|
724
769
|
}
|
|
725
770
|
}
|
|
726
771
|
}
|
|
772
|
+
if (obj.linked !== undefined) {
|
|
773
|
+
const obj_linked = obj.linked;
|
|
774
|
+
const path_linked = path + '.linked';
|
|
775
|
+
if (!ArrayIsArray(obj_linked)) {
|
|
776
|
+
return new TypeError('Expected "array" but received "' + typeof obj_linked + '" (at "' + path_linked + '")');
|
|
777
|
+
}
|
|
778
|
+
for (let i = 0; i < obj_linked.length; i++) {
|
|
779
|
+
const obj_linked_item = obj_linked[i];
|
|
780
|
+
const path_linked_item = path_linked + '[' + i + ']';
|
|
781
|
+
const referencepath_linked_itemValidationError = validate$1c(obj_linked_item, path_linked_item);
|
|
782
|
+
if (referencepath_linked_itemValidationError !== null) {
|
|
783
|
+
let message = 'Object doesn\'t match LearningFoundationItemOutput (at "' + path_linked_item + '")\n';
|
|
784
|
+
message += referencepath_linked_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
785
|
+
return new TypeError(message);
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
}
|
|
727
789
|
if (obj.outcomes !== undefined) {
|
|
728
790
|
const obj_outcomes = obj.outcomes;
|
|
729
791
|
const path_outcomes = path + '.outcomes';
|
|
@@ -733,7 +795,7 @@ function validate$19(obj, path = 'GetLearningOutputRepresentation') {
|
|
|
733
795
|
for (let i = 0; i < obj_outcomes.length; i++) {
|
|
734
796
|
const obj_outcomes_item = obj_outcomes[i];
|
|
735
797
|
const path_outcomes_item = path_outcomes + '[' + i + ']';
|
|
736
|
-
const referencepath_outcomes_itemValidationError = validate$
|
|
798
|
+
const referencepath_outcomes_itemValidationError = validate$1g(obj_outcomes_item, path_outcomes_item);
|
|
737
799
|
if (referencepath_outcomes_itemValidationError !== null) {
|
|
738
800
|
let message = 'Object doesn\'t match LearningOutcomeItemOutput (at "' + path_outcomes_item + '")\n';
|
|
739
801
|
message += referencepath_outcomes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -741,6 +803,23 @@ function validate$19(obj, path = 'GetLearningOutputRepresentation') {
|
|
|
741
803
|
}
|
|
742
804
|
}
|
|
743
805
|
}
|
|
806
|
+
if (obj.preOrCorequisites !== undefined) {
|
|
807
|
+
const obj_preOrCorequisites = obj.preOrCorequisites;
|
|
808
|
+
const path_preOrCorequisites = path + '.preOrCorequisites';
|
|
809
|
+
if (!ArrayIsArray(obj_preOrCorequisites)) {
|
|
810
|
+
return new TypeError('Expected "array" but received "' + typeof obj_preOrCorequisites + '" (at "' + path_preOrCorequisites + '")');
|
|
811
|
+
}
|
|
812
|
+
for (let i = 0; i < obj_preOrCorequisites.length; i++) {
|
|
813
|
+
const obj_preOrCorequisites_item = obj_preOrCorequisites[i];
|
|
814
|
+
const path_preOrCorequisites_item = path_preOrCorequisites + '[' + i + ']';
|
|
815
|
+
const referencepath_preOrCorequisites_itemValidationError = validate$1c(obj_preOrCorequisites_item, path_preOrCorequisites_item);
|
|
816
|
+
if (referencepath_preOrCorequisites_itemValidationError !== null) {
|
|
817
|
+
let message = 'Object doesn\'t match LearningFoundationItemOutput (at "' + path_preOrCorequisites_item + '")\n';
|
|
818
|
+
message += referencepath_preOrCorequisites_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
819
|
+
return new TypeError(message);
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
}
|
|
744
823
|
if (obj.prerequisites !== undefined) {
|
|
745
824
|
const obj_prerequisites = obj.prerequisites;
|
|
746
825
|
const path_prerequisites = path + '.prerequisites';
|
|
@@ -3239,7 +3318,7 @@ function validate$S(obj, path = 'LearnerProgram') {
|
|
|
3239
3318
|
if (obj.learningOutcomeItem !== undefined) {
|
|
3240
3319
|
const obj_learningOutcomeItem = obj.learningOutcomeItem;
|
|
3241
3320
|
const path_learningOutcomeItem = path + '.learningOutcomeItem';
|
|
3242
|
-
const referencepath_learningOutcomeItemValidationError = validate$
|
|
3321
|
+
const referencepath_learningOutcomeItemValidationError = validate$1g(obj_learningOutcomeItem, path_learningOutcomeItem);
|
|
3243
3322
|
if (referencepath_learningOutcomeItemValidationError !== null) {
|
|
3244
3323
|
let message = 'Object doesn\'t match LearningOutcomeItemOutput (at "' + path_learningOutcomeItem + '")\n';
|
|
3245
3324
|
message += referencepath_learningOutcomeItemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LearningPolicyRules as LearningPolicyRules_LearningPolicyRules } from './LearningPolicyRules';
|
|
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 = "f250a1bf201b7e81c82c7678e12844dc";
|
|
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: CreateLearningInputRepresentation, existing: CreateLearningInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CreateLearningInputRepresentationNormalized;
|
|
@@ -21,8 +21,12 @@ export interface CreateLearningInputRepresentationNormalized {
|
|
|
21
21
|
learning: {};
|
|
22
22
|
/** List of Learning Policy Rules that are part of learning */
|
|
23
23
|
learningPolicyRules: Array<LearningPolicyRules_LearningPolicyRules>;
|
|
24
|
+
/** List of AchievementMappings that are part of the linked courses set set */
|
|
25
|
+
linked?: Array<unknown>;
|
|
24
26
|
/** List of AchievementMappings which are part of the outcomes set */
|
|
25
27
|
outcomes?: Array<{}>;
|
|
28
|
+
/** List of AchievementMappings that are part of the prerequisite or co-requisite set set */
|
|
29
|
+
preOrCorequisites?: Array<unknown>;
|
|
26
30
|
/** List of AchievementMappings which are part of the prerequisite set */
|
|
27
31
|
prerequisites?: Array<{}>;
|
|
28
32
|
/** List of AchievementMappings which are part of the recommended set */
|
|
@@ -40,7 +44,9 @@ export interface CreateLearningInputRepresentation {
|
|
|
40
44
|
corequisites?: Array<{}>;
|
|
41
45
|
learning: {};
|
|
42
46
|
learningPolicyRules: Array<LearningPolicyRules_LearningPolicyRules>;
|
|
47
|
+
linked?: Array<unknown>;
|
|
43
48
|
outcomes?: Array<{}>;
|
|
49
|
+
preOrCorequisites?: Array<unknown>;
|
|
44
50
|
prerequisites?: Array<{}>;
|
|
45
51
|
recommended?: Array<{}>;
|
|
46
52
|
skills?: Array<{}>;
|
|
@@ -6,7 +6,7 @@ import { LearningOutcomeItemOutput as LearningOutcomeItemOutput_LearningOutcomeI
|
|
|
6
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';
|
|
7
7
|
import { LearningCourseOutput as LearningCourseOutput_LearningCourseOutput } from './LearningCourseOutput';
|
|
8
8
|
import { LearningProgramOutput as LearningProgramOutput_LearningProgramOutput } from './LearningProgramOutput';
|
|
9
|
-
export declare const VERSION = "
|
|
9
|
+
export declare const VERSION = "00d976655763261f8c025fa68734a565";
|
|
10
10
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
11
11
|
export declare const RepresentationType: string;
|
|
12
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;
|
|
@@ -28,8 +28,12 @@ export interface GetLearningOutputRepresentationNormalized {
|
|
|
28
28
|
learning?: LearningOutput_LearningOutput;
|
|
29
29
|
/** Learning Policies Output. */
|
|
30
30
|
learningPolicyRules?: Array<LearningPolicyRuleOutput_LearningPolicyRuleOutput>;
|
|
31
|
+
/** Linked courses */
|
|
32
|
+
linked?: Array<LearningFoundationItemOutput_LearningFoundationItemOutput>;
|
|
31
33
|
/** Outcomes */
|
|
32
34
|
outcomes?: Array<LearningOutcomeItemOutput_LearningOutcomeItemOutput>;
|
|
35
|
+
/** Prerequisite or co-requisite courses */
|
|
36
|
+
preOrCorequisites?: Array<LearningFoundationItemOutput_LearningFoundationItemOutput>;
|
|
33
37
|
/** Prerequisites */
|
|
34
38
|
prerequisites?: Array<LearningFoundationItemOutput_LearningFoundationItemOutput>;
|
|
35
39
|
/** Recommended */
|
|
@@ -48,7 +52,9 @@ export interface GetLearningOutputRepresentation {
|
|
|
48
52
|
errors?: Array<EducationApiErrorDetails_EducationApiErrorDetails>;
|
|
49
53
|
learning?: LearningCourseOutput_LearningCourseOutput | LearningProgramOutput_LearningProgramOutput;
|
|
50
54
|
learningPolicyRules?: Array<LearningPolicyRuleOutput_LearningPolicyRuleOutput>;
|
|
55
|
+
linked?: Array<LearningFoundationItemOutput_LearningFoundationItemOutput>;
|
|
51
56
|
outcomes?: Array<LearningOutcomeItemOutput_LearningOutcomeItemOutput>;
|
|
57
|
+
preOrCorequisites?: Array<LearningFoundationItemOutput_LearningFoundationItemOutput>;
|
|
52
58
|
prerequisites?: Array<LearningFoundationItemOutput_LearningFoundationItemOutput>;
|
|
53
59
|
recommended?: Array<LearningFoundationItemOutput_LearningFoundationItemOutput>;
|
|
54
60
|
success?: boolean;
|
|
@@ -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 = "76e451c422f7a4fcacdf4fcf5306c6be";
|
|
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: LearningCourseOutput, existing: LearningCourseOutputNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LearningCourseOutputNormalized;
|
|
@@ -19,6 +19,8 @@ export interface LearningCourseOutputNormalized extends LearningOutput_LearningO
|
|
|
19
19
|
courseLevelDescription?: string;
|
|
20
20
|
/** Learning course number. */
|
|
21
21
|
courseNumber?: string;
|
|
22
|
+
/** Type of the course. */
|
|
23
|
+
courseType?: string;
|
|
22
24
|
/** Learning field of study. */
|
|
23
25
|
fieldOfStudy?: string;
|
|
24
26
|
/** Learning course custom fields. */
|
|
@@ -27,6 +29,8 @@ export interface LearningCourseOutputNormalized extends LearningOutput_LearningO
|
|
|
27
29
|
};
|
|
28
30
|
/** Learning course id. */
|
|
29
31
|
learningCourseId?: string;
|
|
32
|
+
/** Indicates if this is a linked-only course. */
|
|
33
|
+
linkedOnly?: boolean;
|
|
30
34
|
/** Learning subject abbreviation. */
|
|
31
35
|
subjectAbbreviation?: string;
|
|
32
36
|
}
|
|
@@ -39,11 +43,13 @@ export interface LearningCourseOutputNormalized extends LearningOutput_LearningO
|
|
|
39
43
|
export interface LearningCourseOutput extends LearningOutput_LearningOutput {
|
|
40
44
|
courseLevelDescription?: string;
|
|
41
45
|
courseNumber?: string;
|
|
46
|
+
courseType?: string;
|
|
42
47
|
fieldOfStudy?: string;
|
|
43
48
|
learningCourseCustomFields?: {
|
|
44
49
|
[key: string]: unknown;
|
|
45
50
|
};
|
|
46
51
|
learningCourseId?: string;
|
|
52
|
+
linkedOnly?: boolean;
|
|
47
53
|
subjectAbbreviation?: string;
|
|
48
54
|
type: 'LearningCourse';
|
|
49
55
|
}
|
|
@@ -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 = "6641e60371a60a64b33d973a6073a3bf";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: LearningEquivalency, existing: LearningEquivalencyNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LearningEquivalencyNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: LearningEquivalencyNormalized, incoming: LearningEquivalencyNormalized): 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: LearningEquivalency, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Equivalency like Transfer credit, Work Equivalency, etc.
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface LearningEquivalencyNormalized {
|
|
17
|
+
/** ID of the Equivalency */
|
|
18
|
+
equivalencyId?: string;
|
|
19
|
+
/** Name of the Equivalency */
|
|
20
|
+
equivalencyName?: string;
|
|
21
|
+
/** type of the Equivalency */
|
|
22
|
+
typeLabel?: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Equivalency like Transfer credit, Work Equivalency, etc.
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface LearningEquivalency {
|
|
31
|
+
equivalencyId?: string;
|
|
32
|
+
equivalencyName?: string;
|
|
33
|
+
typeLabel?: string;
|
|
34
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { LearningEquivalency as LearningEquivalency_LearningEquivalency } from './LearningEquivalency';
|
|
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 = "5eca04ba460f4fede6472c81d60c2e34";
|
|
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: LearningStatus, existing: LearningStatusNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LearningStatusNormalized;
|
|
@@ -26,6 +27,8 @@ export interface LearningStatusNormalized {
|
|
|
26
27
|
academicYear?: string;
|
|
27
28
|
/** The unit of measurement for completion of the course */
|
|
28
29
|
durationUnit?: string;
|
|
30
|
+
/** List of equivalencies like Transfer credit, Work Equivalency, etc. */
|
|
31
|
+
equivalency: Array<LearningEquivalency_LearningEquivalency>;
|
|
29
32
|
/** Learning Id */
|
|
30
33
|
learningId?: string;
|
|
31
34
|
/** The letter grade awarded to the learner for completing the course */
|
|
@@ -56,6 +59,7 @@ export interface LearningStatus {
|
|
|
56
59
|
academicTermId?: string;
|
|
57
60
|
academicYear?: string;
|
|
58
61
|
durationUnit?: string;
|
|
62
|
+
equivalency: Array<LearningEquivalency_LearningEquivalency>;
|
|
59
63
|
learningId?: string;
|
|
60
64
|
letterGrade?: string;
|
|
61
65
|
mappedStatusDefinition: Array<string>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { LearningPolicyRuleUpdate as LearningPolicyRuleUpdate_LearningPolicyRuleUpdate } from './LearningPolicyRuleUpdate';
|
|
2
|
+
import { RequirementUpdateItem as RequirementUpdateItem_RequirementUpdateItem } from './RequirementUpdateItem';
|
|
2
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';
|
|
3
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "3ae73d176cf95194f686deb140056429";
|
|
4
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
6
|
export declare const RepresentationType: string;
|
|
6
7
|
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;
|
|
@@ -21,8 +22,12 @@ export interface UpdateLearningInputRepresentationNormalized {
|
|
|
21
22
|
learning: {};
|
|
22
23
|
/** List of Learning Policy Rules that are part of learning */
|
|
23
24
|
learningPolicyRules: Array<LearningPolicyRuleUpdate_LearningPolicyRuleUpdate>;
|
|
25
|
+
/** Requirement update item which is part of the linked set */
|
|
26
|
+
linked?: RequirementUpdateItem_RequirementUpdateItem;
|
|
24
27
|
/** List of AchievementMappings which are part of the outcomes set */
|
|
25
28
|
outcomes?: Array<{}>;
|
|
29
|
+
/** Requirement update item which is part of the prerequisite or co-requisite set */
|
|
30
|
+
preOrCorequisites?: RequirementUpdateItem_RequirementUpdateItem;
|
|
26
31
|
/** Requirement update item which is part of the prerequisite set */
|
|
27
32
|
prerequisites?: {};
|
|
28
33
|
/** Requirement update item which is part of the recommended set */
|
|
@@ -38,7 +43,9 @@ export interface UpdateLearningInputRepresentation {
|
|
|
38
43
|
corequisites?: {};
|
|
39
44
|
learning: {};
|
|
40
45
|
learningPolicyRules: Array<LearningPolicyRuleUpdate_LearningPolicyRuleUpdate>;
|
|
46
|
+
linked?: RequirementUpdateItem_RequirementUpdateItem;
|
|
41
47
|
outcomes?: Array<{}>;
|
|
48
|
+
preOrCorequisites?: RequirementUpdateItem_RequirementUpdateItem;
|
|
42
49
|
prerequisites?: {};
|
|
43
50
|
recommended?: {};
|
|
44
51
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-education",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.366.0",
|
|
4
4
|
"description": "Education Cloud related actions",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/es/es2018/industries-education.js",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"test:unit": "jest --config=./jest.config.js"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@salesforce/lds-bindings": "^1.
|
|
49
|
+
"@salesforce/lds-bindings": "^1.366.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
53
|
-
"@salesforce/lds-karma": "^1.
|
|
52
|
+
"@salesforce/lds-compiler-plugins": "^1.366.0",
|
|
53
|
+
"@salesforce/lds-karma": "^1.366.0"
|
|
54
54
|
},
|
|
55
55
|
"nx": {
|
|
56
56
|
"targets": {
|