@salesforce/lds-adapters-platform-learning-content 1.124.1 → 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,66 +1,66 @@
1
- import { Adapter as $64$luvio_engine_Adapter, Snapshot as $64$luvio_engine_Snapshot, UnfulfilledSnapshot as $64$luvio_engine_UnfulfilledSnapshot } from '@luvio/engine';
2
- export declare const ObjectPrototypeHasOwnProperty: (v: PropertyKey) => boolean;
3
- declare const ObjectKeys: {
4
- (o: object): string[];
5
- (o: {}): string[];
6
- }, ObjectFreeze: {
7
- <T extends Function>(f: T): T;
8
- <T_1 extends {
9
- [idx: string]: object | U | null | undefined;
10
- }, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
11
- <T_2>(o: T_2): Readonly<T_2>;
12
- }, ObjectCreate: {
13
- (o: object | null): any;
14
- (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
15
- };
16
- export { ObjectFreeze, ObjectCreate, ObjectKeys };
17
- export declare const ArrayIsArray: (arg: any) => arg is any[];
18
- export declare const ArrayPrototypePush: (...items: any[]) => number;
19
- export interface AdapterValidationConfig {
20
- displayName: string;
21
- parameters: {
22
- required: string[];
23
- optional: string[];
24
- unsupported?: string[];
25
- };
26
- }
27
- /**
28
- * Validates an adapter config is well-formed.
29
- * @param config The config to validate.
30
- * @param adapter The adapter validation configuration.
31
- * @param oneOf The keys the config must contain at least one of.
32
- * @throws A TypeError if config doesn't satisfy the adapter's config validation.
33
- */
34
- export declare function validateConfig<T>(config: Untrusted<T>, adapter: AdapterValidationConfig, oneOf?: string[]): void;
35
- export declare function untrustedIsObject<Base>(untrusted: unknown): untrusted is Untrusted<Base>;
36
- export type UncoercedConfiguration<Base, Options extends {
37
- [key in keyof Base]?: any;
38
- }> = {
39
- [Key in keyof Base]?: Base[Key] | Options[Key];
40
- };
41
- export type Untrusted<Base> = Partial<Base>;
42
- export declare function areRequiredParametersPresent<T>(config: any, configPropertyNames: AdapterValidationConfig): config is T;
43
- export declare function refreshable<C, D, R>(adapter: $64$luvio_engine_Adapter<C, D>, resolve: (config: unknown) => Promise<$64$luvio_engine_Snapshot<R>>): $64$luvio_engine_Adapter<C, D>;
44
- export declare const SNAPSHOT_STATE_FULFILLED = "Fulfilled";
45
- export declare const SNAPSHOT_STATE_UNFULFILLED = "Unfulfilled";
46
- export declare const snapshotRefreshOptions: {
47
- overrides: {
48
- headers: {
49
- 'Cache-Control': string;
50
- };
51
- };
52
- };
53
- /**
54
- * A deterministic JSON stringify implementation. Heavily adapted from https://github.com/epoberezkin/fast-json-stable-stringify.
55
- * This is needed because insertion order for JSON.stringify(object) affects output:
56
- * JSON.stringify({a: 1, b: 2})
57
- * "{"a":1,"b":2}"
58
- * JSON.stringify({b: 2, a: 1})
59
- * "{"b":2,"a":1}"
60
- * @param data Data to be JSON-stringified.
61
- * @returns JSON.stringified value with consistent ordering of keys.
62
- */
63
- export declare function stableJSONStringify(node: any): string | undefined;
64
- export declare function getFetchResponseStatusText(status: number): string;
65
- export declare function isUnfulfilledSnapshot<T, U>(snapshot: $64$luvio_engine_Snapshot<T, U>): snapshot is $64$luvio_engine_UnfulfilledSnapshot<T, U>;
66
- export declare const keyPrefix = "LearningContentPlatform";
1
+ import { Adapter as $64$luvio_engine_Adapter, Snapshot as $64$luvio_engine_Snapshot, UnfulfilledSnapshot as $64$luvio_engine_UnfulfilledSnapshot } from '@luvio/engine';
2
+ export declare const ObjectPrototypeHasOwnProperty: (v: PropertyKey) => boolean;
3
+ declare const ObjectKeys: {
4
+ (o: object): string[];
5
+ (o: {}): string[];
6
+ }, ObjectFreeze: {
7
+ <T extends Function>(f: T): T;
8
+ <T_1 extends {
9
+ [idx: string]: object | U | null | undefined;
10
+ }, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
11
+ <T_2>(o: T_2): Readonly<T_2>;
12
+ }, ObjectCreate: {
13
+ (o: object | null): any;
14
+ (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
15
+ };
16
+ export { ObjectFreeze, ObjectCreate, ObjectKeys };
17
+ export declare const ArrayIsArray: (arg: any) => arg is any[];
18
+ export declare const ArrayPrototypePush: (...items: any[]) => number;
19
+ export interface AdapterValidationConfig {
20
+ displayName: string;
21
+ parameters: {
22
+ required: string[];
23
+ optional: string[];
24
+ unsupported?: string[];
25
+ };
26
+ }
27
+ /**
28
+ * Validates an adapter config is well-formed.
29
+ * @param config The config to validate.
30
+ * @param adapter The adapter validation configuration.
31
+ * @param oneOf The keys the config must contain at least one of.
32
+ * @throws A TypeError if config doesn't satisfy the adapter's config validation.
33
+ */
34
+ export declare function validateConfig<T>(config: Untrusted<T>, adapter: AdapterValidationConfig, oneOf?: string[]): void;
35
+ export declare function untrustedIsObject<Base>(untrusted: unknown): untrusted is Untrusted<Base>;
36
+ export type UncoercedConfiguration<Base, Options extends {
37
+ [key in keyof Base]?: any;
38
+ }> = {
39
+ [Key in keyof Base]?: Base[Key] | Options[Key];
40
+ };
41
+ export type Untrusted<Base> = Partial<Base>;
42
+ export declare function areRequiredParametersPresent<T>(config: any, configPropertyNames: AdapterValidationConfig): config is T;
43
+ export declare function refreshable<C, D, R>(adapter: $64$luvio_engine_Adapter<C, D>, resolve: (config: unknown) => Promise<$64$luvio_engine_Snapshot<R>>): $64$luvio_engine_Adapter<C, D>;
44
+ export declare const SNAPSHOT_STATE_FULFILLED = "Fulfilled";
45
+ export declare const SNAPSHOT_STATE_UNFULFILLED = "Unfulfilled";
46
+ export declare const snapshotRefreshOptions: {
47
+ overrides: {
48
+ headers: {
49
+ 'Cache-Control': string;
50
+ };
51
+ };
52
+ };
53
+ /**
54
+ * A deterministic JSON stringify implementation. Heavily adapted from https://github.com/epoberezkin/fast-json-stable-stringify.
55
+ * This is needed because insertion order for JSON.stringify(object) affects output:
56
+ * JSON.stringify({a: 1, b: 2})
57
+ * "{"a":1,"b":2}"
58
+ * JSON.stringify({b: 2, a: 1})
59
+ * "{"b":2,"a":1}"
60
+ * @param data Data to be JSON-stringified.
61
+ * @returns JSON.stringified value with consistent ordering of keys.
62
+ */
63
+ export declare function stableJSONStringify(node: any): string | undefined;
64
+ export declare function getFetchResponseStatusText(status: number): string;
65
+ export declare function isUnfulfilledSnapshot<T, U>(snapshot: $64$luvio_engine_Snapshot<T, U>): snapshot is $64$luvio_engine_UnfulfilledSnapshot<T, U>;
66
+ export declare const keyPrefix = "LearningContentPlatform";
@@ -1,15 +1,15 @@
1
- import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
2
- import { EvaluateLearningItemInputRepresentation as types_EvaluateLearningItemInputRepresentation_EvaluateLearningItemInputRepresentation } from '../types/EvaluateLearningItemInputRepresentation';
3
- import { ResourceRequestConfig as resources_postLearningContentPlatformLearningEvaluate_ResourceRequestConfig } from '../resources/postLearningContentPlatformLearningEvaluate';
4
- import { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
5
- import { LearningItemProgressRepresentation as types_LearningItemProgressRepresentation_LearningItemProgressRepresentation } from '../types/LearningItemProgressRepresentation';
6
- export declare const adapterName = "evaluateLearningItem";
7
- export declare const evaluateLearningItem_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
- export interface EvaluateLearningItemConfig {
9
- payload: types_EvaluateLearningItemInputRepresentation_EvaluateLearningItemInputRepresentation;
10
- }
11
- export declare function createResourceParams(config: EvaluateLearningItemConfig): resources_postLearningContentPlatformLearningEvaluate_ResourceRequestConfig;
12
- export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<EvaluateLearningItemConfig>): adapter$45$utils_Untrusted<EvaluateLearningItemConfig>;
13
- export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): EvaluateLearningItemConfig | null;
14
- export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: EvaluateLearningItemConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_LearningItemProgressRepresentation_LearningItemProgressRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_LearningItemProgressRepresentation_LearningItemProgressRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_LearningItemProgressRepresentation_LearningItemProgressRepresentation, any>>;
15
- export declare const evaluateLearningItemAdapterFactory: $64$luvio_engine_AdapterFactory<EvaluateLearningItemConfig, types_LearningItemProgressRepresentation_LearningItemProgressRepresentation>;
1
+ import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
2
+ import { EvaluateLearningItemInputRepresentation as types_EvaluateLearningItemInputRepresentation_EvaluateLearningItemInputRepresentation } from '../types/EvaluateLearningItemInputRepresentation';
3
+ import { ResourceRequestConfig as resources_postLearningContentPlatformLearningEvaluate_ResourceRequestConfig } from '../resources/postLearningContentPlatformLearningEvaluate';
4
+ import { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
5
+ import { LearningItemProgressRepresentation as types_LearningItemProgressRepresentation_LearningItemProgressRepresentation } from '../types/LearningItemProgressRepresentation';
6
+ export declare const adapterName = "evaluateLearningItem";
7
+ export declare const evaluateLearningItem_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
+ export interface EvaluateLearningItemConfig {
9
+ payload: types_EvaluateLearningItemInputRepresentation_EvaluateLearningItemInputRepresentation;
10
+ }
11
+ export declare function createResourceParams(config: EvaluateLearningItemConfig): resources_postLearningContentPlatformLearningEvaluate_ResourceRequestConfig;
12
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<EvaluateLearningItemConfig>): adapter$45$utils_Untrusted<EvaluateLearningItemConfig>;
13
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): EvaluateLearningItemConfig | null;
14
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: EvaluateLearningItemConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_LearningItemProgressRepresentation_LearningItemProgressRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_LearningItemProgressRepresentation_LearningItemProgressRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_LearningItemProgressRepresentation_LearningItemProgressRepresentation, any>>;
15
+ export declare const evaluateLearningItemAdapterFactory: $64$luvio_engine_AdapterFactory<EvaluateLearningItemConfig, types_LearningItemProgressRepresentation_LearningItemProgressRepresentation>;
@@ -1,27 +1,27 @@
1
- import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
2
- import { ResourceRequestConfig as resources_getLearningContentPlatformFeaturedItemListRecommended_ResourceRequestConfig } from '../resources/getLearningContentPlatformFeaturedItemListRecommended';
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 { FeaturedItemRecommendedListRepresentation as types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation } from '../types/FeaturedItemRecommendedListRepresentation';
5
- export declare const adapterName = "getFeaturedItemsRecommendedList";
6
- export declare const getFeaturedItemsRecommendedList_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
7
- export interface GetFeaturedItemsRecommendedListConfig {
8
- appId: string;
9
- context: string;
10
- }
11
- export declare function createResourceParams(config: GetFeaturedItemsRecommendedListConfig): resources_getLearningContentPlatformFeaturedItemListRecommended_ResourceRequestConfig;
12
- export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetFeaturedItemsRecommendedListConfig): string;
13
- export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetFeaturedItemsRecommendedListConfig): $64$luvio_engine_NormalizedKeyMetadata;
14
- export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetFeaturedItemsRecommendedListConfig>): adapter$45$utils_Untrusted<GetFeaturedItemsRecommendedListConfig>;
15
- export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetFeaturedItemsRecommendedListConfig | null;
16
- export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetFeaturedItemsRecommendedListConfig): $64$luvio_engine_Fragment;
17
- export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetFeaturedItemsRecommendedListConfig): $64$luvio_engine_Snapshot<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation, any>;
18
- export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetFeaturedItemsRecommendedListConfig, resourceParams: resources_getLearningContentPlatformFeaturedItemListRecommended_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation>): Promise<import("@luvio/engine").PendingSnapshot<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation, any> | import("@luvio/engine").FulfilledSnapshot<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation, {}>>;
19
- export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetFeaturedItemsRecommendedListConfig, resourceParams: resources_getLearningContentPlatformFeaturedItemListRecommended_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
20
- export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetFeaturedItemsRecommendedListConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation, any>>;
21
- export type BuildSnapshotContext = {
22
- luvio: $64$luvio_engine_Luvio;
23
- config: GetFeaturedItemsRecommendedListConfig;
24
- };
25
- export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation, any>>;
26
- export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation>): $64$luvio_engine_Snapshot<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation, any>;
27
- export declare const getFeaturedItemsRecommendedListAdapterFactory: $64$luvio_engine_AdapterFactory<GetFeaturedItemsRecommendedListConfig, types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation>;
1
+ import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
2
+ import { ResourceRequestConfig as resources_getLearningContentPlatformFeaturedItemListRecommended_ResourceRequestConfig } from '../resources/getLearningContentPlatformFeaturedItemListRecommended';
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 { FeaturedItemRecommendedListRepresentation as types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation } from '../types/FeaturedItemRecommendedListRepresentation';
5
+ export declare const adapterName = "getFeaturedItemsRecommendedList";
6
+ export declare const getFeaturedItemsRecommendedList_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
7
+ export interface GetFeaturedItemsRecommendedListConfig {
8
+ appId: string;
9
+ context: string;
10
+ }
11
+ export declare function createResourceParams(config: GetFeaturedItemsRecommendedListConfig): resources_getLearningContentPlatformFeaturedItemListRecommended_ResourceRequestConfig;
12
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetFeaturedItemsRecommendedListConfig): string;
13
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetFeaturedItemsRecommendedListConfig): $64$luvio_engine_NormalizedKeyMetadata;
14
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetFeaturedItemsRecommendedListConfig>): adapter$45$utils_Untrusted<GetFeaturedItemsRecommendedListConfig>;
15
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetFeaturedItemsRecommendedListConfig | null;
16
+ export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetFeaturedItemsRecommendedListConfig): $64$luvio_engine_Fragment;
17
+ export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetFeaturedItemsRecommendedListConfig): $64$luvio_engine_Snapshot<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation, any>;
18
+ export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetFeaturedItemsRecommendedListConfig, resourceParams: resources_getLearningContentPlatformFeaturedItemListRecommended_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation, any>>;
19
+ export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetFeaturedItemsRecommendedListConfig, resourceParams: resources_getLearningContentPlatformFeaturedItemListRecommended_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
20
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetFeaturedItemsRecommendedListConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation, any>>;
21
+ export type BuildSnapshotContext = {
22
+ luvio: $64$luvio_engine_Luvio;
23
+ config: GetFeaturedItemsRecommendedListConfig;
24
+ };
25
+ export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation, any>>;
26
+ export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation>): $64$luvio_engine_Snapshot<types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation, any>;
27
+ export declare const getFeaturedItemsRecommendedListAdapterFactory: $64$luvio_engine_AdapterFactory<GetFeaturedItemsRecommendedListConfig, types_FeaturedItemRecommendedListRepresentation_FeaturedItemRecommendedListRepresentation>;
@@ -1,27 +1,27 @@
1
- import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
2
- import { ResourceRequestConfig as resources_getLearningContentPlatformFeaturedItemListRelated_ResourceRequestConfig } from '../resources/getLearningContentPlatformFeaturedItemListRelated';
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 { FeaturedItemRelatedListRepresentation as types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation } from '../types/FeaturedItemRelatedListRepresentation';
5
- export declare const adapterName = "getFeaturedItemsRelatedList";
6
- export declare const getFeaturedItemsRelatedList_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
7
- export interface GetFeaturedItemsRelatedListConfig {
8
- appId: string;
9
- pageRef: string;
10
- }
11
- export declare function createResourceParams(config: GetFeaturedItemsRelatedListConfig): resources_getLearningContentPlatformFeaturedItemListRelated_ResourceRequestConfig;
12
- export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetFeaturedItemsRelatedListConfig): string;
13
- export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetFeaturedItemsRelatedListConfig): $64$luvio_engine_NormalizedKeyMetadata;
14
- export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetFeaturedItemsRelatedListConfig>): adapter$45$utils_Untrusted<GetFeaturedItemsRelatedListConfig>;
15
- export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetFeaturedItemsRelatedListConfig | null;
16
- export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetFeaturedItemsRelatedListConfig): $64$luvio_engine_Fragment;
17
- export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetFeaturedItemsRelatedListConfig): $64$luvio_engine_Snapshot<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation, any>;
18
- export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetFeaturedItemsRelatedListConfig, resourceParams: resources_getLearningContentPlatformFeaturedItemListRelated_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation>): Promise<import("@luvio/engine").PendingSnapshot<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation, any> | import("@luvio/engine").FulfilledSnapshot<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation, {}>>;
19
- export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetFeaturedItemsRelatedListConfig, resourceParams: resources_getLearningContentPlatformFeaturedItemListRelated_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
20
- export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetFeaturedItemsRelatedListConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation, any>>;
21
- export type BuildSnapshotContext = {
22
- luvio: $64$luvio_engine_Luvio;
23
- config: GetFeaturedItemsRelatedListConfig;
24
- };
25
- export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation, any>>;
26
- export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation>): $64$luvio_engine_Snapshot<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation, any>;
27
- export declare const getFeaturedItemsRelatedListAdapterFactory: $64$luvio_engine_AdapterFactory<GetFeaturedItemsRelatedListConfig, types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation>;
1
+ import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
2
+ import { ResourceRequestConfig as resources_getLearningContentPlatformFeaturedItemListRelated_ResourceRequestConfig } from '../resources/getLearningContentPlatformFeaturedItemListRelated';
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 { FeaturedItemRelatedListRepresentation as types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation } from '../types/FeaturedItemRelatedListRepresentation';
5
+ export declare const adapterName = "getFeaturedItemsRelatedList";
6
+ export declare const getFeaturedItemsRelatedList_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
7
+ export interface GetFeaturedItemsRelatedListConfig {
8
+ appId: string;
9
+ pageRef: string;
10
+ }
11
+ export declare function createResourceParams(config: GetFeaturedItemsRelatedListConfig): resources_getLearningContentPlatformFeaturedItemListRelated_ResourceRequestConfig;
12
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetFeaturedItemsRelatedListConfig): string;
13
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetFeaturedItemsRelatedListConfig): $64$luvio_engine_NormalizedKeyMetadata;
14
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetFeaturedItemsRelatedListConfig>): adapter$45$utils_Untrusted<GetFeaturedItemsRelatedListConfig>;
15
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetFeaturedItemsRelatedListConfig | null;
16
+ export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetFeaturedItemsRelatedListConfig): $64$luvio_engine_Fragment;
17
+ export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetFeaturedItemsRelatedListConfig): $64$luvio_engine_Snapshot<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation, any>;
18
+ export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetFeaturedItemsRelatedListConfig, resourceParams: resources_getLearningContentPlatformFeaturedItemListRelated_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation, any>>;
19
+ export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetFeaturedItemsRelatedListConfig, resourceParams: resources_getLearningContentPlatformFeaturedItemListRelated_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
20
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetFeaturedItemsRelatedListConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation, any>>;
21
+ export type BuildSnapshotContext = {
22
+ luvio: $64$luvio_engine_Luvio;
23
+ config: GetFeaturedItemsRelatedListConfig;
24
+ };
25
+ export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation, any>>;
26
+ export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation>): $64$luvio_engine_Snapshot<types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation, any>;
27
+ export declare const getFeaturedItemsRelatedListAdapterFactory: $64$luvio_engine_AdapterFactory<GetFeaturedItemsRelatedListConfig, types_FeaturedItemRelatedListRepresentation_FeaturedItemRelatedListRepresentation>;
@@ -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_getLearningContentPlatformLearningConfig_ResourceRequestConfig } from '../resources/getLearningContentPlatformLearningConfig';
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 { LearningConfigRepresentation as types_LearningConfigRepresentation_LearningConfigRepresentation } from '../types/LearningConfigRepresentation';
5
- export declare const adapterName = "getLearningConfig";
6
- export declare const getLearningConfig_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
7
- export interface GetLearningConfigConfig {
8
- }
9
- export declare function createResourceParams(config: GetLearningConfigConfig): resources_getLearningContentPlatformLearningConfig_ResourceRequestConfig;
10
- export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetLearningConfigConfig): string;
11
- export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetLearningConfigConfig): $64$luvio_engine_NormalizedKeyMetadata;
12
- export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetLearningConfigConfig>): adapter$45$utils_Untrusted<GetLearningConfigConfig>;
13
- export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetLearningConfigConfig | null;
14
- export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetLearningConfigConfig): $64$luvio_engine_Fragment;
15
- export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLearningConfigConfig): $64$luvio_engine_Snapshot<types_LearningConfigRepresentation_LearningConfigRepresentation, any>;
16
- export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetLearningConfigConfig, resourceParams: resources_getLearningContentPlatformLearningConfig_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LearningConfigRepresentation_LearningConfigRepresentation>): Promise<import("@luvio/engine").PendingSnapshot<types_LearningConfigRepresentation_LearningConfigRepresentation, any> | import("@luvio/engine").FulfilledSnapshot<types_LearningConfigRepresentation_LearningConfigRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_LearningConfigRepresentation_LearningConfigRepresentation, {}>>;
17
- export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetLearningConfigConfig, resourceParams: resources_getLearningContentPlatformLearningConfig_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
18
- export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLearningConfigConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningConfigRepresentation_LearningConfigRepresentation, any>>;
19
- export type BuildSnapshotContext = {
20
- luvio: $64$luvio_engine_Luvio;
21
- config: GetLearningConfigConfig;
22
- };
23
- export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningConfigRepresentation_LearningConfigRepresentation, any>>;
24
- export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_LearningConfigRepresentation_LearningConfigRepresentation>): $64$luvio_engine_Snapshot<types_LearningConfigRepresentation_LearningConfigRepresentation, any>;
25
- export declare const getLearningConfigAdapterFactory: $64$luvio_engine_AdapterFactory<GetLearningConfigConfig, types_LearningConfigRepresentation_LearningConfigRepresentation>;
1
+ import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
2
+ import { ResourceRequestConfig as resources_getLearningContentPlatformLearningConfig_ResourceRequestConfig } from '../resources/getLearningContentPlatformLearningConfig';
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 { LearningConfigRepresentation as types_LearningConfigRepresentation_LearningConfigRepresentation } from '../types/LearningConfigRepresentation';
5
+ export declare const adapterName = "getLearningConfig";
6
+ export declare const getLearningConfig_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
7
+ export interface GetLearningConfigConfig {
8
+ }
9
+ export declare function createResourceParams(config: GetLearningConfigConfig): resources_getLearningContentPlatformLearningConfig_ResourceRequestConfig;
10
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetLearningConfigConfig): string;
11
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetLearningConfigConfig): $64$luvio_engine_NormalizedKeyMetadata;
12
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetLearningConfigConfig>): adapter$45$utils_Untrusted<GetLearningConfigConfig>;
13
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetLearningConfigConfig | null;
14
+ export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetLearningConfigConfig): $64$luvio_engine_Fragment;
15
+ export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLearningConfigConfig): $64$luvio_engine_Snapshot<types_LearningConfigRepresentation_LearningConfigRepresentation, any>;
16
+ export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetLearningConfigConfig, resourceParams: resources_getLearningContentPlatformLearningConfig_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LearningConfigRepresentation_LearningConfigRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_LearningConfigRepresentation_LearningConfigRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_LearningConfigRepresentation_LearningConfigRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_LearningConfigRepresentation_LearningConfigRepresentation, any>>;
17
+ export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetLearningConfigConfig, resourceParams: resources_getLearningContentPlatformLearningConfig_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
18
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLearningConfigConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningConfigRepresentation_LearningConfigRepresentation, any>>;
19
+ export type BuildSnapshotContext = {
20
+ luvio: $64$luvio_engine_Luvio;
21
+ config: GetLearningConfigConfig;
22
+ };
23
+ export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningConfigRepresentation_LearningConfigRepresentation, any>>;
24
+ export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_LearningConfigRepresentation_LearningConfigRepresentation>): $64$luvio_engine_Snapshot<types_LearningConfigRepresentation_LearningConfigRepresentation, any>;
25
+ export declare const getLearningConfigAdapterFactory: $64$luvio_engine_AdapterFactory<GetLearningConfigConfig, types_LearningConfigRepresentation_LearningConfigRepresentation>;
@@ -1,26 +1,26 @@
1
- import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
2
- import { ResourceRequestConfig as resources_getLearningContentPlatformLearningItemProgress_ResourceRequestConfig } from '../resources/getLearningContentPlatformLearningItemProgress';
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 { LearningItemProgressListRepresentation as types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation } from '../types/LearningItemProgressListRepresentation';
5
- export declare const adapterName = "getLearningItemProgress";
6
- export declare const getLearningItemProgress_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
7
- export interface GetLearningItemProgressConfig {
8
- learningItemIds?: Array<string>;
9
- }
10
- export declare function createResourceParams(config: GetLearningItemProgressConfig): resources_getLearningContentPlatformLearningItemProgress_ResourceRequestConfig;
11
- export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetLearningItemProgressConfig): string;
12
- export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetLearningItemProgressConfig): $64$luvio_engine_NormalizedKeyMetadata;
13
- export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetLearningItemProgressConfig>): adapter$45$utils_Untrusted<GetLearningItemProgressConfig>;
14
- export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetLearningItemProgressConfig | null;
15
- export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetLearningItemProgressConfig): $64$luvio_engine_Fragment;
16
- export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLearningItemProgressConfig): $64$luvio_engine_Snapshot<types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation, any>;
17
- export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetLearningItemProgressConfig, resourceParams: resources_getLearningContentPlatformLearningItemProgress_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation>): Promise<import("@luvio/engine").PendingSnapshot<types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation, any> | import("@luvio/engine").FulfilledSnapshot<types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation, {}>>;
18
- export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetLearningItemProgressConfig, resourceParams: resources_getLearningContentPlatformLearningItemProgress_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
19
- export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLearningItemProgressConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation, any>>;
20
- export type BuildSnapshotContext = {
21
- luvio: $64$luvio_engine_Luvio;
22
- config: GetLearningItemProgressConfig;
23
- };
24
- export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation, any>>;
25
- export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation>): $64$luvio_engine_Snapshot<types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation, any>;
26
- export declare const getLearningItemProgressAdapterFactory: $64$luvio_engine_AdapterFactory<GetLearningItemProgressConfig, types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation>;
1
+ import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
2
+ import { ResourceRequestConfig as resources_getLearningContentPlatformLearningItemProgress_ResourceRequestConfig } from '../resources/getLearningContentPlatformLearningItemProgress';
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 { LearningItemProgressListRepresentation as types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation } from '../types/LearningItemProgressListRepresentation';
5
+ export declare const adapterName = "getLearningItemProgress";
6
+ export declare const getLearningItemProgress_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
7
+ export interface GetLearningItemProgressConfig {
8
+ learningItemIds?: Array<string>;
9
+ }
10
+ export declare function createResourceParams(config: GetLearningItemProgressConfig): resources_getLearningContentPlatformLearningItemProgress_ResourceRequestConfig;
11
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetLearningItemProgressConfig): string;
12
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetLearningItemProgressConfig): $64$luvio_engine_NormalizedKeyMetadata;
13
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetLearningItemProgressConfig>): adapter$45$utils_Untrusted<GetLearningItemProgressConfig>;
14
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetLearningItemProgressConfig | null;
15
+ export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetLearningItemProgressConfig): $64$luvio_engine_Fragment;
16
+ export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLearningItemProgressConfig): $64$luvio_engine_Snapshot<types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation, any>;
17
+ export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetLearningItemProgressConfig, resourceParams: resources_getLearningContentPlatformLearningItemProgress_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation, any>>;
18
+ export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetLearningItemProgressConfig, resourceParams: resources_getLearningContentPlatformLearningItemProgress_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
19
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLearningItemProgressConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation, any>>;
20
+ export type BuildSnapshotContext = {
21
+ luvio: $64$luvio_engine_Luvio;
22
+ config: GetLearningItemProgressConfig;
23
+ };
24
+ export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation, any>>;
25
+ export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation>): $64$luvio_engine_Snapshot<types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation, any>;
26
+ export declare const getLearningItemProgressAdapterFactory: $64$luvio_engine_AdapterFactory<GetLearningItemProgressConfig, types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation>;
@@ -1,26 +1,26 @@
1
- import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
2
- import { ResourceRequestConfig as resources_getLearningContentPlatformLearningItemList_ResourceRequestConfig } from '../resources/getLearningContentPlatformLearningItemList';
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 { LearningItemListRepresentation as types_LearningItemListRepresentation_LearningItemListRepresentation } from '../types/LearningItemListRepresentation';
5
- export declare const adapterName = "getLearningItemsList";
6
- export declare const getLearningItemsList_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
7
- export interface GetLearningItemsListConfig {
8
- learningItemIds?: Array<string>;
9
- }
10
- export declare function createResourceParams(config: GetLearningItemsListConfig): resources_getLearningContentPlatformLearningItemList_ResourceRequestConfig;
11
- export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetLearningItemsListConfig): string;
12
- export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetLearningItemsListConfig): $64$luvio_engine_NormalizedKeyMetadata;
13
- export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetLearningItemsListConfig>): adapter$45$utils_Untrusted<GetLearningItemsListConfig>;
14
- export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetLearningItemsListConfig | null;
15
- export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetLearningItemsListConfig): $64$luvio_engine_Fragment;
16
- export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLearningItemsListConfig): $64$luvio_engine_Snapshot<types_LearningItemListRepresentation_LearningItemListRepresentation, any>;
17
- export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetLearningItemsListConfig, resourceParams: resources_getLearningContentPlatformLearningItemList_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LearningItemListRepresentation_LearningItemListRepresentation>): Promise<import("@luvio/engine").PendingSnapshot<types_LearningItemListRepresentation_LearningItemListRepresentation, any> | import("@luvio/engine").FulfilledSnapshot<types_LearningItemListRepresentation_LearningItemListRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_LearningItemListRepresentation_LearningItemListRepresentation, {}>>;
18
- export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetLearningItemsListConfig, resourceParams: resources_getLearningContentPlatformLearningItemList_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
19
- export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLearningItemsListConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningItemListRepresentation_LearningItemListRepresentation, any>>;
20
- export type BuildSnapshotContext = {
21
- luvio: $64$luvio_engine_Luvio;
22
- config: GetLearningItemsListConfig;
23
- };
24
- export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningItemListRepresentation_LearningItemListRepresentation, any>>;
25
- export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_LearningItemListRepresentation_LearningItemListRepresentation>): $64$luvio_engine_Snapshot<types_LearningItemListRepresentation_LearningItemListRepresentation, any>;
26
- export declare const getLearningItemsListAdapterFactory: $64$luvio_engine_AdapterFactory<GetLearningItemsListConfig, types_LearningItemListRepresentation_LearningItemListRepresentation>;
1
+ import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
2
+ import { ResourceRequestConfig as resources_getLearningContentPlatformLearningItemList_ResourceRequestConfig } from '../resources/getLearningContentPlatformLearningItemList';
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 { LearningItemListRepresentation as types_LearningItemListRepresentation_LearningItemListRepresentation } from '../types/LearningItemListRepresentation';
5
+ export declare const adapterName = "getLearningItemsList";
6
+ export declare const getLearningItemsList_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
7
+ export interface GetLearningItemsListConfig {
8
+ learningItemIds?: Array<string>;
9
+ }
10
+ export declare function createResourceParams(config: GetLearningItemsListConfig): resources_getLearningContentPlatformLearningItemList_ResourceRequestConfig;
11
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetLearningItemsListConfig): string;
12
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetLearningItemsListConfig): $64$luvio_engine_NormalizedKeyMetadata;
13
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetLearningItemsListConfig>): adapter$45$utils_Untrusted<GetLearningItemsListConfig>;
14
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetLearningItemsListConfig | null;
15
+ export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetLearningItemsListConfig): $64$luvio_engine_Fragment;
16
+ export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLearningItemsListConfig): $64$luvio_engine_Snapshot<types_LearningItemListRepresentation_LearningItemListRepresentation, any>;
17
+ export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetLearningItemsListConfig, resourceParams: resources_getLearningContentPlatformLearningItemList_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LearningItemListRepresentation_LearningItemListRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_LearningItemListRepresentation_LearningItemListRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_LearningItemListRepresentation_LearningItemListRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_LearningItemListRepresentation_LearningItemListRepresentation, any>>;
18
+ export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetLearningItemsListConfig, resourceParams: resources_getLearningContentPlatformLearningItemList_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
19
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLearningItemsListConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningItemListRepresentation_LearningItemListRepresentation, any>>;
20
+ export type BuildSnapshotContext = {
21
+ luvio: $64$luvio_engine_Luvio;
22
+ config: GetLearningItemsListConfig;
23
+ };
24
+ export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningItemListRepresentation_LearningItemListRepresentation, any>>;
25
+ export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_LearningItemListRepresentation_LearningItemListRepresentation>): $64$luvio_engine_Snapshot<types_LearningItemListRepresentation_LearningItemListRepresentation, any>;
26
+ export declare const getLearningItemsListAdapterFactory: $64$luvio_engine_AdapterFactory<GetLearningItemsListConfig, types_LearningItemListRepresentation_LearningItemListRepresentation>;
@@ -1,26 +1,26 @@
1
- import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
2
- import { ResourceRequestConfig as resources_getLearningContentPlatformLearningModelByLearningItemId_ResourceRequestConfig } from '../resources/getLearningContentPlatformLearningModelByLearningItemId';
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 { LearningModelOutputRepresentation as types_LearningModelOutputRepresentation_LearningModelOutputRepresentation } from '../types/LearningModelOutputRepresentation';
5
- export declare const adapterName = "getLearningModel";
6
- export declare const getLearningModel_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
7
- export interface GetLearningModelConfig {
8
- learningItemId: string;
9
- }
10
- export declare function createResourceParams(config: GetLearningModelConfig): resources_getLearningContentPlatformLearningModelByLearningItemId_ResourceRequestConfig;
11
- export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetLearningModelConfig): string;
12
- export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetLearningModelConfig): $64$luvio_engine_NormalizedKeyMetadata;
13
- export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetLearningModelConfig>): adapter$45$utils_Untrusted<GetLearningModelConfig>;
14
- export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetLearningModelConfig | null;
15
- export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetLearningModelConfig): $64$luvio_engine_Fragment;
16
- export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLearningModelConfig): $64$luvio_engine_Snapshot<types_LearningModelOutputRepresentation_LearningModelOutputRepresentation, any>;
17
- export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetLearningModelConfig, resourceParams: resources_getLearningContentPlatformLearningModelByLearningItemId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LearningModelOutputRepresentation_LearningModelOutputRepresentation>): Promise<import("@luvio/engine").PendingSnapshot<types_LearningModelOutputRepresentation_LearningModelOutputRepresentation, any> | import("@luvio/engine").FulfilledSnapshot<types_LearningModelOutputRepresentation_LearningModelOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_LearningModelOutputRepresentation_LearningModelOutputRepresentation, {}>>;
18
- export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetLearningModelConfig, resourceParams: resources_getLearningContentPlatformLearningModelByLearningItemId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
19
- export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLearningModelConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningModelOutputRepresentation_LearningModelOutputRepresentation, any>>;
20
- export type BuildSnapshotContext = {
21
- luvio: $64$luvio_engine_Luvio;
22
- config: GetLearningModelConfig;
23
- };
24
- export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningModelOutputRepresentation_LearningModelOutputRepresentation, any>>;
25
- export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_LearningModelOutputRepresentation_LearningModelOutputRepresentation>): $64$luvio_engine_Snapshot<types_LearningModelOutputRepresentation_LearningModelOutputRepresentation, any>;
26
- export declare const getLearningModelAdapterFactory: $64$luvio_engine_AdapterFactory<GetLearningModelConfig, types_LearningModelOutputRepresentation_LearningModelOutputRepresentation>;
1
+ import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
2
+ import { ResourceRequestConfig as resources_getLearningContentPlatformLearningModelByLearningItemId_ResourceRequestConfig } from '../resources/getLearningContentPlatformLearningModelByLearningItemId';
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 { LearningModelOutputRepresentation as types_LearningModelOutputRepresentation_LearningModelOutputRepresentation } from '../types/LearningModelOutputRepresentation';
5
+ export declare const adapterName = "getLearningModel";
6
+ export declare const getLearningModel_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
7
+ export interface GetLearningModelConfig {
8
+ learningItemId: string;
9
+ }
10
+ export declare function createResourceParams(config: GetLearningModelConfig): resources_getLearningContentPlatformLearningModelByLearningItemId_ResourceRequestConfig;
11
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetLearningModelConfig): string;
12
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetLearningModelConfig): $64$luvio_engine_NormalizedKeyMetadata;
13
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetLearningModelConfig>): adapter$45$utils_Untrusted<GetLearningModelConfig>;
14
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetLearningModelConfig | null;
15
+ export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetLearningModelConfig): $64$luvio_engine_Fragment;
16
+ export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLearningModelConfig): $64$luvio_engine_Snapshot<types_LearningModelOutputRepresentation_LearningModelOutputRepresentation, any>;
17
+ export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetLearningModelConfig, resourceParams: resources_getLearningContentPlatformLearningModelByLearningItemId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LearningModelOutputRepresentation_LearningModelOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_LearningModelOutputRepresentation_LearningModelOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_LearningModelOutputRepresentation_LearningModelOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_LearningModelOutputRepresentation_LearningModelOutputRepresentation, any>>;
18
+ export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetLearningModelConfig, resourceParams: resources_getLearningContentPlatformLearningModelByLearningItemId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
19
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLearningModelConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningModelOutputRepresentation_LearningModelOutputRepresentation, any>>;
20
+ export type BuildSnapshotContext = {
21
+ luvio: $64$luvio_engine_Luvio;
22
+ config: GetLearningModelConfig;
23
+ };
24
+ export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_LearningModelOutputRepresentation_LearningModelOutputRepresentation, any>>;
25
+ export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_LearningModelOutputRepresentation_LearningModelOutputRepresentation>): $64$luvio_engine_Snapshot<types_LearningModelOutputRepresentation_LearningModelOutputRepresentation, any>;
26
+ export declare const getLearningModelAdapterFactory: $64$luvio_engine_AdapterFactory<GetLearningModelConfig, types_LearningModelOutputRepresentation_LearningModelOutputRepresentation>;