@salesforce/lds-adapters-platform-learning-content 0.1.0-dev1

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.
Files changed (62) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/platform-learning-content.js +5525 -0
  3. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
  4. package/dist/es/es2018/types/src/generated/adapters/evaluateLearningItem.d.ts +16 -0
  5. package/dist/es/es2018/types/src/generated/adapters/getCoachingAIFeedback.d.ts +27 -0
  6. package/dist/es/es2018/types/src/generated/adapters/getFeaturedItemsRecommendedList.d.ts +28 -0
  7. package/dist/es/es2018/types/src/generated/adapters/getFeaturedItemsRelatedList.d.ts +29 -0
  8. package/dist/es/es2018/types/src/generated/adapters/getLearningConfig.d.ts +26 -0
  9. package/dist/es/es2018/types/src/generated/adapters/getLearningItemProgress.d.ts +27 -0
  10. package/dist/es/es2018/types/src/generated/adapters/getLearningItemsList.d.ts +27 -0
  11. package/dist/es/es2018/types/src/generated/adapters/getLearningModel.d.ts +27 -0
  12. package/dist/es/es2018/types/src/generated/adapters/getLearningPractice.d.ts +28 -0
  13. package/dist/es/es2018/types/src/generated/adapters/getModule.d.ts +28 -0
  14. package/dist/es/es2018/types/src/generated/adapters/getTextLesson.d.ts +28 -0
  15. package/dist/es/es2018/types/src/generated/adapters/submitForCoachingAIFeedback.d.ts +16 -0
  16. package/dist/es/es2018/types/src/generated/adapters/submitForCoachingMomentsProductPitchFeedback.d.ts +16 -0
  17. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +16 -0
  18. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +31 -0
  19. package/dist/es/es2018/types/src/generated/resources/getLearningContentPlatformCoachingAiFeedbackByLearningItemSubmissionId.d.ts +15 -0
  20. package/dist/es/es2018/types/src/generated/resources/getLearningContentPlatformFeaturedItemListRecommended.d.ts +16 -0
  21. package/dist/es/es2018/types/src/generated/resources/getLearningContentPlatformFeaturedItemListRelated.d.ts +17 -0
  22. package/dist/es/es2018/types/src/generated/resources/getLearningContentPlatformLearningConfig.d.ts +12 -0
  23. package/dist/es/es2018/types/src/generated/resources/getLearningContentPlatformLearningItemList.d.ts +15 -0
  24. package/dist/es/es2018/types/src/generated/resources/getLearningContentPlatformLearningItemProgress.d.ts +15 -0
  25. package/dist/es/es2018/types/src/generated/resources/getLearningContentPlatformLearningModelByLearningItemId.d.ts +15 -0
  26. package/dist/es/es2018/types/src/generated/resources/getLearningContentPlatformLearningModuleByModuleId.d.ts +16 -0
  27. package/dist/es/es2018/types/src/generated/resources/getLearningContentPlatformLearningPracticeByLearningItemId.d.ts +16 -0
  28. package/dist/es/es2018/types/src/generated/resources/getLearningContentPlatformLearningTextlessonByLearningItemId.d.ts +16 -0
  29. package/dist/es/es2018/types/src/generated/resources/postLearningContentPlatformCoachingAiFeedback.d.ts +13 -0
  30. package/dist/es/es2018/types/src/generated/resources/postLearningContentPlatformCoachingMomentsAiProductPitchFeedback.d.ts +13 -0
  31. package/dist/es/es2018/types/src/generated/resources/postLearningContentPlatformLearningEvaluate.d.ts +13 -0
  32. package/dist/es/es2018/types/src/generated/types/CoachingAICallSubmissionInputRepresentation.d.ts +31 -0
  33. package/dist/es/es2018/types/src/generated/types/CoachingAICallSubmissionOutputRepresentation.d.ts +41 -0
  34. package/dist/es/es2018/types/src/generated/types/CoachingAIFeedbackRepresentation.d.ts +31 -0
  35. package/dist/es/es2018/types/src/generated/types/CoachingAIFeedbackSummaryOutputRepresentation.d.ts +41 -0
  36. package/dist/es/es2018/types/src/generated/types/CoachingAIProductPitchFeedbackInputRepresentation.d.ts +31 -0
  37. package/dist/es/es2018/types/src/generated/types/EvaluateLearningItemInputRepresentation.d.ts +35 -0
  38. package/dist/es/es2018/types/src/generated/types/EvaluateLearningItemInputWrapperRepresentation.d.ts +28 -0
  39. package/dist/es/es2018/types/src/generated/types/FeaturedItemRecommendedListRepresentation.d.ts +38 -0
  40. package/dist/es/es2018/types/src/generated/types/FeaturedItemRelatedListRepresentation.d.ts +38 -0
  41. package/dist/es/es2018/types/src/generated/types/FeaturedItemRepresentation.d.ts +92 -0
  42. package/dist/es/es2018/types/src/generated/types/LearningAssignmentInputRepresentation.d.ts +58 -0
  43. package/dist/es/es2018/types/src/generated/types/LearningAssignmentRepresentation.d.ts +58 -0
  44. package/dist/es/es2018/types/src/generated/types/LearningConfigRepresentation.d.ts +34 -0
  45. package/dist/es/es2018/types/src/generated/types/LearningItemAssignmentRepresentation.d.ts +52 -0
  46. package/dist/es/es2018/types/src/generated/types/LearningItemListRepresentation.d.ts +38 -0
  47. package/dist/es/es2018/types/src/generated/types/LearningItemProgressListRepresentation.d.ts +38 -0
  48. package/dist/es/es2018/types/src/generated/types/LearningItemProgressRepresentation.d.ts +51 -0
  49. package/dist/es/es2018/types/src/generated/types/LearningItemRepresentation.d.ts +72 -0
  50. package/dist/es/es2018/types/src/generated/types/LearningModelInputRepresentation.d.ts +66 -0
  51. package/dist/es/es2018/types/src/generated/types/LearningModelOutputRepresentation.d.ts +76 -0
  52. package/dist/es/es2018/types/src/generated/types/LearningPracticeRepresentation.d.ts +50 -0
  53. package/dist/es/es2018/types/src/generated/types/LearningTextLessonRepresentation.d.ts +52 -0
  54. package/dist/es/es2018/types/src/generated/types/LearningTextLessonSectionRepresentation.d.ts +34 -0
  55. package/dist/es/es2018/types/src/generated/types/TrailheadModuleRepresentation.d.ts +81 -0
  56. package/dist/es/es2018/types/src/generated/types/TrailheadModuleUnitRepresentation.d.ts +46 -0
  57. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
  58. package/package.json +71 -0
  59. package/sfdc/index.d.ts +1 -0
  60. package/sfdc/index.js +5818 -0
  61. package/src/raml/api.raml +829 -0
  62. package/src/raml/luvio.raml +126 -0
@@ -0,0 +1,58 @@
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 = "888f7b5ef7fe1ee3eb98125677d3bd97";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: LearningAssignmentInputRepresentation, existing: LearningAssignmentInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LearningAssignmentInputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: LearningAssignmentInputRepresentationNormalized, incoming: LearningAssignmentInputRepresentationNormalized): 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: LearningAssignmentInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * This representation defines a method of inputting a LearningAssignment representation
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface LearningAssignmentInputRepresentationNormalized {
17
+ /** Input AssignedCount for LearningAssignment */
18
+ assignedCount: number;
19
+ /** Input AssigneeId for LearningAssignment */
20
+ assigneeId: string;
21
+ /** Input AssigneeName for LearningAssignment */
22
+ assigneeName: string;
23
+ /** Input AssigneeType for LearningAssignment */
24
+ assigneeType: string;
25
+ /** Input AssignmentDate for LearningAssignment */
26
+ assignmentDate: string;
27
+ /** Input CompletedCount for LearningAssignment */
28
+ completedCount: number;
29
+ /** Input CompletedPercent for LearningAssignment */
30
+ completedPercent: number;
31
+ /** Input DaysUntilDueDate for LearningAssignment */
32
+ daysUntilDueDate: number;
33
+ /** Input due date for LearningAssignment */
34
+ dueDate: string;
35
+ /** Input id for LearningAssignment */
36
+ id: string;
37
+ /** Input LearningItemId for LearningAssignment */
38
+ learningItemId: string;
39
+ }
40
+ /**
41
+ * This representation defines a method of inputting a LearningAssignment representation
42
+ *
43
+ * Keys:
44
+ * (none)
45
+ */
46
+ export interface LearningAssignmentInputRepresentation {
47
+ assignedCount: number;
48
+ assigneeId: string;
49
+ assigneeName: string;
50
+ assigneeType: string;
51
+ assignmentDate: string;
52
+ completedCount: number;
53
+ completedPercent: number;
54
+ daysUntilDueDate: number;
55
+ dueDate: string;
56
+ id: string;
57
+ learningItemId: string;
58
+ }
@@ -0,0 +1,58 @@
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 = "5d4f9c65c714a3f1ef57de5a211599fb";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: LearningAssignmentRepresentation, existing: LearningAssignmentRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LearningAssignmentRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: LearningAssignmentRepresentationNormalized, incoming: LearningAssignmentRepresentationNormalized): 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: LearningAssignmentRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * This representation will be used to show featured items(recommended & related) in the Side Panel Home Page
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface LearningAssignmentRepresentationNormalized {
17
+ /** Id of the LearningAssignment */
18
+ assignedCount: number | null;
19
+ /** Assignee Id associated with the LearningAssignment */
20
+ assigneeId: string | null;
21
+ /** Assignee name associated with the LearningAssignment */
22
+ assigneeName: string | null;
23
+ /** AssigneeType of the LearningAssignment */
24
+ assigneeType: string | null;
25
+ /** Assignment date of the LearningAssignment */
26
+ assignmentDate: string | null;
27
+ /** Completed count of the LearningAssignment */
28
+ completedCount: number | null;
29
+ /** Completed percent of the LearningAssignment */
30
+ completedPercent: number | null;
31
+ /** Days until the due date for the LearningAssignment */
32
+ daysUntilDueDate: number | null;
33
+ /** Due date of the LearningAssignment */
34
+ dueDate: string | null;
35
+ /** Id of the LearningAssignment */
36
+ id: string;
37
+ /** LearningItemId of the LearningAssignment */
38
+ learningItemId: string;
39
+ }
40
+ /**
41
+ * This representation will be used to show featured items(recommended & related) in the Side Panel Home Page
42
+ *
43
+ * Keys:
44
+ * (none)
45
+ */
46
+ export interface LearningAssignmentRepresentation {
47
+ assignedCount: number | null;
48
+ assigneeId: string | null;
49
+ assigneeName: string | null;
50
+ assigneeType: string | null;
51
+ assignmentDate: string | null;
52
+ completedCount: number | null;
53
+ completedPercent: number | null;
54
+ daysUntilDueDate: number | null;
55
+ dueDate: string | null;
56
+ id: string;
57
+ learningItemId: string;
58
+ }
@@ -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 = "8471031fcff953c83f350a0f66b60ddb";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: LearningConfigRepresentation, existing: LearningConfigRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LearningConfigRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: LearningConfigRepresentationNormalized, incoming: LearningConfigRepresentationNormalized): 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: LearningConfigRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * This representation will be used to return config for Learning Paths
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface LearningConfigRepresentationNormalized {
17
+ /** defines if user manage learning items */
18
+ hasElevatedLearningAccess: boolean;
19
+ /** defines max learning assignments allowed */
20
+ maxLearningAssignmentsAllowed: number;
21
+ /** defines max learning items allowed */
22
+ maxLearningItemsAllowed: number;
23
+ }
24
+ /**
25
+ * This representation will be used to return config for Learning Paths
26
+ *
27
+ * Keys:
28
+ * (none)
29
+ */
30
+ export interface LearningConfigRepresentation {
31
+ hasElevatedLearningAccess: boolean;
32
+ maxLearningAssignmentsAllowed: number;
33
+ maxLearningItemsAllowed: number;
34
+ }
@@ -0,0 +1,52 @@
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 = "f6c028b300ef47aa3d65ccf58d1101b0";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: LearningItemAssignmentRepresentation, existing: LearningItemAssignmentRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LearningItemAssignmentRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: LearningItemAssignmentRepresentationNormalized, incoming: LearningItemAssignmentRepresentationNormalized): 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: LearningItemAssignmentRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * This representation is for LearningItemAssignment types returned for LearningModelOutputRepresentation
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface LearningItemAssignmentRepresentationNormalized {
17
+ /** Assignee Id associated with the LearningAssignment */
18
+ assigneeId: string | null;
19
+ /** Assignee name associated with the LearningAssignment */
20
+ assigneeName: string | null;
21
+ /** AssigneeType of the LearningAssignment */
22
+ assigneeType: string | null;
23
+ /** Assignment date of the LearningAssignment */
24
+ assignmentDate: string | null;
25
+ /** Assignment date of the LearningAssignment */
26
+ completedDate: string | null;
27
+ /** Due date of the LearningAssignment */
28
+ dueDate: string | null;
29
+ /** Id of the LearningItemAssignment */
30
+ id: string;
31
+ /** LearningItemId of the LearningItemAssignment */
32
+ learningItemId: string;
33
+ /** Assignment date of the LearningAssignment */
34
+ startDate: string | null;
35
+ }
36
+ /**
37
+ * This representation is for LearningItemAssignment types returned for LearningModelOutputRepresentation
38
+ *
39
+ * Keys:
40
+ * (none)
41
+ */
42
+ export interface LearningItemAssignmentRepresentation {
43
+ assigneeId: string | null;
44
+ assigneeName: string | null;
45
+ assigneeType: string | null;
46
+ assignmentDate: string | null;
47
+ completedDate: string | null;
48
+ dueDate: string | null;
49
+ id: string;
50
+ learningItemId: string;
51
+ startDate: string | null;
52
+ }
@@ -0,0 +1,38 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ import { LearningItemRepresentation as LearningItemRepresentation_LearningItemRepresentation } from './LearningItemRepresentation';
3
+ export declare const VERSION = "cd4c27f064c3139aef14a6ef22627c0f";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: LearningItemListRepresentation, existing: LearningItemListRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LearningItemListRepresentationNormalized;
7
+ export interface DynamicIngestParams {
8
+ list: $64$luvio_engine_ResourceIngest;
9
+ }
10
+ export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: LearningItemListRepresentation, existing: LearningItemListRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => LearningItemListRepresentationNormalized;
11
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
12
+ export interface DynamicSelectParams {
13
+ list?: $64$luvio_engine_LinkSelection;
14
+ }
15
+ export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
16
+ export declare function equals(existing: LearningItemListRepresentationNormalized, incoming: LearningItemListRepresentationNormalized): boolean;
17
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
18
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: LearningItemListRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
19
+ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
20
+ /**
21
+ * This representation defines a list of LearningItemRepresentation entities
22
+ *
23
+ * Keys:
24
+ * (none)
25
+ */
26
+ export interface LearningItemListRepresentationNormalized {
27
+ /** returns the list of LearningItemRepresentation objects */
28
+ list: Array<$64$luvio_engine_StoreLink>;
29
+ }
30
+ /**
31
+ * This representation defines a list of LearningItemRepresentation entities
32
+ *
33
+ * Keys:
34
+ * (none)
35
+ */
36
+ export interface LearningItemListRepresentation {
37
+ list: Array<LearningItemRepresentation_LearningItemRepresentation>;
38
+ }
@@ -0,0 +1,38 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ import { LearningItemProgressRepresentation as LearningItemProgressRepresentation_LearningItemProgressRepresentation } from './LearningItemProgressRepresentation';
3
+ export declare const VERSION = "1292f1a549c777c6586cca649e823737";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: LearningItemProgressListRepresentation, existing: LearningItemProgressListRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LearningItemProgressListRepresentationNormalized;
7
+ export interface DynamicIngestParams {
8
+ list: $64$luvio_engine_ResourceIngest;
9
+ }
10
+ export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: LearningItemProgressListRepresentation, existing: LearningItemProgressListRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => LearningItemProgressListRepresentationNormalized;
11
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
12
+ export interface DynamicSelectParams {
13
+ list?: $64$luvio_engine_LinkSelection;
14
+ }
15
+ export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
16
+ export declare function equals(existing: LearningItemProgressListRepresentationNormalized, incoming: LearningItemProgressListRepresentationNormalized): boolean;
17
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
18
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: LearningItemProgressListRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
19
+ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
20
+ /**
21
+ * This representation defines a list of LearningItemProgressRepresentation entities
22
+ *
23
+ * Keys:
24
+ * (none)
25
+ */
26
+ export interface LearningItemProgressListRepresentationNormalized {
27
+ /** returns the list of LearningItemProgressRepresentation objects */
28
+ list: Array<$64$luvio_engine_StoreLink>;
29
+ }
30
+ /**
31
+ * This representation defines a list of LearningItemProgressRepresentation entities
32
+ *
33
+ * Keys:
34
+ * (none)
35
+ */
36
+ export interface LearningItemProgressListRepresentation {
37
+ list: Array<LearningItemProgressRepresentation_LearningItemProgressRepresentation>;
38
+ }
@@ -0,0 +1,51 @@
1
+ import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
+ export declare const TTL = 15000;
3
+ export declare const VERSION = "27f3961abdd235a3376e6b38f59393e1";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export interface KeyParams extends $64$luvio_engine_KeyMetadata {
7
+ learning_item_id: string;
8
+ }
9
+ export type LearningItemProgressRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
10
+ export type PartialLearningItemProgressRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
11
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
12
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): LearningItemProgressRepresentationNormalizedKeyMetadata;
13
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: LearningItemProgressRepresentation): string;
14
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: LearningItemProgressRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
15
+ export declare function normalize(input: LearningItemProgressRepresentation, existing: LearningItemProgressRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LearningItemProgressRepresentationNormalized;
16
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
17
+ export declare function equals(existing: LearningItemProgressRepresentationNormalized, incoming: LearningItemProgressRepresentationNormalized): boolean;
18
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
19
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: LearningItemProgressRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
20
+ /**
21
+ * Learning Item Progress Representation
22
+ *
23
+ * Keys:
24
+ * learning_item_id (string): learningItemId
25
+ */
26
+ export interface LearningItemProgressRepresentationNormalized {
27
+ /** Completed date of the learning item progress */
28
+ completedDate: string | null;
29
+ /** Completed percent of the learning item progress */
30
+ completedPercent: number | null;
31
+ /** The ID of the learning item progress */
32
+ id: string;
33
+ /** Completed state of the learning item progress */
34
+ isCompleted: boolean;
35
+ /** Id of the learning item associated with this learning item progress */
36
+ learningItemId: string;
37
+ }
38
+ /**
39
+ * Learning Item Progress Representation
40
+ *
41
+ * Keys:
42
+ * learning_item_id (string): learningItemId
43
+ */
44
+ export interface LearningItemProgressRepresentation {
45
+ completedDate: string | null;
46
+ completedPercent: number | null;
47
+ id: string;
48
+ isCompleted: boolean;
49
+ learningItemId: string;
50
+ }
51
+ export declare const notifyUpdateAvailableFactory: (luvio: $64$luvio_engine_Luvio) => (configs: Partial<KeyParams>[]) => Promise<void>;
@@ -0,0 +1,72 @@
1
+ import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
+ export declare const TTL = 60000;
3
+ export declare const VERSION = "1832481a3fe10deeb9c5dddba933f3da";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export interface KeyParams extends $64$luvio_engine_KeyMetadata {
7
+ learning_item_id: string | null;
8
+ }
9
+ export type LearningItemRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
10
+ export type PartialLearningItemRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
11
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
12
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): LearningItemRepresentationNormalizedKeyMetadata;
13
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: LearningItemRepresentation): string;
14
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: LearningItemRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
15
+ export declare function normalize(input: LearningItemRepresentation, existing: LearningItemRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LearningItemRepresentationNormalized;
16
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
17
+ export declare function equals(existing: LearningItemRepresentationNormalized, incoming: LearningItemRepresentationNormalized): boolean;
18
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
19
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: LearningItemRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
20
+ /**
21
+ * This representation maps to the LearningListItem class and is used to represent LearningItem information
22
+ *
23
+ * Keys:
24
+ * learning_item_id (string | null): id
25
+ */
26
+ export interface LearningItemRepresentationNormalized {
27
+ /** Specifies the given completion rate for the LearningItem */
28
+ completionRate: number;
29
+ /** Specifies the given content type for the LearningItem */
30
+ contentType: string | null;
31
+ /** Specifies the given createdBy field for the LearningItem */
32
+ createdBy: string | null;
33
+ /** Specifies the given creation date for the LearningItem */
34
+ createdDate: string | null;
35
+ /** Specifies the given description for the LearningItem */
36
+ description: string | null;
37
+ /** Optional duration field for the LearningItem */
38
+ duration: number | null;
39
+ /** Specifies whether the LearningItem has assignments */
40
+ hasAssignments: boolean | null;
41
+ /** Specifies the given Id for the LearningItem */
42
+ id: string | null;
43
+ /** Specifies the given image url for the LearningItem */
44
+ imageUrl: string | null;
45
+ /** Specifies the given Learning Content Id for the LearningItem */
46
+ learningContentId: string | null;
47
+ /** Specifies the given title for the LearningItem */
48
+ title: string | null;
49
+ /** Optional url field for the LearningItem */
50
+ url: string | null;
51
+ }
52
+ /**
53
+ * This representation maps to the LearningListItem class and is used to represent LearningItem information
54
+ *
55
+ * Keys:
56
+ * learning_item_id (string | null): id
57
+ */
58
+ export interface LearningItemRepresentation {
59
+ completionRate: number;
60
+ contentType: string | null;
61
+ createdBy: string | null;
62
+ createdDate: string | null;
63
+ description: string | null;
64
+ duration: number | null;
65
+ hasAssignments: boolean | null;
66
+ id: string | null;
67
+ imageUrl: string | null;
68
+ learningContentId: string | null;
69
+ title: string | null;
70
+ url: string | null;
71
+ }
72
+ export declare const notifyUpdateAvailableFactory: (luvio: $64$luvio_engine_Luvio) => (configs: Partial<KeyParams>[]) => Promise<void>;
@@ -0,0 +1,66 @@
1
+ import { LearningAssignmentInputRepresentation as LearningAssignmentInputRepresentation_LearningAssignmentInputRepresentation } from './LearningAssignmentInputRepresentation';
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 = "0fc5a986c5bf18c340b23d88da2812ed";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: LearningModelInputRepresentation, existing: LearningModelInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LearningModelInputRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: LearningModelInputRepresentationNormalized, incoming: LearningModelInputRepresentationNormalized): boolean;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: LearningModelInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * This representation defines a method of inputting a LearningModel representation
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface LearningModelInputRepresentationNormalized {
18
+ /** Input assignment type for LearningModel */
19
+ assignmentType: string;
20
+ /** Input list of assignments for LearningModel */
21
+ assignments: Array<LearningAssignmentInputRepresentation_LearningAssignmentInputRepresentation>;
22
+ /** Input LearningContent type for LearningModel */
23
+ contentType: string;
24
+ /** Input custom due date for LearningModel */
25
+ customDueDate: string;
26
+ /** Input description for LearningModel */
27
+ description: string;
28
+ /** Input due date type for LearningModel */
29
+ dueDateType: string;
30
+ /** Input id for LearningModel */
31
+ id: string;
32
+ /** Input LearningContent id for LearningModel */
33
+ learningContentId: string;
34
+ /** Input pageRefs for LearningModel */
35
+ pageRefs: Array<{
36
+ [key: string]: {};
37
+ }>;
38
+ /** Input start date for LearningModel */
39
+ startDate: string;
40
+ /** Input title for LearningModel */
41
+ title: string;
42
+ /** Input url for LearningModel */
43
+ url: string;
44
+ }
45
+ /**
46
+ * This representation defines a method of inputting a LearningModel representation
47
+ *
48
+ * Keys:
49
+ * (none)
50
+ */
51
+ export interface LearningModelInputRepresentation {
52
+ assignmentType: string;
53
+ assignments: Array<LearningAssignmentInputRepresentation_LearningAssignmentInputRepresentation>;
54
+ contentType: string;
55
+ customDueDate: string;
56
+ description: string;
57
+ dueDateType: string;
58
+ id: string;
59
+ learningContentId: string;
60
+ pageRefs: Array<{
61
+ [key: string]: {};
62
+ }>;
63
+ startDate: string;
64
+ title: string;
65
+ url: string;
66
+ }
@@ -0,0 +1,76 @@
1
+ import { LearningAssignmentRepresentation as LearningAssignmentRepresentation_LearningAssignmentRepresentation } from './LearningAssignmentRepresentation';
2
+ import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
3
+ export declare const TTL = 15000;
4
+ export declare const VERSION = "3ae4e1d57057645da8f2613fbdc5e245";
5
+ export declare function validate(obj: any, path?: string): TypeError | null;
6
+ export declare const RepresentationType: string;
7
+ export interface KeyParams extends $64$luvio_engine_KeyMetadata {
8
+ learning_item_id: string | null;
9
+ }
10
+ export type LearningModelOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
11
+ export type PartialLearningModelOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
12
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
13
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): LearningModelOutputRepresentationNormalizedKeyMetadata;
14
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: LearningModelOutputRepresentation): string;
15
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: LearningModelOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
16
+ export declare function normalize(input: LearningModelOutputRepresentation, existing: LearningModelOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LearningModelOutputRepresentationNormalized;
17
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
18
+ export declare function equals(existing: LearningModelOutputRepresentationNormalized, incoming: LearningModelOutputRepresentationNormalized): boolean;
19
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
20
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: LearningModelOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
21
+ /**
22
+ * This representation will be used to return LearningModels
23
+ *
24
+ * Keys:
25
+ * learning_item_id (string | null): id
26
+ */
27
+ export interface LearningModelOutputRepresentationNormalized {
28
+ /** Specifies the Assignment Type for the LearningModel */
29
+ assignmentType: string | null;
30
+ /** Specifies a list of LearningAssignments for the LearningModel. */
31
+ assignments: Array<LearningAssignmentRepresentation_LearningAssignmentRepresentation>;
32
+ /** Specifies the available pount count for the LearningModel. */
33
+ availablePointCount: number | null;
34
+ /** Specifies the content type of the LearningModel */
35
+ contentType: string | null;
36
+ /** Specifies the description for the LearningModel. */
37
+ description: string;
38
+ /** Specifies the duration count of the LearningModel. */
39
+ durationCount: number | null;
40
+ /** Specifies the given Id for the LearningModel. */
41
+ id: string | null;
42
+ /** Specifies the image URL for the LearningModel. */
43
+ imageUrl: string | null;
44
+ /** Specifies the LearningContent id for the LearningModel. */
45
+ learningContentId: string | null;
46
+ /** Specifies a list of pageRefs for the LearningModel. */
47
+ pageRefs: Array<{
48
+ [key: string]: unknown;
49
+ }>;
50
+ /** Specifies the title for the LearningModel. */
51
+ title: string;
52
+ /** Specifies the given URL for the LearningModel */
53
+ url: string | null;
54
+ }
55
+ /**
56
+ * This representation will be used to return LearningModels
57
+ *
58
+ * Keys:
59
+ * learning_item_id (string | null): id
60
+ */
61
+ export interface LearningModelOutputRepresentation {
62
+ assignmentType: string | null;
63
+ assignments: Array<LearningAssignmentRepresentation_LearningAssignmentRepresentation>;
64
+ availablePointCount: number | null;
65
+ contentType: string | null;
66
+ description: string;
67
+ durationCount: number | null;
68
+ id: string | null;
69
+ imageUrl: string | null;
70
+ learningContentId: string | null;
71
+ pageRefs: Array<{
72
+ [key: string]: unknown;
73
+ }>;
74
+ title: string;
75
+ url: string | null;
76
+ }
@@ -0,0 +1,50 @@
1
+ import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
+ export declare const TTL = 60000;
3
+ export declare const VERSION = "2925211e5284d3a12b358a5bda082646";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export interface KeyParams extends $64$luvio_engine_KeyMetadata {
7
+ learning_item_id: string;
8
+ }
9
+ export type LearningPracticeRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
10
+ export type PartialLearningPracticeRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
11
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
12
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): LearningPracticeRepresentationNormalizedKeyMetadata;
13
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: LearningPracticeRepresentation): string;
14
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: LearningPracticeRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
15
+ export declare function normalize(input: LearningPracticeRepresentation, existing: LearningPracticeRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LearningPracticeRepresentationNormalized;
16
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
17
+ export declare function equals(existing: LearningPracticeRepresentationNormalized, incoming: LearningPracticeRepresentationNormalized): boolean;
18
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
19
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: LearningPracticeRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
20
+ /**
21
+ * This representation maps to the LearningPractice class and is used to represent learning practice (Coaching)
22
+ *
23
+ * Keys:
24
+ * learning_item_id (string): learningItemId
25
+ */
26
+ export interface LearningPracticeRepresentationNormalized {
27
+ /** Description of the learning practice */
28
+ description: string;
29
+ /** Learning Item ID of the learning practice */
30
+ learningItemId: string;
31
+ /** Specifies the minimum invitee quantity for the Learning Practice */
32
+ minimumInviteeQuantity: number | null;
33
+ /** Specifies the Survey Id for the Learning Practice */
34
+ surveyId: string | null;
35
+ /** Title of the learning practice */
36
+ title: string;
37
+ }
38
+ /**
39
+ * This representation maps to the LearningPractice class and is used to represent learning practice (Coaching)
40
+ *
41
+ * Keys:
42
+ * learning_item_id (string): learningItemId
43
+ */
44
+ export interface LearningPracticeRepresentation {
45
+ description: string;
46
+ learningItemId: string;
47
+ minimumInviteeQuantity: number | null;
48
+ surveyId: string | null;
49
+ title: string;
50
+ }