@salesforce/lds-adapters-experience-model 1.250.1 → 1.252.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/experience-model.js +706 -318
- package/dist/es/es2018/types/src/generated/adapters/getTypes.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
- package/dist/es/es2018/types/src/generated/resources/postConnectExperienceModelTypes.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/types/ExperienceModelDesignConfigInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ExperienceModelRenditionConfigInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ExperienceModelSchemaConfigInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ExperienceModelTypesCollectionRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/ExperienceModelTypesConfigInputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/ExperienceModelTypesInputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/ExperienceModelTypesRepresentation.d.ts +56 -0
- package/package.json +3 -2
- package/sfdc/index.js +730 -334
- package/src/raml/api.raml +126 -0
- package/src/raml/luvio.raml +28 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, 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';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ExperienceModelTypesConfigInputRepresentation as types_ExperienceModelTypesConfigInputRepresentation_ExperienceModelTypesConfigInputRepresentation } from '../types/ExperienceModelTypesConfigInputRepresentation';
|
|
4
|
+
import { ResourceRequestConfig as resources_postConnectExperienceModelTypes_ResourceRequestConfig } from '../resources/postConnectExperienceModelTypes';
|
|
5
|
+
import { ExperienceModelTypesCollectionRepresentation as types_ExperienceModelTypesCollectionRepresentation_ExperienceModelTypesCollectionRepresentation } from '../types/ExperienceModelTypesCollectionRepresentation';
|
|
6
|
+
export declare const adapterName = "getTypes";
|
|
7
|
+
export declare const getTypes_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const getTypes_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface GetTypesConfig {
|
|
10
|
+
language: string;
|
|
11
|
+
typeConfigs: Array<types_ExperienceModelTypesConfigInputRepresentation_ExperienceModelTypesConfigInputRepresentation>;
|
|
12
|
+
}
|
|
13
|
+
export declare const createResourceParams: (config: GetTypesConfig) => resources_postConnectExperienceModelTypes_ResourceRequestConfig;
|
|
14
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetTypesConfig): string;
|
|
15
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetTypesConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetTypesConfig>): adapter$45$utils_Untrusted<GetTypesConfig>;
|
|
17
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetTypesConfig | null;
|
|
18
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetTypesConfig): $64$luvio_engine_Fragment;
|
|
19
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetTypesConfig): $64$luvio_engine_Snapshot<types_ExperienceModelTypesCollectionRepresentation_ExperienceModelTypesCollectionRepresentation, any>;
|
|
20
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetTypesConfig, resourceParams: resources_postConnectExperienceModelTypes_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ExperienceModelTypesCollectionRepresentation_ExperienceModelTypesCollectionRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ExperienceModelTypesCollectionRepresentation_ExperienceModelTypesCollectionRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ExperienceModelTypesCollectionRepresentation_ExperienceModelTypesCollectionRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ExperienceModelTypesCollectionRepresentation_ExperienceModelTypesCollectionRepresentation, any>>;
|
|
21
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetTypesConfig, resourceParams: resources_postConnectExperienceModelTypes_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
22
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetTypesConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_ExperienceModelTypesCollectionRepresentation_ExperienceModelTypesCollectionRepresentation, any>>;
|
|
23
|
+
export type BuildSnapshotContext = {
|
|
24
|
+
luvio: $64$luvio_engine_Luvio;
|
|
25
|
+
config: GetTypesConfig;
|
|
26
|
+
};
|
|
27
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ExperienceModelTypesCollectionRepresentation_ExperienceModelTypesCollectionRepresentation, any>>;
|
|
28
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ExperienceModelTypesCollectionRepresentation_ExperienceModelTypesCollectionRepresentation>): $64$luvio_engine_Snapshot<types_ExperienceModelTypesCollectionRepresentation_ExperienceModelTypesCollectionRepresentation, any>;
|
|
29
|
+
export declare const getTypesAdapterFactory: $64$luvio_engine_AdapterFactory<GetTypesConfig, types_ExperienceModelTypesCollectionRepresentation_ExperienceModelTypesCollectionRepresentation>;
|
|
@@ -4,3 +4,4 @@ export { getContentTypesAdapterFactory } from '../adapters/getContentTypes';
|
|
|
4
4
|
export { getContentTypeAdapterFactory } from '../adapters/getContentType';
|
|
5
5
|
export { getPropertyTypesAdapterFactory } from '../adapters/getPropertyTypes';
|
|
6
6
|
export { getPropertyTypeAdapterFactory } from '../adapters/getPropertyType';
|
|
7
|
+
export { getTypesAdapterFactory } from '../adapters/getTypes';
|
|
@@ -4,10 +4,12 @@ declare let getContentType: any;
|
|
|
4
4
|
declare let getContentTypes: any;
|
|
5
5
|
declare let getPropertyType: any;
|
|
6
6
|
declare let getPropertyTypes: any;
|
|
7
|
+
declare let getTypes: any;
|
|
7
8
|
declare let getBlockType_imperative: any;
|
|
8
9
|
declare let getBlockTypes_imperative: any;
|
|
9
10
|
declare let getContentType_imperative: any;
|
|
10
11
|
declare let getContentTypes_imperative: any;
|
|
11
12
|
declare let getPropertyType_imperative: any;
|
|
12
13
|
declare let getPropertyTypes_imperative: any;
|
|
13
|
-
|
|
14
|
+
declare let getTypes_imperative: any;
|
|
15
|
+
export { getBlockType, getBlockTypes, getContentType, getContentTypes, getPropertyType, getPropertyTypes, getTypes, getBlockType_imperative, getBlockTypes_imperative, getContentType_imperative, getContentTypes_imperative, getPropertyType_imperative, getPropertyTypes_imperative, getTypes_imperative };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ExperienceModelTypesConfigInputRepresentation as types_ExperienceModelTypesConfigInputRepresentation_ExperienceModelTypesConfigInputRepresentation } from '../types/ExperienceModelTypesConfigInputRepresentation';
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, 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';
|
|
3
|
+
import { ExperienceModelTypesCollectionRepresentation as types_ExperienceModelTypesCollectionRepresentation_ExperienceModelTypesCollectionRepresentation } from '../types/ExperienceModelTypesCollectionRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
body: {
|
|
6
|
+
language: string;
|
|
7
|
+
typeConfigs: Array<types_ExperienceModelTypesConfigInputRepresentation_ExperienceModelTypesConfigInputRepresentation>;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
11
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ExperienceModelTypesCollectionRepresentation_ExperienceModelTypesCollectionRepresentation): void;
|
|
14
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ExperienceModelTypesCollectionRepresentation_ExperienceModelTypesCollectionRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ExperienceModelTypesCollectionRepresentation_ExperienceModelTypesCollectionRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ExperienceModelTypesCollectionRepresentation_ExperienceModelTypesCollectionRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ExperienceModelTypesCollectionRepresentation_ExperienceModelTypesCollectionRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ExperienceModelTypesCollectionRepresentation_ExperienceModelTypesCollectionRepresentation, any>;
|
|
15
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ExperienceModelTypesCollectionRepresentation_ExperienceModelTypesCollectionRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
16
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
17
|
+
export default createResourceRequest;
|
package/dist/es/es2018/types/src/generated/types/ExperienceModelDesignConfigInputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "dbc07247c590965958dad9bd1419875e";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ExperienceModelDesignConfigInputRepresentation, existing: ExperienceModelDesignConfigInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExperienceModelDesignConfigInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ExperienceModelDesignConfigInputRepresentationNormalized, incoming: ExperienceModelDesignConfigInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ExperienceModelDesignConfigInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Input Representation for Experience Model type design configuration
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ExperienceModelDesignConfigInputRepresentationNormalized {
|
|
17
|
+
/** A design configuration target. To fetch all the types that have the design configuration for a particular target. */
|
|
18
|
+
target?: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Input Representation for Experience Model type design configuration
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface ExperienceModelDesignConfigInputRepresentation {
|
|
27
|
+
target?: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "e37327109d7bac3cb8c044d589c606cd";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ExperienceModelRenditionConfigInputRepresentation, existing: ExperienceModelRenditionConfigInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExperienceModelRenditionConfigInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ExperienceModelRenditionConfigInputRepresentationNormalized, incoming: ExperienceModelRenditionConfigInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ExperienceModelRenditionConfigInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Input Representation for Experience Model type rendition configuration
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ExperienceModelRenditionConfigInputRepresentationNormalized {
|
|
17
|
+
/** A rendition configuration target. To fetch all the types that have the rendition configuration for a particular target. */
|
|
18
|
+
target?: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Input Representation for Experience Model type rendition configuration
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface ExperienceModelRenditionConfigInputRepresentation {
|
|
27
|
+
target?: string;
|
|
28
|
+
}
|
package/dist/es/es2018/types/src/generated/types/ExperienceModelSchemaConfigInputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "f3870f534222fc04b16a772ad764290d";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ExperienceModelSchemaConfigInputRepresentation, existing: ExperienceModelSchemaConfigInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExperienceModelSchemaConfigInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ExperienceModelSchemaConfigInputRepresentationNormalized, incoming: ExperienceModelSchemaConfigInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ExperienceModelSchemaConfigInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Input Representation for Experience Model type schema configuration
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ExperienceModelSchemaConfigInputRepresentationNormalized {
|
|
17
|
+
/** Boolean property if sub-schema should be included */
|
|
18
|
+
subSchemaDefinitions?: boolean;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Input Representation for Experience Model type schema configuration
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface ExperienceModelSchemaConfigInputRepresentation {
|
|
27
|
+
subSchemaDefinitions?: boolean;
|
|
28
|
+
}
|
package/dist/es/es2018/types/src/generated/types/ExperienceModelTypesCollectionRepresentation.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ExperienceModelTypesRepresentation as ExperienceModelTypesRepresentation_ExperienceModelTypesRepresentation } from './ExperienceModelTypesRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const TTL = 3600000;
|
|
4
|
+
export declare const VERSION = "8769e559a95e852451b82fa1610c65e0";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: ExperienceModelTypesCollectionRepresentation, existing: ExperienceModelTypesCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExperienceModelTypesCollectionRepresentationNormalized;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
9
|
+
export declare function equals(existing: ExperienceModelTypesCollectionRepresentationNormalized, incoming: ExperienceModelTypesCollectionRepresentationNormalized): boolean;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ExperienceModelTypesCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
|
+
/**
|
|
13
|
+
* Represents a list/collection of Types.
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface ExperienceModelTypesCollectionRepresentationNormalized {
|
|
19
|
+
/** The list of Types ordered alphabetically by title. */
|
|
20
|
+
types: Array<$64$luvio_engine_StoreLink>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Represents a list/collection of Types.
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface ExperienceModelTypesCollectionRepresentation {
|
|
29
|
+
types: Array<ExperienceModelTypesRepresentation_ExperienceModelTypesRepresentation>;
|
|
30
|
+
}
|
package/dist/es/es2018/types/src/generated/types/ExperienceModelTypesConfigInputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ExperienceModelDesignConfigInputRepresentation as ExperienceModelDesignConfigInputRepresentation_ExperienceModelDesignConfigInputRepresentation } from './ExperienceModelDesignConfigInputRepresentation';
|
|
2
|
+
import { ExperienceModelRenditionConfigInputRepresentation as ExperienceModelRenditionConfigInputRepresentation_ExperienceModelRenditionConfigInputRepresentation } from './ExperienceModelRenditionConfigInputRepresentation';
|
|
3
|
+
import { ExperienceModelSchemaConfigInputRepresentation as ExperienceModelSchemaConfigInputRepresentation_ExperienceModelSchemaConfigInputRepresentation } from './ExperienceModelSchemaConfigInputRepresentation';
|
|
4
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
5
|
+
export declare const VERSION = "59a2e55930590204c1bc32a3e080116d";
|
|
6
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
|
+
export declare const RepresentationType: string;
|
|
8
|
+
export declare function normalize(input: ExperienceModelTypesConfigInputRepresentation, existing: ExperienceModelTypesConfigInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExperienceModelTypesConfigInputRepresentationNormalized;
|
|
9
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
10
|
+
export declare function equals(existing: ExperienceModelTypesConfigInputRepresentationNormalized, incoming: ExperienceModelTypesConfigInputRepresentationNormalized): boolean;
|
|
11
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
12
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ExperienceModelTypesConfigInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
13
|
+
/**
|
|
14
|
+
* Input Representation for Experience Model types configuration
|
|
15
|
+
*
|
|
16
|
+
* Keys:
|
|
17
|
+
* (none)
|
|
18
|
+
*/
|
|
19
|
+
export interface ExperienceModelTypesConfigInputRepresentationNormalized {
|
|
20
|
+
/** The descriptor of type. */
|
|
21
|
+
descriptor: string;
|
|
22
|
+
/** The design config. */
|
|
23
|
+
designConfig?: ExperienceModelDesignConfigInputRepresentation_ExperienceModelDesignConfigInputRepresentation;
|
|
24
|
+
/** The rendition config. */
|
|
25
|
+
renditionConfig?: ExperienceModelRenditionConfigInputRepresentation_ExperienceModelRenditionConfigInputRepresentation;
|
|
26
|
+
/** The schema config. */
|
|
27
|
+
schemaConfig?: ExperienceModelSchemaConfigInputRepresentation_ExperienceModelSchemaConfigInputRepresentation;
|
|
28
|
+
/** The source descriptor. */
|
|
29
|
+
sourceDescriptor?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Input Representation for Experience Model types configuration
|
|
33
|
+
*
|
|
34
|
+
* Keys:
|
|
35
|
+
* (none)
|
|
36
|
+
*/
|
|
37
|
+
export interface ExperienceModelTypesConfigInputRepresentation {
|
|
38
|
+
descriptor: string;
|
|
39
|
+
designConfig?: ExperienceModelDesignConfigInputRepresentation_ExperienceModelDesignConfigInputRepresentation;
|
|
40
|
+
renditionConfig?: ExperienceModelRenditionConfigInputRepresentation_ExperienceModelRenditionConfigInputRepresentation;
|
|
41
|
+
schemaConfig?: ExperienceModelSchemaConfigInputRepresentation_ExperienceModelSchemaConfigInputRepresentation;
|
|
42
|
+
sourceDescriptor?: string;
|
|
43
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ExperienceModelTypesConfigInputRepresentation as ExperienceModelTypesConfigInputRepresentation_ExperienceModelTypesConfigInputRepresentation } from './ExperienceModelTypesConfigInputRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "5cc56ea5d6d9f4fe676949b623baf196";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: ExperienceModelTypesInputRepresentation, existing: ExperienceModelTypesInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExperienceModelTypesInputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: ExperienceModelTypesInputRepresentationNormalized, incoming: ExperienceModelTypesInputRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ExperienceModelTypesInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Input Representation for Experience Model types
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ExperienceModelTypesInputRepresentationNormalized {
|
|
18
|
+
/** The language/locale code. e.g., es or en_US. To retrieve the title and description in a particular language. If not provided, the logged-in user’s language is used. The fallback language is ENGLISH in case translations don't exist. */
|
|
19
|
+
language: string;
|
|
20
|
+
/** The list of Experience Model Types Configuration */
|
|
21
|
+
typeConfigs: Array<ExperienceModelTypesConfigInputRepresentation_ExperienceModelTypesConfigInputRepresentation>;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Input Representation for Experience Model types
|
|
25
|
+
*
|
|
26
|
+
* Keys:
|
|
27
|
+
* (none)
|
|
28
|
+
*/
|
|
29
|
+
export interface ExperienceModelTypesInputRepresentation {
|
|
30
|
+
language: string;
|
|
31
|
+
typeConfigs: Array<ExperienceModelTypesConfigInputRepresentation_ExperienceModelTypesConfigInputRepresentation>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const TTL = 3600000;
|
|
3
|
+
export declare const VERSION = "a300702782337b1c21b2f0e174bbdaed";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: ExperienceModelTypesRepresentation, existing: ExperienceModelTypesRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExperienceModelTypesRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
8
|
+
export declare function equals(existing: ExperienceModelTypesRepresentationNormalized, incoming: ExperienceModelTypesRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ExperienceModelTypesRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Represents the details about Types.
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ExperienceModelTypesRepresentationNormalized {
|
|
18
|
+
/** The bundle type of the Type that was given in type descriptor in query params. */
|
|
19
|
+
bundleType: string;
|
|
20
|
+
/** The description of the Type that was given in its schema.json. */
|
|
21
|
+
description?: string;
|
|
22
|
+
/** The design configuration for the specified target. */
|
|
23
|
+
designConfig?: {};
|
|
24
|
+
/** The developer name (aka apiName) of the Type. */
|
|
25
|
+
developerName: string;
|
|
26
|
+
/** The 18-char String ID of the Type. This is returned for the DB-Based (Custom) Types only. */
|
|
27
|
+
id?: string;
|
|
28
|
+
/** The namespace prefix that is associated with the Type. Refer to a Type using the namespacePrefix__developerName notation (aka fullyQualifiedName). */
|
|
29
|
+
namespacePrefix: string;
|
|
30
|
+
/** The rendition configuration for the specified target. */
|
|
31
|
+
renditionConfig?: {};
|
|
32
|
+
/** The JSON Schema definition (schema.json) of the Type */
|
|
33
|
+
schema?: {};
|
|
34
|
+
/** The title of the Type that was given in its schema.json. */
|
|
35
|
+
title?: string;
|
|
36
|
+
/** The type descriptor of the Type that was given in query params. */
|
|
37
|
+
typeDescriptor?: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Represents the details about Types.
|
|
41
|
+
*
|
|
42
|
+
* Keys:
|
|
43
|
+
* (none)
|
|
44
|
+
*/
|
|
45
|
+
export interface ExperienceModelTypesRepresentation {
|
|
46
|
+
bundleType: string;
|
|
47
|
+
description?: string;
|
|
48
|
+
designConfig?: {};
|
|
49
|
+
developerName: string;
|
|
50
|
+
id?: string;
|
|
51
|
+
namespacePrefix: string;
|
|
52
|
+
renditionConfig?: {};
|
|
53
|
+
schema?: {};
|
|
54
|
+
title?: string;
|
|
55
|
+
typeDescriptor?: string;
|
|
56
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-experience-model",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.252.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "APIs to read and query all the 'types' in the Unified Experience Model",
|
|
6
6
|
"main": "dist/es/es2018/experience-model.js",
|
|
@@ -28,7 +28,8 @@
|
|
|
28
28
|
"module": "experienceModelApi"
|
|
29
29
|
},
|
|
30
30
|
"contributors": [
|
|
31
|
-
"kshitij.kadane@salesforce.com"
|
|
31
|
+
"kshitij.kadane@salesforce.com",
|
|
32
|
+
"anisha.swain@salesforce.com"
|
|
32
33
|
],
|
|
33
34
|
"scripts": {
|
|
34
35
|
"build": "yarn build:services",
|