@salesforce/lds-adapters-platform-learning-content 1.124.2 → 1.124.4

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 (57) hide show
  1. package/dist/es/es2018/platform-learning-content.js +5887 -5887
  2. package/dist/{types → es/es2018/types}/src/generated/adapters/adapter-utils.d.ts +66 -66
  3. package/dist/{types → es/es2018/types}/src/generated/adapters/evaluateLearningItem.d.ts +15 -15
  4. package/dist/{types → es/es2018/types}/src/generated/adapters/getFeaturedItemsRecommendedList.d.ts +27 -27
  5. package/dist/{types → es/es2018/types}/src/generated/adapters/getFeaturedItemsRelatedList.d.ts +27 -27
  6. package/dist/{types → es/es2018/types}/src/generated/adapters/getLearningConfig.d.ts +25 -25
  7. package/dist/{types → es/es2018/types}/src/generated/adapters/getLearningItemProgress.d.ts +26 -26
  8. package/dist/{types → es/es2018/types}/src/generated/adapters/getLearningItemsList.d.ts +26 -26
  9. package/dist/{types → es/es2018/types}/src/generated/adapters/getLearningModel.d.ts +26 -26
  10. package/dist/{types → es/es2018/types}/src/generated/adapters/getLearningPractice.d.ts +27 -27
  11. package/dist/{types → es/es2018/types}/src/generated/adapters/getLearningSearchDescribe.d.ts +25 -25
  12. package/dist/{types → es/es2018/types}/src/generated/adapters/getLearningSearchResults.d.ts +29 -29
  13. package/dist/{types → es/es2018/types}/src/generated/adapters/getModule.d.ts +27 -27
  14. package/dist/{types → es/es2018/types}/src/generated/adapters/getTextLesson.d.ts +27 -27
  15. package/dist/{types → es/es2018/types}/src/generated/artifacts/main.d.ts +12 -12
  16. package/dist/{types → es/es2018/types}/src/generated/artifacts/sfdc.d.ts +28 -28
  17. package/dist/{types → es/es2018/types}/src/generated/resources/getLearningContentPlatformFeaturedItemListRecommended.d.ts +16 -16
  18. package/dist/{types → es/es2018/types}/src/generated/resources/getLearningContentPlatformFeaturedItemListRelated.d.ts +16 -16
  19. package/dist/{types → es/es2018/types}/src/generated/resources/getLearningContentPlatformLearningConfig.d.ts +12 -12
  20. package/dist/{types → es/es2018/types}/src/generated/resources/getLearningContentPlatformLearningItemList.d.ts +15 -15
  21. package/dist/{types → es/es2018/types}/src/generated/resources/getLearningContentPlatformLearningItemProgress.d.ts +15 -15
  22. package/dist/{types → es/es2018/types}/src/generated/resources/getLearningContentPlatformLearningModelByLearningItemId.d.ts +15 -15
  23. package/dist/{types → es/es2018/types}/src/generated/resources/getLearningContentPlatformLearningModuleByModuleId.d.ts +16 -16
  24. package/dist/{types → es/es2018/types}/src/generated/resources/getLearningContentPlatformLearningPracticeByLearningItemId.d.ts +16 -16
  25. package/dist/{types → es/es2018/types}/src/generated/resources/getLearningContentPlatformLearningSearchDescribe.d.ts +12 -12
  26. package/dist/{types → es/es2018/types}/src/generated/resources/getLearningContentPlatformLearningSearchTypeByContentType.d.ts +20 -20
  27. package/dist/{types → es/es2018/types}/src/generated/resources/getLearningContentPlatformLearningTextlessonByLearningItemId.d.ts +16 -16
  28. package/dist/{types → es/es2018/types}/src/generated/resources/postLearningContentPlatformLearningEvaluate.d.ts +13 -13
  29. package/dist/{types → es/es2018/types}/src/generated/types/EvaluateLearningItemInputRepresentation.d.ts +36 -36
  30. package/dist/{types → es/es2018/types}/src/generated/types/EvaluateLearningItemInputWrapperRepresentation.d.ts +29 -29
  31. package/dist/{types → es/es2018/types}/src/generated/types/FeaturedItemRecommendedListRepresentation.d.ts +39 -39
  32. package/dist/{types → es/es2018/types}/src/generated/types/FeaturedItemRelatedListRepresentation.d.ts +39 -39
  33. package/dist/{types → es/es2018/types}/src/generated/types/FeaturedItemRepresentation.d.ts +93 -93
  34. package/dist/{types → es/es2018/types}/src/generated/types/LearningAssignmentInputRepresentation.d.ts +59 -59
  35. package/dist/{types → es/es2018/types}/src/generated/types/LearningAssignmentRepresentation.d.ts +59 -59
  36. package/dist/{types → es/es2018/types}/src/generated/types/LearningConfigRepresentation.d.ts +35 -35
  37. package/dist/{types → es/es2018/types}/src/generated/types/LearningItemAssignmentRepresentation.d.ts +53 -53
  38. package/dist/{types → es/es2018/types}/src/generated/types/LearningItemListRepresentation.d.ts +39 -39
  39. package/dist/{types → es/es2018/types}/src/generated/types/LearningItemProgressListRepresentation.d.ts +39 -39
  40. package/dist/{types → es/es2018/types}/src/generated/types/LearningItemProgressRepresentation.d.ts +48 -48
  41. package/dist/{types → es/es2018/types}/src/generated/types/LearningItemRepresentation.d.ts +72 -72
  42. package/dist/{types → es/es2018/types}/src/generated/types/LearningModelInputRepresentation.d.ts +67 -67
  43. package/dist/{types → es/es2018/types}/src/generated/types/LearningModelOutputRepresentation.d.ts +77 -77
  44. package/dist/{types → es/es2018/types}/src/generated/types/LearningPracticeRepresentation.d.ts +51 -51
  45. package/dist/{types → es/es2018/types}/src/generated/types/LearningSearchDescribeContentRepresentation.d.ts +42 -42
  46. package/dist/{types → es/es2018/types}/src/generated/types/LearningSearchDescribeRepresentation.d.ts +39 -39
  47. package/dist/{types → es/es2018/types}/src/generated/types/LearningSearchResultsRepresentation.d.ts +55 -55
  48. package/dist/{types → es/es2018/types}/src/generated/types/LearningTextLessonRepresentation.d.ts +52 -52
  49. package/dist/{types → es/es2018/types}/src/generated/types/LearningTextLessonSectionRepresentation.d.ts +35 -35
  50. package/dist/{types → es/es2018/types}/src/generated/types/TrailheadModuleRepresentation.d.ts +82 -82
  51. package/dist/{types → es/es2018/types}/src/generated/types/TrailheadModuleUnitRepresentation.d.ts +47 -47
  52. package/dist/{types → es/es2018/types}/src/generated/types/type-utils.d.ts +39 -39
  53. package/package.json +5 -5
  54. package/sfdc/index.d.ts +1 -1
  55. package/sfdc/index.js +6154 -6154
  56. package/dist/umd/es2018/platform-learning-content.js +0 -6005
  57. package/dist/umd/es5/platform-learning-content.js +0 -6024
@@ -1,55 +1,55 @@
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, 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 } from '@luvio/engine';
2
- import { FeaturedItemRepresentation as FeaturedItemRepresentation_FeaturedItemRepresentation } from './FeaturedItemRepresentation';
3
- export declare const TTL = 21600000;
4
- export declare const VERSION = "6f068b7b81d41fa29feab5d1ac9f9cb8";
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
- type: string;
9
- }
10
- export type LearningSearchResultsRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
11
- export type PartialLearningSearchResultsRepresentationNormalizedKeyMetadata = 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): LearningSearchResultsRepresentationNormalizedKeyMetadata;
14
- export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: LearningSearchResultsRepresentation): string;
15
- export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: LearningSearchResultsRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
16
- export declare function normalize(input: LearningSearchResultsRepresentation, existing: LearningSearchResultsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LearningSearchResultsRepresentationNormalized;
17
- export interface DynamicIngestParams {
18
- results: $64$luvio_engine_ResourceIngest;
19
- }
20
- export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: LearningSearchResultsRepresentation, existing: LearningSearchResultsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => LearningSearchResultsRepresentationNormalized;
21
- export declare const select: () => $64$luvio_engine_FragmentSelection;
22
- export interface DynamicSelectParams {
23
- results?: $64$luvio_engine_LinkSelection;
24
- }
25
- export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
26
- export declare function equals(existing: LearningSearchResultsRepresentationNormalized, incoming: LearningSearchResultsRepresentationNormalized): boolean;
27
- export declare function deepFreeze(input: LearningSearchResultsRepresentation): void;
28
- export declare const ingest: $64$luvio_engine_ResourceIngest;
29
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LearningSearchResultsRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
30
- export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
31
- /**
32
- * This representation will be used to represent the search results
33
- *
34
- * Keys:
35
- * type (string): type
36
- */
37
- export interface LearningSearchResultsRepresentationNormalized {
38
- /** Represents the list of search results */
39
- results: Array<$64$luvio_engine_StoreLink>;
40
- /** Represents the number of total search results */
41
- totalResults: number;
42
- /** Represents the searchable content type for which this search result is returned */
43
- type: string;
44
- }
45
- /**
46
- * This representation will be used to represent the search results
47
- *
48
- * Keys:
49
- * type (string): type
50
- */
51
- export interface LearningSearchResultsRepresentation {
52
- results: Array<FeaturedItemRepresentation_FeaturedItemRepresentation>;
53
- totalResults: number;
54
- type: string;
55
- }
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, 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 } from '@luvio/engine';
2
+ import { FeaturedItemRepresentation as FeaturedItemRepresentation_FeaturedItemRepresentation } from './FeaturedItemRepresentation';
3
+ export declare const TTL = 21600000;
4
+ export declare const VERSION = "6f068b7b81d41fa29feab5d1ac9f9cb8";
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
+ type: string;
9
+ }
10
+ export type LearningSearchResultsRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
11
+ export type PartialLearningSearchResultsRepresentationNormalizedKeyMetadata = 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): LearningSearchResultsRepresentationNormalizedKeyMetadata;
14
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: LearningSearchResultsRepresentation): string;
15
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: LearningSearchResultsRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
16
+ export declare function normalize(input: LearningSearchResultsRepresentation, existing: LearningSearchResultsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LearningSearchResultsRepresentationNormalized;
17
+ export interface DynamicIngestParams {
18
+ results: $64$luvio_engine_ResourceIngest;
19
+ }
20
+ export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: LearningSearchResultsRepresentation, existing: LearningSearchResultsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => LearningSearchResultsRepresentationNormalized;
21
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
22
+ export interface DynamicSelectParams {
23
+ results?: $64$luvio_engine_LinkSelection;
24
+ }
25
+ export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
26
+ export declare function equals(existing: LearningSearchResultsRepresentationNormalized, incoming: LearningSearchResultsRepresentationNormalized): boolean;
27
+ export declare function deepFreeze(input: LearningSearchResultsRepresentation): void;
28
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
29
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LearningSearchResultsRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
30
+ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
31
+ /**
32
+ * This representation will be used to represent the search results
33
+ *
34
+ * Keys:
35
+ * type (string): type
36
+ */
37
+ export interface LearningSearchResultsRepresentationNormalized {
38
+ /** Represents the list of search results */
39
+ results: Array<$64$luvio_engine_StoreLink>;
40
+ /** Represents the number of total search results */
41
+ totalResults: number;
42
+ /** Represents the searchable content type for which this search result is returned */
43
+ type: string;
44
+ }
45
+ /**
46
+ * This representation will be used to represent the search results
47
+ *
48
+ * Keys:
49
+ * type (string): type
50
+ */
51
+ export interface LearningSearchResultsRepresentation {
52
+ results: Array<FeaturedItemRepresentation_FeaturedItemRepresentation>;
53
+ totalResults: number;
54
+ type: string;
55
+ }
@@ -1,52 +1,52 @@
1
- import { LearningTextLessonSectionRepresentation as LearningTextLessonSectionRepresentation_LearningTextLessonSectionRepresentation } from './LearningTextLessonSectionRepresentation';
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 = "66ac3fbc8b5a61745a45ebd7944654e4";
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;
9
- }
10
- export type LearningTextLessonRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
11
- export type PartialLearningTextLessonRepresentationNormalizedKeyMetadata = 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): LearningTextLessonRepresentationNormalizedKeyMetadata;
14
- export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: LearningTextLessonRepresentation): string;
15
- export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: LearningTextLessonRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
16
- export declare function normalize(input: LearningTextLessonRepresentation, existing: LearningTextLessonRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LearningTextLessonRepresentationNormalized;
17
- export declare const select: () => $64$luvio_engine_FragmentSelection;
18
- export declare function equals(existing: LearningTextLessonRepresentationNormalized, incoming: LearningTextLessonRepresentationNormalized): boolean;
19
- export declare function deepFreeze(input: LearningTextLessonRepresentation): void;
20
- export declare const ingest: $64$luvio_engine_ResourceIngest;
21
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LearningTextLessonRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
22
- /**
23
- * This representation maps to the LearningTextView class and is used to represent Text Lessons
24
- *
25
- * Keys:
26
- * learning_item_id (string): learningItemId
27
- */
28
- export interface LearningTextLessonRepresentationNormalized {
29
- /** Description of what the text lesson is for */
30
- description: string;
31
- /** Learning Item ID of the text lesson */
32
- learningItemId: string;
33
- /** Ordered list of all the LearningTextLessonSection sections that are part of the text lesson */
34
- sections: Array<LearningTextLessonSectionRepresentation_LearningTextLessonSectionRepresentation>;
35
- /** Title of the text lesson */
36
- title: string;
37
- /** Estimated time in minutes to read the entire text lesson */
38
- totalTime: number;
39
- }
40
- /**
41
- * This representation maps to the LearningTextView class and is used to represent Text Lessons
42
- *
43
- * Keys:
44
- * learning_item_id (string): learningItemId
45
- */
46
- export interface LearningTextLessonRepresentation {
47
- description: string;
48
- learningItemId: string;
49
- sections: Array<LearningTextLessonSectionRepresentation_LearningTextLessonSectionRepresentation>;
50
- title: string;
51
- totalTime: number;
52
- }
1
+ import { LearningTextLessonSectionRepresentation as LearningTextLessonSectionRepresentation_LearningTextLessonSectionRepresentation } from './LearningTextLessonSectionRepresentation';
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 = "66ac3fbc8b5a61745a45ebd7944654e4";
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;
9
+ }
10
+ export type LearningTextLessonRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
11
+ export type PartialLearningTextLessonRepresentationNormalizedKeyMetadata = 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): LearningTextLessonRepresentationNormalizedKeyMetadata;
14
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: LearningTextLessonRepresentation): string;
15
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: LearningTextLessonRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
16
+ export declare function normalize(input: LearningTextLessonRepresentation, existing: LearningTextLessonRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LearningTextLessonRepresentationNormalized;
17
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
18
+ export declare function equals(existing: LearningTextLessonRepresentationNormalized, incoming: LearningTextLessonRepresentationNormalized): boolean;
19
+ export declare function deepFreeze(input: LearningTextLessonRepresentation): void;
20
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
21
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LearningTextLessonRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
22
+ /**
23
+ * This representation maps to the LearningTextView class and is used to represent Text Lessons
24
+ *
25
+ * Keys:
26
+ * learning_item_id (string): learningItemId
27
+ */
28
+ export interface LearningTextLessonRepresentationNormalized {
29
+ /** Description of what the text lesson is for */
30
+ description: string;
31
+ /** Learning Item ID of the text lesson */
32
+ learningItemId: string;
33
+ /** Ordered list of all the LearningTextLessonSection sections that are part of the text lesson */
34
+ sections: Array<LearningTextLessonSectionRepresentation_LearningTextLessonSectionRepresentation>;
35
+ /** Title of the text lesson */
36
+ title: string;
37
+ /** Estimated time in minutes to read the entire text lesson */
38
+ totalTime: number;
39
+ }
40
+ /**
41
+ * This representation maps to the LearningTextView class and is used to represent Text Lessons
42
+ *
43
+ * Keys:
44
+ * learning_item_id (string): learningItemId
45
+ */
46
+ export interface LearningTextLessonRepresentation {
47
+ description: string;
48
+ learningItemId: string;
49
+ sections: Array<LearningTextLessonSectionRepresentation_LearningTextLessonSectionRepresentation>;
50
+ title: string;
51
+ totalTime: number;
52
+ }
@@ -1,35 +1,35 @@
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
- export declare const VERSION = "1027d7eb6300967ad6dd208f73cbf68e";
3
- export declare function validate(obj: any, path?: string): TypeError | null;
4
- export declare const RepresentationType: string;
5
- export declare function normalize(input: LearningTextLessonSectionRepresentation, existing: LearningTextLessonSectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LearningTextLessonSectionRepresentationNormalized;
6
- export declare const select: () => $64$luvio_engine_FragmentSelection;
7
- export declare function equals(existing: LearningTextLessonSectionRepresentationNormalized, incoming: LearningTextLessonSectionRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: LearningTextLessonSectionRepresentation): void;
9
- export declare const ingest: $64$luvio_engine_ResourceIngest;
10
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LearningTextLessonSectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
- /**
12
- * This representation maps to the LearningTextSectionView class and is used to represent Text Lesson Sections
13
- *
14
- * Keys:
15
- * (none)
16
- */
17
- export interface LearningTextLessonSectionRepresentationNormalized {
18
- /** Rich text content for the text lesson section */
19
- content: string;
20
- /** Description of what this section of the text lesson is trying to teach */
21
- keyConcept: string | null;
22
- /** Estimated time to read the section in minutes */
23
- sectionTime: number;
24
- }
25
- /**
26
- * This representation maps to the LearningTextSectionView class and is used to represent Text Lesson Sections
27
- *
28
- * Keys:
29
- * (none)
30
- */
31
- export interface LearningTextLessonSectionRepresentation {
32
- content: string;
33
- keyConcept: string | null;
34
- sectionTime: number;
35
- }
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
+ export declare const VERSION = "1027d7eb6300967ad6dd208f73cbf68e";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: LearningTextLessonSectionRepresentation, existing: LearningTextLessonSectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LearningTextLessonSectionRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: LearningTextLessonSectionRepresentationNormalized, incoming: LearningTextLessonSectionRepresentationNormalized): boolean;
8
+ export declare function deepFreeze(input: LearningTextLessonSectionRepresentation): void;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LearningTextLessonSectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
+ /**
12
+ * This representation maps to the LearningTextSectionView class and is used to represent Text Lesson Sections
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface LearningTextLessonSectionRepresentationNormalized {
18
+ /** Rich text content for the text lesson section */
19
+ content: string;
20
+ /** Description of what this section of the text lesson is trying to teach */
21
+ keyConcept: string | null;
22
+ /** Estimated time to read the section in minutes */
23
+ sectionTime: number;
24
+ }
25
+ /**
26
+ * This representation maps to the LearningTextSectionView class and is used to represent Text Lesson Sections
27
+ *
28
+ * Keys:
29
+ * (none)
30
+ */
31
+ export interface LearningTextLessonSectionRepresentation {
32
+ content: string;
33
+ keyConcept: string | null;
34
+ sectionTime: number;
35
+ }
@@ -1,82 +1,82 @@
1
- import { TrailheadModuleUnitRepresentation as TrailheadModuleUnitRepresentation_TrailheadModuleUnitRepresentation } from './TrailheadModuleUnitRepresentation';
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 = 21600000;
4
- export declare const VERSION = "9bed4edb4c9f077a2f7ce902f94afa38";
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
- relatedId: string;
9
- }
10
- export type TrailheadModuleRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
11
- export type PartialTrailheadModuleRepresentationNormalizedKeyMetadata = 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): TrailheadModuleRepresentationNormalizedKeyMetadata;
14
- export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: TrailheadModuleRepresentation): string;
15
- export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: TrailheadModuleRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
16
- export declare function normalize(input: TrailheadModuleRepresentation, existing: TrailheadModuleRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TrailheadModuleRepresentationNormalized;
17
- export declare const select: () => $64$luvio_engine_FragmentSelection;
18
- export declare function equals(existing: TrailheadModuleRepresentationNormalized, incoming: TrailheadModuleRepresentationNormalized): boolean;
19
- export declare function deepFreeze(input: TrailheadModuleRepresentation): void;
20
- export declare const ingest: $64$luvio_engine_ResourceIngest;
21
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: TrailheadModuleRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
22
- /**
23
- * This representation will be used to represent a single user's view of a Trailhead module.
24
- *
25
- * Keys:
26
- * relatedId (string): relatedId
27
- */
28
- export interface TrailheadModuleRepresentationNormalized {
29
- /** Represents the total points possible for the module */
30
- availablePointCount: number;
31
- /** Represents the completedDate for the module for the end user at runtime */
32
- completedDate: string | null;
33
- /** Represents the number of units completed by the current user */
34
- completedItemCount: number | null;
35
- /** Represents the completion percentage of the module as a whole integer, */
36
- completedPercent: number | null;
37
- /** Represents the description of a module */
38
- description: string;
39
- /** Represents the number of minutes remaining for the user to complete the module */
40
- durationCount: number;
41
- /** Represents the number of points earned by the user for this module */
42
- earnedPointCount: number | null;
43
- /** Represents the image url of a module */
44
- imageUrl: string;
45
- /** Represents if the end-user completed the module */
46
- isCompleted: boolean;
47
- /** Represents if this content was sfdc curated or not */
48
- isCuratedContent: boolean;
49
- /** Represents the number of units associated with the module */
50
- itemCount: number | null;
51
- /** Represents the learning content items associated with this learning content */
52
- moduleUnits: Array<TrailheadModuleUnitRepresentation_TrailheadModuleUnitRepresentation>;
53
- /** Represents the Id for the entity backing the learning unit, E.g. this would return the Id for a Trailhead module if this was a Trailhead unit, or the Id for a LearningLink if this was a link to outside content */
54
- relatedId: string;
55
- /** Represents the localized title of a module */
56
- title: string;
57
- /** Represents the module type */
58
- type: string;
59
- }
60
- /**
61
- * This representation will be used to represent a single user's view of a Trailhead module.
62
- *
63
- * Keys:
64
- * relatedId (string): relatedId
65
- */
66
- export interface TrailheadModuleRepresentation {
67
- availablePointCount: number;
68
- completedDate: string | null;
69
- completedItemCount: number | null;
70
- completedPercent: number | null;
71
- description: string;
72
- durationCount: number;
73
- earnedPointCount: number | null;
74
- imageUrl: string;
75
- isCompleted: boolean;
76
- isCuratedContent: boolean;
77
- itemCount: number | null;
78
- moduleUnits: Array<TrailheadModuleUnitRepresentation_TrailheadModuleUnitRepresentation>;
79
- relatedId: string;
80
- title: string;
81
- type: string;
82
- }
1
+ import { TrailheadModuleUnitRepresentation as TrailheadModuleUnitRepresentation_TrailheadModuleUnitRepresentation } from './TrailheadModuleUnitRepresentation';
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 = 21600000;
4
+ export declare const VERSION = "9bed4edb4c9f077a2f7ce902f94afa38";
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
+ relatedId: string;
9
+ }
10
+ export type TrailheadModuleRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
11
+ export type PartialTrailheadModuleRepresentationNormalizedKeyMetadata = 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): TrailheadModuleRepresentationNormalizedKeyMetadata;
14
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: TrailheadModuleRepresentation): string;
15
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: TrailheadModuleRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
16
+ export declare function normalize(input: TrailheadModuleRepresentation, existing: TrailheadModuleRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TrailheadModuleRepresentationNormalized;
17
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
18
+ export declare function equals(existing: TrailheadModuleRepresentationNormalized, incoming: TrailheadModuleRepresentationNormalized): boolean;
19
+ export declare function deepFreeze(input: TrailheadModuleRepresentation): void;
20
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
21
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: TrailheadModuleRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
22
+ /**
23
+ * This representation will be used to represent a single user's view of a Trailhead module.
24
+ *
25
+ * Keys:
26
+ * relatedId (string): relatedId
27
+ */
28
+ export interface TrailheadModuleRepresentationNormalized {
29
+ /** Represents the total points possible for the module */
30
+ availablePointCount: number;
31
+ /** Represents the completedDate for the module for the end user at runtime */
32
+ completedDate: string | null;
33
+ /** Represents the number of units completed by the current user */
34
+ completedItemCount: number | null;
35
+ /** Represents the completion percentage of the module as a whole integer, */
36
+ completedPercent: number | null;
37
+ /** Represents the description of a module */
38
+ description: string;
39
+ /** Represents the number of minutes remaining for the user to complete the module */
40
+ durationCount: number;
41
+ /** Represents the number of points earned by the user for this module */
42
+ earnedPointCount: number | null;
43
+ /** Represents the image url of a module */
44
+ imageUrl: string;
45
+ /** Represents if the end-user completed the module */
46
+ isCompleted: boolean;
47
+ /** Represents if this content was sfdc curated or not */
48
+ isCuratedContent: boolean;
49
+ /** Represents the number of units associated with the module */
50
+ itemCount: number | null;
51
+ /** Represents the learning content items associated with this learning content */
52
+ moduleUnits: Array<TrailheadModuleUnitRepresentation_TrailheadModuleUnitRepresentation>;
53
+ /** Represents the Id for the entity backing the learning unit, E.g. this would return the Id for a Trailhead module if this was a Trailhead unit, or the Id for a LearningLink if this was a link to outside content */
54
+ relatedId: string;
55
+ /** Represents the localized title of a module */
56
+ title: string;
57
+ /** Represents the module type */
58
+ type: string;
59
+ }
60
+ /**
61
+ * This representation will be used to represent a single user's view of a Trailhead module.
62
+ *
63
+ * Keys:
64
+ * relatedId (string): relatedId
65
+ */
66
+ export interface TrailheadModuleRepresentation {
67
+ availablePointCount: number;
68
+ completedDate: string | null;
69
+ completedItemCount: number | null;
70
+ completedPercent: number | null;
71
+ description: string;
72
+ durationCount: number;
73
+ earnedPointCount: number | null;
74
+ imageUrl: string;
75
+ isCompleted: boolean;
76
+ isCuratedContent: boolean;
77
+ itemCount: number | null;
78
+ moduleUnits: Array<TrailheadModuleUnitRepresentation_TrailheadModuleUnitRepresentation>;
79
+ relatedId: string;
80
+ title: string;
81
+ type: string;
82
+ }
@@ -1,47 +1,47 @@
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
- export declare const VERSION = "19c9bcb401bf39a211caeff8b3cde304";
3
- export declare function validate(obj: any, path?: string): TypeError | null;
4
- export declare const RepresentationType: string;
5
- export declare function normalize(input: TrailheadModuleUnitRepresentation, existing: TrailheadModuleUnitRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TrailheadModuleUnitRepresentationNormalized;
6
- export declare const select: () => $64$luvio_engine_FragmentSelection;
7
- export declare function equals(existing: TrailheadModuleUnitRepresentationNormalized, incoming: TrailheadModuleUnitRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: TrailheadModuleUnitRepresentation): void;
9
- export declare const ingest: $64$luvio_engine_ResourceIngest;
10
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: TrailheadModuleUnitRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
- /**
12
- * This representation will be used to represent a single user's view of a Trailhead module's unit.
13
- *
14
- * Keys:
15
- * (none)
16
- */
17
- export interface TrailheadModuleUnitRepresentationNormalized {
18
- /** Represents the complete date of the item, Date if the user has completed the item else null */
19
- completedDate: string | null;
20
- /** Represents the URL of a page that will render the content of this item */
21
- contentUrl: string;
22
- /** Represents the duration to complete the item */
23
- durationCount: number;
24
- /** Represents the number of points earned by the user for this item */
25
- earnedPointCount: number | null;
26
- /** Represents the id of a learning content item */
27
- id: string;
28
- /** Represents the title of a learning content item */
29
- title: string;
30
- /** Represents the trusted frame origin used in iframe messaging. */
31
- trustedFrameOrigin: string;
32
- }
33
- /**
34
- * This representation will be used to represent a single user's view of a Trailhead module's unit.
35
- *
36
- * Keys:
37
- * (none)
38
- */
39
- export interface TrailheadModuleUnitRepresentation {
40
- completedDate: string | null;
41
- contentUrl: string;
42
- durationCount: number;
43
- earnedPointCount: number | null;
44
- id: string;
45
- title: string;
46
- trustedFrameOrigin: string;
47
- }
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
+ export declare const VERSION = "19c9bcb401bf39a211caeff8b3cde304";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: TrailheadModuleUnitRepresentation, existing: TrailheadModuleUnitRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TrailheadModuleUnitRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: TrailheadModuleUnitRepresentationNormalized, incoming: TrailheadModuleUnitRepresentationNormalized): boolean;
8
+ export declare function deepFreeze(input: TrailheadModuleUnitRepresentation): void;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: TrailheadModuleUnitRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
+ /**
12
+ * This representation will be used to represent a single user's view of a Trailhead module's unit.
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface TrailheadModuleUnitRepresentationNormalized {
18
+ /** Represents the complete date of the item, Date if the user has completed the item else null */
19
+ completedDate: string | null;
20
+ /** Represents the URL of a page that will render the content of this item */
21
+ contentUrl: string;
22
+ /** Represents the duration to complete the item */
23
+ durationCount: number;
24
+ /** Represents the number of points earned by the user for this item */
25
+ earnedPointCount: number | null;
26
+ /** Represents the id of a learning content item */
27
+ id: string;
28
+ /** Represents the title of a learning content item */
29
+ title: string;
30
+ /** Represents the trusted frame origin used in iframe messaging. */
31
+ trustedFrameOrigin: string;
32
+ }
33
+ /**
34
+ * This representation will be used to represent a single user's view of a Trailhead module's unit.
35
+ *
36
+ * Keys:
37
+ * (none)
38
+ */
39
+ export interface TrailheadModuleUnitRepresentation {
40
+ completedDate: string | null;
41
+ contentUrl: string;
42
+ durationCount: number;
43
+ earnedPointCount: number | null;
44
+ id: string;
45
+ title: string;
46
+ trustedFrameOrigin: string;
47
+ }