@salesforce/lds-adapters-industries-eri 0.131.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/LICENSE.txt +82 -0
- package/dist/es/es2018/industries-eri.js +528 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +66 -0
- package/dist/es/es2018/types/src/generated/adapters/getERIDigest.d.ts +15 -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 +2 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectEriDigest.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/types/DigestNotification.d.ts +63 -0
- package/dist/es/es2018/types/src/generated/types/ERIDigestInputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/ERIDigestInputRepresentationWrapper.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/ERIDigestOutputRepresentation.d.ts +52 -0
- package/dist/es/es2018/types/src/generated/types/FollowingInfo.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/FollowingInfoInputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +39 -0
- package/package.json +67 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +555 -0
- package/src/raml/api.raml +173 -0
- package/src/raml/luvio.raml +22 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { ERIDigestInputRepresentation as types_ERIDigestInputRepresentation_ERIDigestInputRepresentation } from '../types/ERIDigestInputRepresentation';
|
|
3
|
+
import { ResourceRequestConfig as resources_postConnectEriDigest_ResourceRequestConfig } from '../resources/postConnectEriDigest';
|
|
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 { ERIDigestOutputRepresentation as types_ERIDigestOutputRepresentation_ERIDigestOutputRepresentation } from '../types/ERIDigestOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "getERIDigest";
|
|
7
|
+
export declare const getERIDigest_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetERIDigestConfig {
|
|
9
|
+
eriDigestInput: types_ERIDigestInputRepresentation_ERIDigestInputRepresentation;
|
|
10
|
+
}
|
|
11
|
+
export declare function createResourceParams(config: GetERIDigestConfig): resources_postConnectEriDigest_ResourceRequestConfig;
|
|
12
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetERIDigestConfig>): adapter$45$utils_Untrusted<GetERIDigestConfig>;
|
|
13
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetERIDigestConfig | null;
|
|
14
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetERIDigestConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_ERIDigestOutputRepresentation_ERIDigestOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ERIDigestOutputRepresentation_ERIDigestOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ERIDigestOutputRepresentation_ERIDigestOutputRepresentation, any>>;
|
|
15
|
+
export declare const getERIDigestAdapterFactory: $64$luvio_engine_AdapterFactory<GetERIDigestConfig, types_ERIDigestOutputRepresentation_ERIDigestOutputRepresentation>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { getERIDigestAdapterFactory } from '../adapters/getERIDigest';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ERIDigestInputRepresentation as types_ERIDigestInputRepresentation_ERIDigestInputRepresentation } from '../types/ERIDigestInputRepresentation';
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
3
|
+
import { ERIDigestOutputRepresentation as types_ERIDigestOutputRepresentation_ERIDigestOutputRepresentation } from '../types/ERIDigestOutputRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
body: {
|
|
6
|
+
eriDigestInput: types_ERIDigestInputRepresentation_ERIDigestInputRepresentation;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
10
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ERIDigestOutputRepresentation_ERIDigestOutputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ERIDigestOutputRepresentation_ERIDigestOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ERIDigestOutputRepresentation_ERIDigestOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ERIDigestOutputRepresentation_ERIDigestOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ERIDigestOutputRepresentation_ERIDigestOutputRepresentation, any>;
|
|
12
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
13
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,63 @@
|
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "1b195c1743c167f786cfce25b5d46f7b";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: DigestNotification, existing: DigestNotificationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DigestNotificationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
7
|
+
export declare function equals(existing: DigestNotificationNormalized, incoming: DigestNotificationNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: DigestNotification): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: DigestNotification, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* Digest notification
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface DigestNotificationNormalized {
|
|
18
|
+
/** Display fields in the notification */
|
|
19
|
+
fields: Array<{
|
|
20
|
+
[key: string]: string;
|
|
21
|
+
}>;
|
|
22
|
+
/** Unique id of the notification in the digest */
|
|
23
|
+
id: string;
|
|
24
|
+
/** Record Name referenced in this notification */
|
|
25
|
+
name: string;
|
|
26
|
+
/** Navigation Url */
|
|
27
|
+
navigationLink: string;
|
|
28
|
+
/** true if the notification is read by the user */
|
|
29
|
+
read?: boolean;
|
|
30
|
+
/** Record id referenced in this notification */
|
|
31
|
+
recordId: string;
|
|
32
|
+
/** Record id type referenced in this notification */
|
|
33
|
+
recordTypeId?: string;
|
|
34
|
+
/** Sobject Type of the record referenced in this notification */
|
|
35
|
+
sobjectType: string;
|
|
36
|
+
/** Sobject type label of the record referenced in this notification */
|
|
37
|
+
sobjectTypeLabel: string;
|
|
38
|
+
/** Time when this relationship is found */
|
|
39
|
+
timeStamp: string;
|
|
40
|
+
/** Notificatio type */
|
|
41
|
+
type: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Digest notification
|
|
45
|
+
*
|
|
46
|
+
* Keys:
|
|
47
|
+
* (none)
|
|
48
|
+
*/
|
|
49
|
+
export interface DigestNotification {
|
|
50
|
+
fields: Array<{
|
|
51
|
+
[key: string]: string;
|
|
52
|
+
}>;
|
|
53
|
+
id: string;
|
|
54
|
+
name: string;
|
|
55
|
+
navigationLink: string;
|
|
56
|
+
read?: boolean;
|
|
57
|
+
recordId: string;
|
|
58
|
+
recordTypeId?: string;
|
|
59
|
+
sobjectType: string;
|
|
60
|
+
sobjectTypeLabel: string;
|
|
61
|
+
timeStamp: string;
|
|
62
|
+
type: string;
|
|
63
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { FollowingInfoInputRepresentation as FollowingInfoInputRepresentation_FollowingInfoInputRepresentation } from './FollowingInfoInputRepresentation';
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "4dbcf2a95858fb64733c314aec8b2401";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: ERIDigestInputRepresentation, existing: ERIDigestInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ERIDigestInputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: ERIDigestInputRepresentationNormalized, incoming: ERIDigestInputRepresentationNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: ERIDigestInputRepresentation): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ERIDigestInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* An Input Representation for ERI digest
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface ERIDigestInputRepresentationNormalized {
|
|
19
|
+
/** following input */
|
|
20
|
+
following: FollowingInfoInputRepresentation_FollowingInfoInputRepresentation;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* An Input Representation for ERI digest
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface ERIDigestInputRepresentation {
|
|
29
|
+
following: FollowingInfoInputRepresentation_FollowingInfoInputRepresentation;
|
|
30
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ERIDigestInputRepresentation as ERIDigestInputRepresentation_ERIDigestInputRepresentation } from './ERIDigestInputRepresentation';
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "2960a9bd8b7f9a2434287718b36a3c8f";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: ERIDigestInputRepresentationWrapper, existing: ERIDigestInputRepresentationWrapperNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ERIDigestInputRepresentationWrapperNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: ERIDigestInputRepresentationWrapperNormalized, incoming: ERIDigestInputRepresentationWrapperNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: ERIDigestInputRepresentationWrapper): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ERIDigestInputRepresentationWrapper, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* Wrapper for ERI digest input representation
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface ERIDigestInputRepresentationWrapperNormalized {
|
|
19
|
+
/** ERI Digest input represenation */
|
|
20
|
+
eriDigestInput: ERIDigestInputRepresentation_ERIDigestInputRepresentation;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Wrapper for ERI digest input representation
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface ERIDigestInputRepresentationWrapper {
|
|
29
|
+
eriDigestInput: ERIDigestInputRepresentation_ERIDigestInputRepresentation;
|
|
30
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { FollowingInfo as FollowingInfo_FollowingInfo } from './FollowingInfo';
|
|
2
|
+
import { DigestNotification as DigestNotification_DigestNotification } from './DigestNotification';
|
|
3
|
+
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
4
|
+
export declare const TTL = 1000;
|
|
5
|
+
export declare const VERSION = "954674f4e56dd5b956cf98542401fda9";
|
|
6
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
|
+
export declare const RepresentationType: string;
|
|
8
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
9
|
+
isSuccess: boolean;
|
|
10
|
+
}
|
|
11
|
+
export type ERIDigestOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export type PartialERIDigestOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): ERIDigestOutputRepresentationNormalizedKeyMetadata;
|
|
15
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: ERIDigestOutputRepresentation): string;
|
|
16
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: ERIDigestOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
17
|
+
export declare function normalize(input: ERIDigestOutputRepresentation, existing: ERIDigestOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ERIDigestOutputRepresentationNormalized;
|
|
18
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
19
|
+
export declare function equals(existing: ERIDigestOutputRepresentationNormalized, incoming: ERIDigestOutputRepresentationNormalized): boolean;
|
|
20
|
+
export declare function deepFreeze(input: ERIDigestOutputRepresentation): void;
|
|
21
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
22
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ERIDigestOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
23
|
+
/**
|
|
24
|
+
* Output representation of a ERI Digest
|
|
25
|
+
*
|
|
26
|
+
* Keys:
|
|
27
|
+
* isSuccess (boolean): requestSucceeded
|
|
28
|
+
*/
|
|
29
|
+
export interface ERIDigestOutputRepresentationNormalized {
|
|
30
|
+
/** Error message */
|
|
31
|
+
errorMsg?: string;
|
|
32
|
+
following?: FollowingInfo_FollowingInfo;
|
|
33
|
+
/** Notifications list */
|
|
34
|
+
notifications?: Array<$64$luvio_engine_StoreLink>;
|
|
35
|
+
/** true if request is succeeded else false */
|
|
36
|
+
requestSucceeded: boolean;
|
|
37
|
+
/** Status code */
|
|
38
|
+
statusCode: string;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Output representation of a ERI Digest
|
|
42
|
+
*
|
|
43
|
+
* Keys:
|
|
44
|
+
* isSuccess (boolean): requestSucceeded
|
|
45
|
+
*/
|
|
46
|
+
export interface ERIDigestOutputRepresentation {
|
|
47
|
+
errorMsg?: string;
|
|
48
|
+
following?: FollowingInfo_FollowingInfo;
|
|
49
|
+
notifications?: Array<DigestNotification_DigestNotification>;
|
|
50
|
+
requestSucceeded: boolean;
|
|
51
|
+
statusCode: string;
|
|
52
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "f13216a55726dc792e111571a17425dd";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: FollowingInfo, existing: FollowingInfoNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FollowingInfoNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: FollowingInfoNormalized, incoming: FollowingInfoNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: FollowingInfo): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FollowingInfo, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* following info
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface FollowingInfoNormalized {
|
|
18
|
+
/** List of sObjectTypes used in home page mappings */
|
|
19
|
+
filterTypes: Array<string>;
|
|
20
|
+
/** Page number of the eri digest */
|
|
21
|
+
page: number;
|
|
22
|
+
/** List of RecordIds being followed by the user */
|
|
23
|
+
recordIds: Array<string>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* following info
|
|
27
|
+
*
|
|
28
|
+
* Keys:
|
|
29
|
+
* (none)
|
|
30
|
+
*/
|
|
31
|
+
export interface FollowingInfo {
|
|
32
|
+
filterTypes: Array<string>;
|
|
33
|
+
page: number;
|
|
34
|
+
recordIds: Array<string>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "c19d9858fd94db6848f75214e264451e";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: FollowingInfoInputRepresentation, existing: FollowingInfoInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FollowingInfoInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: FollowingInfoInputRepresentationNormalized, incoming: FollowingInfoInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: FollowingInfoInputRepresentation): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FollowingInfoInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* An Input Representation following object
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface FollowingInfoInputRepresentationNormalized {
|
|
18
|
+
/** true for demo reponse else false */
|
|
19
|
+
demo?: boolean;
|
|
20
|
+
/** List of sObjectTypes used in home page mappings */
|
|
21
|
+
filterTypes?: Array<string>;
|
|
22
|
+
/** true if there any more recordIds to be queried for notifications else false */
|
|
23
|
+
hasNext?: boolean;
|
|
24
|
+
/** Page number of the eri relationship digest list */
|
|
25
|
+
page?: number;
|
|
26
|
+
/** List of RecordIds being followed by the user */
|
|
27
|
+
recordIds?: Array<string>;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* An Input Representation following object
|
|
31
|
+
*
|
|
32
|
+
* Keys:
|
|
33
|
+
* (none)
|
|
34
|
+
*/
|
|
35
|
+
export interface FollowingInfoInputRepresentation {
|
|
36
|
+
demo?: boolean;
|
|
37
|
+
filterTypes?: Array<string>;
|
|
38
|
+
hasNext?: boolean;
|
|
39
|
+
page?: number;
|
|
40
|
+
recordIds?: Array<string>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const ObjectFreeze: {
|
|
3
|
+
<T extends Function>(f: T): T;
|
|
4
|
+
<T_1 extends {
|
|
5
|
+
[idx: string]: object | U | null | undefined;
|
|
6
|
+
}, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
|
|
7
|
+
<T_2>(o: T_2): Readonly<T_2>;
|
|
8
|
+
}, ObjectKeys: {
|
|
9
|
+
(o: object): string[];
|
|
10
|
+
(o: {}): string[];
|
|
11
|
+
}, ObjectCreate: {
|
|
12
|
+
(o: object | null): any;
|
|
13
|
+
(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
14
|
+
}, ObjectAssign: {
|
|
15
|
+
<T extends {}, U>(target: T, source: U): T & U;
|
|
16
|
+
<T_1 extends {}, U_1, V>(target: T_1, source1: U_1, source2: V): T_1 & U_1 & V;
|
|
17
|
+
<T_2 extends {}, U_2, V_1, W>(target: T_2, source1: U_2, source2: V_1, source3: W): T_2 & U_2 & V_1 & W;
|
|
18
|
+
(target: object, ...sources: any[]): any;
|
|
19
|
+
};
|
|
20
|
+
export declare const ArrayIsArray: (arg: any) => arg is any[];
|
|
21
|
+
export declare const JSONStringify: {
|
|
22
|
+
(value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string;
|
|
23
|
+
(value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string;
|
|
24
|
+
};
|
|
25
|
+
type AllowedPrimitives = boolean | string | number | Date | null;
|
|
26
|
+
type Value<T> = T extends AllowedPrimitives ? T : RecursivePartial<T>;
|
|
27
|
+
export type RecursivePartial<T> = null | {
|
|
28
|
+
[P in keyof T]?: T[P] extends Array<infer U> ? Array<Value<U>> | null : Value<T[P]> | null;
|
|
29
|
+
};
|
|
30
|
+
export declare function equalsArray<U, V extends U[]>(a: V, b: V, equalsItem: (itemA: U, itemB: U) => boolean | void): boolean;
|
|
31
|
+
export declare function equalsObject<U, V extends {
|
|
32
|
+
[key: string]: U;
|
|
33
|
+
}>(a: V, b: V, equalsProp: (propA: U, propB: U) => boolean | void): boolean;
|
|
34
|
+
export declare function deepFreeze(value: any): void;
|
|
35
|
+
export declare function createLink(ref: string | $64$luvio_engine_NormalizedKeyMetadata): {
|
|
36
|
+
__ref: string;
|
|
37
|
+
};
|
|
38
|
+
export declare function assignMetadataLink(entry: any, metadataKey: string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
39
|
+
export {};
|
package/package.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@salesforce/lds-adapters-industries-eri",
|
|
3
|
+
"version": "0.131.0",
|
|
4
|
+
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
|
+
"description": "Einstein relationship insights",
|
|
6
|
+
"main": "dist/es/es2018/industries-eri.js",
|
|
7
|
+
"module": "dist/es/es2018/industries-eri.js",
|
|
8
|
+
"types": "dist/es/es2018/types/src/generated/artifacts/main.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"sfdc",
|
|
12
|
+
"src/raml/*"
|
|
13
|
+
],
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"import": "./dist/es/es2018/industries-eri.js",
|
|
17
|
+
"require": "./dist/es/es2018/industries-eri.js",
|
|
18
|
+
"types": "./dist/es/es2018/types/src/generated/artifacts/main.d.ts"
|
|
19
|
+
},
|
|
20
|
+
"./sfdc": {
|
|
21
|
+
"import": "./sfdc/index.js",
|
|
22
|
+
"types": "./sfdc/index.d.ts",
|
|
23
|
+
"default": "./sfdc/index.js"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"sdfc": {
|
|
27
|
+
"namespace": "lightning",
|
|
28
|
+
"module": "industriesEriApi"
|
|
29
|
+
},
|
|
30
|
+
"contributors": [
|
|
31
|
+
"pdevagiri@salesforce.com"
|
|
32
|
+
],
|
|
33
|
+
"scripts": {
|
|
34
|
+
"build": "yarn build:raml && yarn build:services && yarn build:karma",
|
|
35
|
+
"build:karma": "rollup --config rollup.config.karma.js",
|
|
36
|
+
"build:raml": "luvio generate src/raml/luvio.raml src/generated -p '../lds-compiler-plugins'",
|
|
37
|
+
"build:services": "rollup --config rollup.config.js",
|
|
38
|
+
"clean": "rm -rf dist sfdc src/generated karma/dist",
|
|
39
|
+
"release:core": "../../scripts/release/core.js --adapter=lds-adapters-industries-eri",
|
|
40
|
+
"release:corejar": "yarn build && packages/core-build/scripts/core.js --adapter=lds-adapters-industries-eri",
|
|
41
|
+
"start": "karma start",
|
|
42
|
+
"test": "karma start --single-run",
|
|
43
|
+
"test:compat": "karma start --single-run --compat"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"@salesforce/lds-bindings": "1.131.0-244.6"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@salesforce/lds-compiler-plugins": "1.131.0-244.6",
|
|
50
|
+
"@salesforce/lds-karma": "1.131.0-244.6"
|
|
51
|
+
},
|
|
52
|
+
"nx": {
|
|
53
|
+
"targets": {
|
|
54
|
+
"build": {
|
|
55
|
+
"outputs": [
|
|
56
|
+
"packages/lds-adapters-industries-eri/dist",
|
|
57
|
+
"packages/lds-adapters-industries-eri/karma/dist",
|
|
58
|
+
"packages/lds-adapters-industries-eri/sfdc",
|
|
59
|
+
"packages/lds-adapters-industries-eri/src/generated"
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"volta": {
|
|
65
|
+
"extends": "../../package.json"
|
|
66
|
+
}
|
|
67
|
+
}
|
package/sfdc/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/es/es2018/types/src/generated/artifacts/sfdc';
|