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

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,27 +1,27 @@
1
- import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted, UncoercedConfiguration as adapter$45$utils_UncoercedConfiguration } from './adapter-utils';
2
- import { ResourceRequestConfig as resources_getLearningContentPlatformLearningPracticeByLearningItemId_ResourceRequestConfig } from '../resources/getLearningContentPlatformLearningPracticeByLearningItemId';
3
- import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
4
- import { LearningPracticeRepresentation as types_LearningPracticeRepresentation_LearningPracticeRepresentation, KeyParams as types_LearningPracticeRepresentation_KeyParams } from '../types/LearningPracticeRepresentation';
5
- export declare const adapterName = "getLearningPractice";
6
- export declare const getLearningPractice_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
7
- export interface GetLearningPracticeConfig {
8
- learningItemId: string;
9
- }
10
- export declare function createResourceParams(config: GetLearningPracticeConfig): resources_getLearningContentPlatformLearningPracticeByLearningItemId_ResourceRequestConfig;
11
- export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetLearningPracticeConfig): string;
12
- export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetLearningPracticeConfig): $64$luvio_engine_NormalizedKeyMetadata;
13
- export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetLearningPracticeConfig>): adapter$45$utils_Untrusted<GetLearningPracticeConfig>;
14
- export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetLearningPracticeConfig | null;
15
- export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetLearningPracticeConfig): $64$luvio_engine_Fragment;
16
- export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLearningPracticeConfig): $64$luvio_engine_Snapshot<types_LearningPracticeRepresentation_LearningPracticeRepresentation, any>;
17
- export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetLearningPracticeConfig, resourceParams: resources_getLearningContentPlatformLearningPracticeByLearningItemId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LearningPracticeRepresentation_LearningPracticeRepresentation>): Promise<import("@luvio/engine").PendingSnapshot<types_LearningPracticeRepresentation_LearningPracticeRepresentation, any> | import("@luvio/engine").FulfilledSnapshot<types_LearningPracticeRepresentation_LearningPracticeRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_LearningPracticeRepresentation_LearningPracticeRepresentation, {}>>;
18
- export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetLearningPracticeConfig, resourceParams: resources_getLearningContentPlatformLearningPracticeByLearningItemId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
19
- export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLearningPracticeConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningPracticeRepresentation_LearningPracticeRepresentation, any>>;
20
- export type BuildSnapshotContext = {
21
- luvio: $64$luvio_engine_Luvio;
22
- config: GetLearningPracticeConfig;
23
- };
24
- export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningPracticeRepresentation_LearningPracticeRepresentation, any>>;
25
- export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_LearningPracticeRepresentation_LearningPracticeRepresentation>): $64$luvio_engine_Snapshot<types_LearningPracticeRepresentation_LearningPracticeRepresentation, any>;
26
- export declare const getLearningPracticeAdapterFactory: $64$luvio_engine_AdapterFactory<GetLearningPracticeConfig, types_LearningPracticeRepresentation_LearningPracticeRepresentation>;
27
- export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_LearningPracticeRepresentation_KeyParams, any>[]) => void;
1
+ import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted, UncoercedConfiguration as adapter$45$utils_UncoercedConfiguration } from './adapter-utils';
2
+ import { ResourceRequestConfig as resources_getLearningContentPlatformLearningPracticeByLearningItemId_ResourceRequestConfig } from '../resources/getLearningContentPlatformLearningPracticeByLearningItemId';
3
+ import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
4
+ import { LearningPracticeRepresentation as types_LearningPracticeRepresentation_LearningPracticeRepresentation, KeyParams as types_LearningPracticeRepresentation_KeyParams } from '../types/LearningPracticeRepresentation';
5
+ export declare const adapterName = "getLearningPractice";
6
+ export declare const getLearningPractice_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
7
+ export interface GetLearningPracticeConfig {
8
+ learningItemId: string;
9
+ }
10
+ export declare function createResourceParams(config: GetLearningPracticeConfig): resources_getLearningContentPlatformLearningPracticeByLearningItemId_ResourceRequestConfig;
11
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetLearningPracticeConfig): string;
12
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetLearningPracticeConfig): $64$luvio_engine_NormalizedKeyMetadata;
13
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetLearningPracticeConfig>): adapter$45$utils_Untrusted<GetLearningPracticeConfig>;
14
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetLearningPracticeConfig | null;
15
+ export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetLearningPracticeConfig): $64$luvio_engine_Fragment;
16
+ export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLearningPracticeConfig): $64$luvio_engine_Snapshot<types_LearningPracticeRepresentation_LearningPracticeRepresentation, any>;
17
+ export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetLearningPracticeConfig, resourceParams: resources_getLearningContentPlatformLearningPracticeByLearningItemId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LearningPracticeRepresentation_LearningPracticeRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_LearningPracticeRepresentation_LearningPracticeRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_LearningPracticeRepresentation_LearningPracticeRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_LearningPracticeRepresentation_LearningPracticeRepresentation, any>>;
18
+ export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetLearningPracticeConfig, resourceParams: resources_getLearningContentPlatformLearningPracticeByLearningItemId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
19
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLearningPracticeConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningPracticeRepresentation_LearningPracticeRepresentation, any>>;
20
+ export type BuildSnapshotContext = {
21
+ luvio: $64$luvio_engine_Luvio;
22
+ config: GetLearningPracticeConfig;
23
+ };
24
+ export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningPracticeRepresentation_LearningPracticeRepresentation, any>>;
25
+ export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_LearningPracticeRepresentation_LearningPracticeRepresentation>): $64$luvio_engine_Snapshot<types_LearningPracticeRepresentation_LearningPracticeRepresentation, any>;
26
+ export declare const getLearningPracticeAdapterFactory: $64$luvio_engine_AdapterFactory<GetLearningPracticeConfig, types_LearningPracticeRepresentation_LearningPracticeRepresentation>;
27
+ export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_LearningPracticeRepresentation_KeyParams, any>[]) => void;
@@ -1,25 +1,25 @@
1
- import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
2
- import { ResourceRequestConfig as resources_getLearningContentPlatformLearningSearchDescribe_ResourceRequestConfig } from '../resources/getLearningContentPlatformLearningSearchDescribe';
3
- import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
4
- import { LearningSearchDescribeRepresentation as types_LearningSearchDescribeRepresentation_LearningSearchDescribeRepresentation } from '../types/LearningSearchDescribeRepresentation';
5
- export declare const adapterName = "getLearningSearchDescribe";
6
- export declare const getLearningSearchDescribe_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
7
- export interface GetLearningSearchDescribeConfig {
8
- }
9
- export declare function createResourceParams(config: GetLearningSearchDescribeConfig): resources_getLearningContentPlatformLearningSearchDescribe_ResourceRequestConfig;
10
- export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetLearningSearchDescribeConfig): string;
11
- export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetLearningSearchDescribeConfig): $64$luvio_engine_NormalizedKeyMetadata;
12
- export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetLearningSearchDescribeConfig>): adapter$45$utils_Untrusted<GetLearningSearchDescribeConfig>;
13
- export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetLearningSearchDescribeConfig | null;
14
- export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetLearningSearchDescribeConfig): $64$luvio_engine_Fragment;
15
- export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLearningSearchDescribeConfig): $64$luvio_engine_Snapshot<types_LearningSearchDescribeRepresentation_LearningSearchDescribeRepresentation, any>;
16
- export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetLearningSearchDescribeConfig, resourceParams: resources_getLearningContentPlatformLearningSearchDescribe_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LearningSearchDescribeRepresentation_LearningSearchDescribeRepresentation>): Promise<import("@luvio/engine").PendingSnapshot<types_LearningSearchDescribeRepresentation_LearningSearchDescribeRepresentation, any> | import("@luvio/engine").FulfilledSnapshot<types_LearningSearchDescribeRepresentation_LearningSearchDescribeRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_LearningSearchDescribeRepresentation_LearningSearchDescribeRepresentation, {}>>;
17
- export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetLearningSearchDescribeConfig, resourceParams: resources_getLearningContentPlatformLearningSearchDescribe_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
18
- export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLearningSearchDescribeConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningSearchDescribeRepresentation_LearningSearchDescribeRepresentation, any>>;
19
- export type BuildSnapshotContext = {
20
- luvio: $64$luvio_engine_Luvio;
21
- config: GetLearningSearchDescribeConfig;
22
- };
23
- export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningSearchDescribeRepresentation_LearningSearchDescribeRepresentation, any>>;
24
- export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_LearningSearchDescribeRepresentation_LearningSearchDescribeRepresentation>): $64$luvio_engine_Snapshot<types_LearningSearchDescribeRepresentation_LearningSearchDescribeRepresentation, any>;
25
- export declare const getLearningSearchDescribeAdapterFactory: $64$luvio_engine_AdapterFactory<GetLearningSearchDescribeConfig, types_LearningSearchDescribeRepresentation_LearningSearchDescribeRepresentation>;
1
+ import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
2
+ import { ResourceRequestConfig as resources_getLearningContentPlatformLearningSearchDescribe_ResourceRequestConfig } from '../resources/getLearningContentPlatformLearningSearchDescribe';
3
+ import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
4
+ import { LearningSearchDescribeRepresentation as types_LearningSearchDescribeRepresentation_LearningSearchDescribeRepresentation } from '../types/LearningSearchDescribeRepresentation';
5
+ export declare const adapterName = "getLearningSearchDescribe";
6
+ export declare const getLearningSearchDescribe_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
7
+ export interface GetLearningSearchDescribeConfig {
8
+ }
9
+ export declare function createResourceParams(config: GetLearningSearchDescribeConfig): resources_getLearningContentPlatformLearningSearchDescribe_ResourceRequestConfig;
10
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetLearningSearchDescribeConfig): string;
11
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetLearningSearchDescribeConfig): $64$luvio_engine_NormalizedKeyMetadata;
12
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetLearningSearchDescribeConfig>): adapter$45$utils_Untrusted<GetLearningSearchDescribeConfig>;
13
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetLearningSearchDescribeConfig | null;
14
+ export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetLearningSearchDescribeConfig): $64$luvio_engine_Fragment;
15
+ export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLearningSearchDescribeConfig): $64$luvio_engine_Snapshot<types_LearningSearchDescribeRepresentation_LearningSearchDescribeRepresentation, any>;
16
+ export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetLearningSearchDescribeConfig, resourceParams: resources_getLearningContentPlatformLearningSearchDescribe_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LearningSearchDescribeRepresentation_LearningSearchDescribeRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_LearningSearchDescribeRepresentation_LearningSearchDescribeRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_LearningSearchDescribeRepresentation_LearningSearchDescribeRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_LearningSearchDescribeRepresentation_LearningSearchDescribeRepresentation, any>>;
17
+ export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetLearningSearchDescribeConfig, resourceParams: resources_getLearningContentPlatformLearningSearchDescribe_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
18
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLearningSearchDescribeConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningSearchDescribeRepresentation_LearningSearchDescribeRepresentation, any>>;
19
+ export type BuildSnapshotContext = {
20
+ luvio: $64$luvio_engine_Luvio;
21
+ config: GetLearningSearchDescribeConfig;
22
+ };
23
+ export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningSearchDescribeRepresentation_LearningSearchDescribeRepresentation, any>>;
24
+ export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_LearningSearchDescribeRepresentation_LearningSearchDescribeRepresentation>): $64$luvio_engine_Snapshot<types_LearningSearchDescribeRepresentation_LearningSearchDescribeRepresentation, any>;
25
+ export declare const getLearningSearchDescribeAdapterFactory: $64$luvio_engine_AdapterFactory<GetLearningSearchDescribeConfig, types_LearningSearchDescribeRepresentation_LearningSearchDescribeRepresentation>;
@@ -1,29 +1,29 @@
1
- import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted, UncoercedConfiguration as adapter$45$utils_UncoercedConfiguration } from './adapter-utils';
2
- import { ResourceRequestConfig as resources_getLearningContentPlatformLearningSearchTypeByContentType_ResourceRequestConfig } from '../resources/getLearningContentPlatformLearningSearchTypeByContentType';
3
- import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
4
- import { LearningSearchResultsRepresentation as types_LearningSearchResultsRepresentation_LearningSearchResultsRepresentation, KeyParams as types_LearningSearchResultsRepresentation_KeyParams } from '../types/LearningSearchResultsRepresentation';
5
- export declare const adapterName = "getLearningSearchResults";
6
- export declare const getLearningSearchResults_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
7
- export interface GetLearningSearchResultsConfig {
8
- contentType: string;
9
- limit: number;
10
- q: string;
11
- }
12
- export declare function createResourceParams(config: GetLearningSearchResultsConfig): resources_getLearningContentPlatformLearningSearchTypeByContentType_ResourceRequestConfig;
13
- export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetLearningSearchResultsConfig): string;
14
- export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetLearningSearchResultsConfig): $64$luvio_engine_NormalizedKeyMetadata;
15
- export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetLearningSearchResultsConfig>): adapter$45$utils_Untrusted<GetLearningSearchResultsConfig>;
16
- export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetLearningSearchResultsConfig | null;
17
- export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetLearningSearchResultsConfig): $64$luvio_engine_Fragment;
18
- export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLearningSearchResultsConfig): $64$luvio_engine_Snapshot<types_LearningSearchResultsRepresentation_LearningSearchResultsRepresentation, any>;
19
- export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetLearningSearchResultsConfig, resourceParams: resources_getLearningContentPlatformLearningSearchTypeByContentType_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LearningSearchResultsRepresentation_LearningSearchResultsRepresentation>): Promise<import("@luvio/engine").PendingSnapshot<types_LearningSearchResultsRepresentation_LearningSearchResultsRepresentation, any> | import("@luvio/engine").FulfilledSnapshot<types_LearningSearchResultsRepresentation_LearningSearchResultsRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_LearningSearchResultsRepresentation_LearningSearchResultsRepresentation, {}>>;
20
- export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetLearningSearchResultsConfig, resourceParams: resources_getLearningContentPlatformLearningSearchTypeByContentType_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
21
- export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLearningSearchResultsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningSearchResultsRepresentation_LearningSearchResultsRepresentation, any>>;
22
- export type BuildSnapshotContext = {
23
- luvio: $64$luvio_engine_Luvio;
24
- config: GetLearningSearchResultsConfig;
25
- };
26
- export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningSearchResultsRepresentation_LearningSearchResultsRepresentation, any>>;
27
- export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_LearningSearchResultsRepresentation_LearningSearchResultsRepresentation>): $64$luvio_engine_Snapshot<types_LearningSearchResultsRepresentation_LearningSearchResultsRepresentation, any>;
28
- export declare const getLearningSearchResultsAdapterFactory: $64$luvio_engine_AdapterFactory<GetLearningSearchResultsConfig, types_LearningSearchResultsRepresentation_LearningSearchResultsRepresentation>;
29
- export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_LearningSearchResultsRepresentation_KeyParams, any>[]) => void;
1
+ import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted, UncoercedConfiguration as adapter$45$utils_UncoercedConfiguration } from './adapter-utils';
2
+ import { ResourceRequestConfig as resources_getLearningContentPlatformLearningSearchTypeByContentType_ResourceRequestConfig } from '../resources/getLearningContentPlatformLearningSearchTypeByContentType';
3
+ import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
4
+ import { LearningSearchResultsRepresentation as types_LearningSearchResultsRepresentation_LearningSearchResultsRepresentation, KeyParams as types_LearningSearchResultsRepresentation_KeyParams } from '../types/LearningSearchResultsRepresentation';
5
+ export declare const adapterName = "getLearningSearchResults";
6
+ export declare const getLearningSearchResults_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
7
+ export interface GetLearningSearchResultsConfig {
8
+ contentType: string;
9
+ limit: number;
10
+ q: string;
11
+ }
12
+ export declare function createResourceParams(config: GetLearningSearchResultsConfig): resources_getLearningContentPlatformLearningSearchTypeByContentType_ResourceRequestConfig;
13
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetLearningSearchResultsConfig): string;
14
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetLearningSearchResultsConfig): $64$luvio_engine_NormalizedKeyMetadata;
15
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetLearningSearchResultsConfig>): adapter$45$utils_Untrusted<GetLearningSearchResultsConfig>;
16
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetLearningSearchResultsConfig | null;
17
+ export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetLearningSearchResultsConfig): $64$luvio_engine_Fragment;
18
+ export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLearningSearchResultsConfig): $64$luvio_engine_Snapshot<types_LearningSearchResultsRepresentation_LearningSearchResultsRepresentation, any>;
19
+ export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetLearningSearchResultsConfig, resourceParams: resources_getLearningContentPlatformLearningSearchTypeByContentType_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LearningSearchResultsRepresentation_LearningSearchResultsRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_LearningSearchResultsRepresentation_LearningSearchResultsRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_LearningSearchResultsRepresentation_LearningSearchResultsRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_LearningSearchResultsRepresentation_LearningSearchResultsRepresentation, any>>;
20
+ export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetLearningSearchResultsConfig, resourceParams: resources_getLearningContentPlatformLearningSearchTypeByContentType_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
21
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLearningSearchResultsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningSearchResultsRepresentation_LearningSearchResultsRepresentation, any>>;
22
+ export type BuildSnapshotContext = {
23
+ luvio: $64$luvio_engine_Luvio;
24
+ config: GetLearningSearchResultsConfig;
25
+ };
26
+ export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningSearchResultsRepresentation_LearningSearchResultsRepresentation, any>>;
27
+ export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_LearningSearchResultsRepresentation_LearningSearchResultsRepresentation>): $64$luvio_engine_Snapshot<types_LearningSearchResultsRepresentation_LearningSearchResultsRepresentation, any>;
28
+ export declare const getLearningSearchResultsAdapterFactory: $64$luvio_engine_AdapterFactory<GetLearningSearchResultsConfig, types_LearningSearchResultsRepresentation_LearningSearchResultsRepresentation>;
29
+ export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_LearningSearchResultsRepresentation_KeyParams, any>[]) => void;
@@ -1,27 +1,27 @@
1
- import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted, UncoercedConfiguration as adapter$45$utils_UncoercedConfiguration } from './adapter-utils';
2
- import { ResourceRequestConfig as resources_getLearningContentPlatformLearningModuleByModuleId_ResourceRequestConfig } from '../resources/getLearningContentPlatformLearningModuleByModuleId';
3
- import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
4
- import { TrailheadModuleRepresentation as types_TrailheadModuleRepresentation_TrailheadModuleRepresentation, KeyParams as types_TrailheadModuleRepresentation_KeyParams } from '../types/TrailheadModuleRepresentation';
5
- export declare const adapterName = "getModule";
6
- export declare const getModule_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
7
- export interface GetModuleConfig {
8
- moduleId: string;
9
- }
10
- export declare function createResourceParams(config: GetModuleConfig): resources_getLearningContentPlatformLearningModuleByModuleId_ResourceRequestConfig;
11
- export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetModuleConfig): string;
12
- export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetModuleConfig): $64$luvio_engine_NormalizedKeyMetadata;
13
- export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetModuleConfig>): adapter$45$utils_Untrusted<GetModuleConfig>;
14
- export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetModuleConfig | null;
15
- export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetModuleConfig): $64$luvio_engine_Fragment;
16
- export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetModuleConfig): $64$luvio_engine_Snapshot<types_TrailheadModuleRepresentation_TrailheadModuleRepresentation, any>;
17
- export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetModuleConfig, resourceParams: resources_getLearningContentPlatformLearningModuleByModuleId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_TrailheadModuleRepresentation_TrailheadModuleRepresentation>): Promise<import("@luvio/engine").PendingSnapshot<types_TrailheadModuleRepresentation_TrailheadModuleRepresentation, any> | import("@luvio/engine").FulfilledSnapshot<types_TrailheadModuleRepresentation_TrailheadModuleRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_TrailheadModuleRepresentation_TrailheadModuleRepresentation, {}>>;
18
- export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetModuleConfig, resourceParams: resources_getLearningContentPlatformLearningModuleByModuleId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
19
- export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetModuleConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_TrailheadModuleRepresentation_TrailheadModuleRepresentation, any>>;
20
- export type BuildSnapshotContext = {
21
- luvio: $64$luvio_engine_Luvio;
22
- config: GetModuleConfig;
23
- };
24
- export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_TrailheadModuleRepresentation_TrailheadModuleRepresentation, any>>;
25
- export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_TrailheadModuleRepresentation_TrailheadModuleRepresentation>): $64$luvio_engine_Snapshot<types_TrailheadModuleRepresentation_TrailheadModuleRepresentation, any>;
26
- export declare const getModuleAdapterFactory: $64$luvio_engine_AdapterFactory<GetModuleConfig, types_TrailheadModuleRepresentation_TrailheadModuleRepresentation>;
27
- export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_TrailheadModuleRepresentation_KeyParams, any>[]) => void;
1
+ import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted, UncoercedConfiguration as adapter$45$utils_UncoercedConfiguration } from './adapter-utils';
2
+ import { ResourceRequestConfig as resources_getLearningContentPlatformLearningModuleByModuleId_ResourceRequestConfig } from '../resources/getLearningContentPlatformLearningModuleByModuleId';
3
+ import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
4
+ import { TrailheadModuleRepresentation as types_TrailheadModuleRepresentation_TrailheadModuleRepresentation, KeyParams as types_TrailheadModuleRepresentation_KeyParams } from '../types/TrailheadModuleRepresentation';
5
+ export declare const adapterName = "getModule";
6
+ export declare const getModule_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
7
+ export interface GetModuleConfig {
8
+ moduleId: string;
9
+ }
10
+ export declare function createResourceParams(config: GetModuleConfig): resources_getLearningContentPlatformLearningModuleByModuleId_ResourceRequestConfig;
11
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetModuleConfig): string;
12
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetModuleConfig): $64$luvio_engine_NormalizedKeyMetadata;
13
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetModuleConfig>): adapter$45$utils_Untrusted<GetModuleConfig>;
14
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetModuleConfig | null;
15
+ export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetModuleConfig): $64$luvio_engine_Fragment;
16
+ export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetModuleConfig): $64$luvio_engine_Snapshot<types_TrailheadModuleRepresentation_TrailheadModuleRepresentation, any>;
17
+ export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetModuleConfig, resourceParams: resources_getLearningContentPlatformLearningModuleByModuleId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_TrailheadModuleRepresentation_TrailheadModuleRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_TrailheadModuleRepresentation_TrailheadModuleRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_TrailheadModuleRepresentation_TrailheadModuleRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_TrailheadModuleRepresentation_TrailheadModuleRepresentation, any>>;
18
+ export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetModuleConfig, resourceParams: resources_getLearningContentPlatformLearningModuleByModuleId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
19
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetModuleConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_TrailheadModuleRepresentation_TrailheadModuleRepresentation, any>>;
20
+ export type BuildSnapshotContext = {
21
+ luvio: $64$luvio_engine_Luvio;
22
+ config: GetModuleConfig;
23
+ };
24
+ export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_TrailheadModuleRepresentation_TrailheadModuleRepresentation, any>>;
25
+ export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_TrailheadModuleRepresentation_TrailheadModuleRepresentation>): $64$luvio_engine_Snapshot<types_TrailheadModuleRepresentation_TrailheadModuleRepresentation, any>;
26
+ export declare const getModuleAdapterFactory: $64$luvio_engine_AdapterFactory<GetModuleConfig, types_TrailheadModuleRepresentation_TrailheadModuleRepresentation>;
27
+ export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_TrailheadModuleRepresentation_KeyParams, any>[]) => void;
@@ -1,27 +1,27 @@
1
- import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted, UncoercedConfiguration as adapter$45$utils_UncoercedConfiguration } from './adapter-utils';
2
- import { ResourceRequestConfig as resources_getLearningContentPlatformLearningTextlessonByLearningItemId_ResourceRequestConfig } from '../resources/getLearningContentPlatformLearningTextlessonByLearningItemId';
3
- import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
4
- import { LearningTextLessonRepresentation as types_LearningTextLessonRepresentation_LearningTextLessonRepresentation, KeyParams as types_LearningTextLessonRepresentation_KeyParams } from '../types/LearningTextLessonRepresentation';
5
- export declare const adapterName = "getTextLesson";
6
- export declare const getTextLesson_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
7
- export interface GetTextLessonConfig {
8
- learningItemId: string;
9
- }
10
- export declare function createResourceParams(config: GetTextLessonConfig): resources_getLearningContentPlatformLearningTextlessonByLearningItemId_ResourceRequestConfig;
11
- export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetTextLessonConfig): string;
12
- export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetTextLessonConfig): $64$luvio_engine_NormalizedKeyMetadata;
13
- export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetTextLessonConfig>): adapter$45$utils_Untrusted<GetTextLessonConfig>;
14
- export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetTextLessonConfig | null;
15
- export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetTextLessonConfig): $64$luvio_engine_Fragment;
16
- export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetTextLessonConfig): $64$luvio_engine_Snapshot<types_LearningTextLessonRepresentation_LearningTextLessonRepresentation, any>;
17
- export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetTextLessonConfig, resourceParams: resources_getLearningContentPlatformLearningTextlessonByLearningItemId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LearningTextLessonRepresentation_LearningTextLessonRepresentation>): Promise<import("@luvio/engine").PendingSnapshot<types_LearningTextLessonRepresentation_LearningTextLessonRepresentation, any> | import("@luvio/engine").FulfilledSnapshot<types_LearningTextLessonRepresentation_LearningTextLessonRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_LearningTextLessonRepresentation_LearningTextLessonRepresentation, {}>>;
18
- export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetTextLessonConfig, resourceParams: resources_getLearningContentPlatformLearningTextlessonByLearningItemId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
19
- export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetTextLessonConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningTextLessonRepresentation_LearningTextLessonRepresentation, any>>;
20
- export type BuildSnapshotContext = {
21
- luvio: $64$luvio_engine_Luvio;
22
- config: GetTextLessonConfig;
23
- };
24
- export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningTextLessonRepresentation_LearningTextLessonRepresentation, any>>;
25
- export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_LearningTextLessonRepresentation_LearningTextLessonRepresentation>): $64$luvio_engine_Snapshot<types_LearningTextLessonRepresentation_LearningTextLessonRepresentation, any>;
26
- export declare const getTextLessonAdapterFactory: $64$luvio_engine_AdapterFactory<GetTextLessonConfig, types_LearningTextLessonRepresentation_LearningTextLessonRepresentation>;
27
- export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_LearningTextLessonRepresentation_KeyParams, any>[]) => void;
1
+ import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted, UncoercedConfiguration as adapter$45$utils_UncoercedConfiguration } from './adapter-utils';
2
+ import { ResourceRequestConfig as resources_getLearningContentPlatformLearningTextlessonByLearningItemId_ResourceRequestConfig } from '../resources/getLearningContentPlatformLearningTextlessonByLearningItemId';
3
+ import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
4
+ import { LearningTextLessonRepresentation as types_LearningTextLessonRepresentation_LearningTextLessonRepresentation, KeyParams as types_LearningTextLessonRepresentation_KeyParams } from '../types/LearningTextLessonRepresentation';
5
+ export declare const adapterName = "getTextLesson";
6
+ export declare const getTextLesson_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
7
+ export interface GetTextLessonConfig {
8
+ learningItemId: string;
9
+ }
10
+ export declare function createResourceParams(config: GetTextLessonConfig): resources_getLearningContentPlatformLearningTextlessonByLearningItemId_ResourceRequestConfig;
11
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetTextLessonConfig): string;
12
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetTextLessonConfig): $64$luvio_engine_NormalizedKeyMetadata;
13
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetTextLessonConfig>): adapter$45$utils_Untrusted<GetTextLessonConfig>;
14
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetTextLessonConfig | null;
15
+ export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetTextLessonConfig): $64$luvio_engine_Fragment;
16
+ export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetTextLessonConfig): $64$luvio_engine_Snapshot<types_LearningTextLessonRepresentation_LearningTextLessonRepresentation, any>;
17
+ export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetTextLessonConfig, resourceParams: resources_getLearningContentPlatformLearningTextlessonByLearningItemId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LearningTextLessonRepresentation_LearningTextLessonRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_LearningTextLessonRepresentation_LearningTextLessonRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_LearningTextLessonRepresentation_LearningTextLessonRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_LearningTextLessonRepresentation_LearningTextLessonRepresentation, any>>;
18
+ export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetTextLessonConfig, resourceParams: resources_getLearningContentPlatformLearningTextlessonByLearningItemId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
19
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetTextLessonConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningTextLessonRepresentation_LearningTextLessonRepresentation, any>>;
20
+ export type BuildSnapshotContext = {
21
+ luvio: $64$luvio_engine_Luvio;
22
+ config: GetTextLessonConfig;
23
+ };
24
+ export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningTextLessonRepresentation_LearningTextLessonRepresentation, any>>;
25
+ export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_LearningTextLessonRepresentation_LearningTextLessonRepresentation>): $64$luvio_engine_Snapshot<types_LearningTextLessonRepresentation_LearningTextLessonRepresentation, any>;
26
+ export declare const getTextLessonAdapterFactory: $64$luvio_engine_AdapterFactory<GetTextLessonConfig, types_LearningTextLessonRepresentation_LearningTextLessonRepresentation>;
27
+ export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_LearningTextLessonRepresentation_KeyParams, any>[]) => void;
@@ -1,12 +1,12 @@
1
- export { getFeaturedItemsRecommendedListAdapterFactory } from '../adapters/getFeaturedItemsRecommendedList';
2
- export { getFeaturedItemsRelatedListAdapterFactory } from '../adapters/getFeaturedItemsRelatedList';
3
- export { getLearningSearchDescribeAdapterFactory } from '../adapters/getLearningSearchDescribe';
4
- export { getLearningSearchResultsAdapterFactory } from '../adapters/getLearningSearchResults';
5
- export { getLearningConfigAdapterFactory } from '../adapters/getLearningConfig';
6
- export { getLearningItemsListAdapterFactory } from '../adapters/getLearningItemsList';
7
- export { getLearningItemProgressAdapterFactory } from '../adapters/getLearningItemProgress';
8
- export { getLearningModelAdapterFactory } from '../adapters/getLearningModel';
9
- export { getModuleAdapterFactory } from '../adapters/getModule';
10
- export { getLearningPracticeAdapterFactory } from '../adapters/getLearningPractice';
11
- export { evaluateLearningItemAdapterFactory } from '../adapters/evaluateLearningItem';
12
- export { getTextLessonAdapterFactory } from '../adapters/getTextLesson';
1
+ export { getFeaturedItemsRecommendedListAdapterFactory } from '../adapters/getFeaturedItemsRecommendedList';
2
+ export { getFeaturedItemsRelatedListAdapterFactory } from '../adapters/getFeaturedItemsRelatedList';
3
+ export { getLearningSearchDescribeAdapterFactory } from '../adapters/getLearningSearchDescribe';
4
+ export { getLearningSearchResultsAdapterFactory } from '../adapters/getLearningSearchResults';
5
+ export { getLearningConfigAdapterFactory } from '../adapters/getLearningConfig';
6
+ export { getLearningItemsListAdapterFactory } from '../adapters/getLearningItemsList';
7
+ export { getLearningItemProgressAdapterFactory } from '../adapters/getLearningItemProgress';
8
+ export { getLearningModelAdapterFactory } from '../adapters/getLearningModel';
9
+ export { getModuleAdapterFactory } from '../adapters/getModule';
10
+ export { getLearningPracticeAdapterFactory } from '../adapters/getLearningPractice';
11
+ export { evaluateLearningItemAdapterFactory } from '../adapters/evaluateLearningItem';
12
+ export { getTextLessonAdapterFactory } from '../adapters/getTextLesson';
@@ -1,28 +1,28 @@
1
- declare let evaluateLearningItem: any;
2
- declare let getFeaturedItemsRecommendedList: any;
3
- declare let getFeaturedItemsRelatedList: any;
4
- declare let getLearningConfig: any;
5
- declare let getLearningItemProgress: any;
6
- declare let getLearningItemsList: any;
7
- declare let getLearningModel: any;
8
- declare let getLearningPractice: any;
9
- declare let getLearningPracticeNotifyChange: any;
10
- declare let getLearningSearchDescribe: any;
11
- declare let getLearningSearchResults: any;
12
- declare let getLearningSearchResultsNotifyChange: any;
13
- declare let getModule: any;
14
- declare let getModuleNotifyChange: any;
15
- declare let getTextLesson: any;
16
- declare let getTextLessonNotifyChange: any;
17
- declare let getFeaturedItemsRecommendedList_imperative: any;
18
- declare let getFeaturedItemsRelatedList_imperative: any;
19
- declare let getLearningConfig_imperative: any;
20
- declare let getLearningItemProgress_imperative: any;
21
- declare let getLearningItemsList_imperative: any;
22
- declare let getLearningModel_imperative: any;
23
- declare let getLearningPractice_imperative: any;
24
- declare let getLearningSearchDescribe_imperative: any;
25
- declare let getLearningSearchResults_imperative: any;
26
- declare let getModule_imperative: any;
27
- declare let getTextLesson_imperative: any;
28
- export { evaluateLearningItem, getFeaturedItemsRecommendedList, getFeaturedItemsRelatedList, getLearningConfig, getLearningItemProgress, getLearningItemsList, getLearningModel, getLearningPractice, getLearningPracticeNotifyChange, getLearningSearchDescribe, getLearningSearchResults, getLearningSearchResultsNotifyChange, getModule, getModuleNotifyChange, getTextLesson, getTextLessonNotifyChange, getFeaturedItemsRecommendedList_imperative, getFeaturedItemsRelatedList_imperative, getLearningConfig_imperative, getLearningItemProgress_imperative, getLearningItemsList_imperative, getLearningModel_imperative, getLearningPractice_imperative, getLearningSearchDescribe_imperative, getLearningSearchResults_imperative, getModule_imperative, getTextLesson_imperative };
1
+ declare let evaluateLearningItem: any;
2
+ declare let getFeaturedItemsRecommendedList: any;
3
+ declare let getFeaturedItemsRelatedList: any;
4
+ declare let getLearningConfig: any;
5
+ declare let getLearningItemProgress: any;
6
+ declare let getLearningItemsList: any;
7
+ declare let getLearningModel: any;
8
+ declare let getLearningPractice: any;
9
+ declare let getLearningPracticeNotifyChange: any;
10
+ declare let getLearningSearchDescribe: any;
11
+ declare let getLearningSearchResults: any;
12
+ declare let getLearningSearchResultsNotifyChange: any;
13
+ declare let getModule: any;
14
+ declare let getModuleNotifyChange: any;
15
+ declare let getTextLesson: any;
16
+ declare let getTextLessonNotifyChange: any;
17
+ declare let getFeaturedItemsRecommendedList_imperative: any;
18
+ declare let getFeaturedItemsRelatedList_imperative: any;
19
+ declare let getLearningConfig_imperative: any;
20
+ declare let getLearningItemProgress_imperative: any;
21
+ declare let getLearningItemsList_imperative: any;
22
+ declare let getLearningModel_imperative: any;
23
+ declare let getLearningPractice_imperative: any;
24
+ declare let getLearningSearchDescribe_imperative: any;
25
+ declare let getLearningSearchResults_imperative: any;
26
+ declare let getModule_imperative: any;
27
+ declare let getTextLesson_imperative: any;
28
+ export { evaluateLearningItem, getFeaturedItemsRecommendedList, getFeaturedItemsRelatedList, getLearningConfig, getLearningItemProgress, getLearningItemsList, getLearningModel, getLearningPractice, getLearningPracticeNotifyChange, getLearningSearchDescribe, getLearningSearchResults, getLearningSearchResultsNotifyChange, getModule, getModuleNotifyChange, getTextLesson, getTextLessonNotifyChange, getFeaturedItemsRecommendedList_imperative, getFeaturedItemsRelatedList_imperative, getLearningConfig_imperative, getLearningItemProgress_imperative, getLearningItemsList_imperative, getLearningModel_imperative, getLearningPractice_imperative, getLearningSearchDescribe_imperative, getLearningSearchResults_imperative, getModule_imperative, getTextLesson_imperative };
@@ -1,16 +1,16 @@
1
- import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
2
- import { FeaturedItemRecommendedListRepresentation as types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation } from '../types/FeaturedItemRecommendedListRepresentation';
3
- export interface ResourceRequestConfig {
4
- queryParams: {
5
- appId: string;
6
- context: string;
7
- };
8
- }
9
- export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
10
- export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
11
- export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
12
- export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
13
- export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation, any>;
14
- export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation>): $64$luvio_engine_ErrorSnapshot;
15
- export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
16
- export default createResourceRequest;
1
+ import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
2
+ import { FeaturedItemRecommendedListRepresentation as types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation } from '../types/FeaturedItemRecommendedListRepresentation';
3
+ export interface ResourceRequestConfig {
4
+ queryParams: {
5
+ appId: string;
6
+ context: string;
7
+ };
8
+ }
9
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
10
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
11
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
12
+ export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
13
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation, any>;
14
+ export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation>): $64$luvio_engine_ErrorSnapshot;
15
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
16
+ export default createResourceRequest;
@@ -1,16 +1,16 @@
1
- import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
2
- import { FeaturedItemRelatedListRepresentation as types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation } from '../types/FeaturedItemRelatedListRepresentation';
3
- export interface ResourceRequestConfig {
4
- queryParams: {
5
- appId: string;
6
- pageRef: string;
7
- };
8
- }
9
- export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
10
- export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
11
- export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
12
- export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
13
- export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation, any>;
14
- export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation>): $64$luvio_engine_ErrorSnapshot;
15
- export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
16
- export default createResourceRequest;
1
+ import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
2
+ import { FeaturedItemRelatedListRepresentation as types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation } from '../types/FeaturedItemRelatedListRepresentation';
3
+ export interface ResourceRequestConfig {
4
+ queryParams: {
5
+ appId: string;
6
+ pageRef: string;
7
+ };
8
+ }
9
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
10
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
11
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
12
+ export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
13
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation, any>;
14
+ export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation>): $64$luvio_engine_ErrorSnapshot;
15
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
16
+ export default createResourceRequest;
@@ -1,12 +1,12 @@
1
- import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
2
- import { LearningConfigRepresentation as types_LearningConfigRepresentation_LearningConfigRepresentation } from '../types/LearningConfigRepresentation';
3
- export interface ResourceRequestConfig {
4
- }
5
- export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
6
- export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
7
- export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
8
- export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LearningConfigRepresentation_LearningConfigRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
9
- export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LearningConfigRepresentation_LearningConfigRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LearningConfigRepresentation_LearningConfigRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_LearningConfigRepresentation_LearningConfigRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_LearningConfigRepresentation_LearningConfigRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_LearningConfigRepresentation_LearningConfigRepresentation, any>;
10
- export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LearningConfigRepresentation_LearningConfigRepresentation>): $64$luvio_engine_ErrorSnapshot;
11
- export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
12
- export default createResourceRequest;
1
+ import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
2
+ import { LearningConfigRepresentation as types_LearningConfigRepresentation_LearningConfigRepresentation } from '../types/LearningConfigRepresentation';
3
+ export interface ResourceRequestConfig {
4
+ }
5
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
6
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
7
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
8
+ export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LearningConfigRepresentation_LearningConfigRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
9
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LearningConfigRepresentation_LearningConfigRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LearningConfigRepresentation_LearningConfigRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_LearningConfigRepresentation_LearningConfigRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_LearningConfigRepresentation_LearningConfigRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_LearningConfigRepresentation_LearningConfigRepresentation, any>;
10
+ export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LearningConfigRepresentation_LearningConfigRepresentation>): $64$luvio_engine_ErrorSnapshot;
11
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
12
+ export default createResourceRequest;
@@ -1,15 +1,15 @@
1
- import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
2
- import { LearningItemListRepresentation as types_LearningItemListRepresentation_LearningItemListRepresentation } from '../types/LearningItemListRepresentation';
3
- export interface ResourceRequestConfig {
4
- queryParams: {
5
- learningItemIds?: Array<string>;
6
- };
7
- }
8
- export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
9
- export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
10
- export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
11
- export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LearningItemListRepresentation_LearningItemListRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
- export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LearningItemListRepresentation_LearningItemListRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LearningItemListRepresentation_LearningItemListRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_LearningItemListRepresentation_LearningItemListRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_LearningItemListRepresentation_LearningItemListRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_LearningItemListRepresentation_LearningItemListRepresentation, any>;
13
- export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LearningItemListRepresentation_LearningItemListRepresentation>): $64$luvio_engine_ErrorSnapshot;
14
- export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
15
- export default createResourceRequest;
1
+ import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
2
+ import { LearningItemListRepresentation as types_LearningItemListRepresentation_LearningItemListRepresentation } from '../types/LearningItemListRepresentation';
3
+ export interface ResourceRequestConfig {
4
+ queryParams: {
5
+ learningItemIds?: Array<string>;
6
+ };
7
+ }
8
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
9
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
10
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
11
+ export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LearningItemListRepresentation_LearningItemListRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LearningItemListRepresentation_LearningItemListRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LearningItemListRepresentation_LearningItemListRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_LearningItemListRepresentation_LearningItemListRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_LearningItemListRepresentation_LearningItemListRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_LearningItemListRepresentation_LearningItemListRepresentation, any>;
13
+ export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LearningItemListRepresentation_LearningItemListRepresentation>): $64$luvio_engine_ErrorSnapshot;
14
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
15
+ export default createResourceRequest;