@salesforce/lds-adapters-uiapi 1.311.0 → 1.312.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/types/src/generated/adapters/getActionOverrides.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/adapters/getSearchFilterMetadata.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsOverridesByObjectApiName.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/resources/getUiApiSearchInfoFiltersByObjectApiName.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/ListInfoRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/PicklistValuesCollectionRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/RecordAvatarBulkMapRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/SearchAnswersResultRepresentation.d.ts +5 -5
- package/dist/es/es2018/types/src/generated/types/SearchFilterMetadataCollectionRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SearchIntentActionRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/SearchIntentComponentRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/SearchIntentOutputRepresentation.d.ts +29 -0
- package/dist/es/es2018/uiapi-records-service.js +166 -93
- package/package.json +6 -6
- package/sfdc/graphqlAdapters.js +3 -3
- package/sfdc/index.js +166 -93
- package/sfdc/uiapi-static-functions.js +1 -1
- package/src/raml/api.raml +195 -77
- package/src/raml/luvio.raml +5 -3
|
@@ -7,8 +7,8 @@ export declare const getActionOverrides_ConfigPropertyMetadata: $64$luvio_engine
|
|
|
7
7
|
export declare const getActionOverrides_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
8
|
export interface GetActionOverridesConfig {
|
|
9
9
|
objectApiName: string;
|
|
10
|
-
type?: string;
|
|
11
10
|
defaultTemplateOnly?: boolean;
|
|
11
|
+
type?: string;
|
|
12
12
|
}
|
|
13
13
|
export declare const createResourceParams: (config: GetActionOverridesConfig) => resources_getUiApiActionsOverridesByObjectApiName_ResourceRequestConfig;
|
|
14
14
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetActionOverridesConfig): string;
|
|
@@ -8,6 +8,7 @@ export declare const getSearchFilterMetadata_ConfigPropertyNames: adapter$45$uti
|
|
|
8
8
|
export interface GetSearchFilterMetadataConfig {
|
|
9
9
|
objectApiName: string;
|
|
10
10
|
channel?: string;
|
|
11
|
+
configurationName?: string;
|
|
11
12
|
}
|
|
12
13
|
export declare const createResourceParams: (config: GetSearchFilterMetadataConfig) => resources_getUiApiSearchInfoFiltersByObjectApiName_ResourceRequestConfig;
|
|
13
14
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetSearchFilterMetadataConfig): string;
|
package/dist/es/es2018/types/src/generated/resources/getUiApiActionsOverridesByObjectApiName.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ export interface ResourceRequestConfig {
|
|
|
5
5
|
objectApiName: string;
|
|
6
6
|
};
|
|
7
7
|
queryParams: {
|
|
8
|
-
type?: string;
|
|
9
8
|
defaultTemplateOnly?: boolean;
|
|
9
|
+
type?: string;
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
12
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -59,7 +59,7 @@ export interface ListInfoRepresentationNormalized {
|
|
|
59
59
|
filterLogicString: string | null;
|
|
60
60
|
/** Describes how the list view is filtered. */
|
|
61
61
|
filteredByInfo: Array<ListFilterByInfoRepresentation_ListFilterByInfoRepresentation>;
|
|
62
|
-
/**
|
|
62
|
+
/** Indicates whether this listview has mass actions. */
|
|
63
63
|
hasMassActions?: boolean;
|
|
64
64
|
inlineEditDetails: ListInlineEditDetailsRepresentation_ListInlineEditDetailsRepresentation;
|
|
65
65
|
/** The list view's display label. E.g. "All Accounts". */
|
package/dist/es/es2018/types/src/generated/types/PicklistValuesCollectionRepresentation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, PathSelection as $64$luvio_engine_PathSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
2
|
import { PicklistValuesRepresentation as PicklistValuesRepresentation_PicklistValuesRepresentation } from './PicklistValuesRepresentation';
|
|
3
|
-
export declare const TTL =
|
|
3
|
+
export declare const TTL = 900000;
|
|
4
4
|
export declare const VERSION = "ec03b0f6da287c949d1ccaa904ddbfd3";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
@@ -2,7 +2,7 @@ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Lu
|
|
|
2
2
|
import { RecordAvatarBatchRepresentation as RecordAvatarBatchRepresentation_RecordAvatarBatchRepresentation } from './RecordAvatarBatchRepresentation';
|
|
3
3
|
import { ErrorBadRequestRecordAvatarBatchRepresentation as ErrorBadRequestRecordAvatarBatchRepresentation_ErrorBadRequestRecordAvatarBatchRepresentation } from './ErrorBadRequestRecordAvatarBatchRepresentation';
|
|
4
4
|
import { ErrorRecordAvatarBatchRepresentation as ErrorRecordAvatarBatchRepresentation_ErrorRecordAvatarBatchRepresentation } from './ErrorRecordAvatarBatchRepresentation';
|
|
5
|
-
export declare const TTL =
|
|
5
|
+
export declare const TTL = 3600000;
|
|
6
6
|
export declare const VERSION = "c44c049fa6ad7cf7e932c0aab9107d86";
|
|
7
7
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
8
8
|
export declare const RepresentationType: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AppliedSearchFilterOutputRepresentation as AppliedSearchFilterOutputRepresentation_AppliedSearchFilterOutputRepresentation } from './AppliedSearchFilterOutputRepresentation';
|
|
2
2
|
import { SearchAnswersRecordRepresentation as SearchAnswersRecordRepresentation_SearchAnswersRecordRepresentation } from './SearchAnswersRecordRepresentation';
|
|
3
3
|
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';
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "8894731489be1e9c139c15a0b434ef75";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
export declare function normalize(input: SearchAnswersResultRepresentation, existing: SearchAnswersResultRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchAnswersResultRepresentationNormalized;
|
|
@@ -17,11 +17,11 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
17
17
|
*/
|
|
18
18
|
export interface SearchAnswersResultRepresentationNormalized {
|
|
19
19
|
/** The type of search answer */
|
|
20
|
-
answerType: string;
|
|
20
|
+
answerType: string | null;
|
|
21
21
|
/** The list of applied filters. */
|
|
22
22
|
appliedFilters: Array<AppliedSearchFilterOutputRepresentation_AppliedSearchFilterOutputRepresentation>;
|
|
23
23
|
/** The record’s snippet which includes the answer */
|
|
24
|
-
passage: string;
|
|
24
|
+
passage: string | null;
|
|
25
25
|
/** The list of records for search answer */
|
|
26
26
|
records: Array<SearchAnswersRecordRepresentation_SearchAnswersRecordRepresentation>;
|
|
27
27
|
}
|
|
@@ -32,8 +32,8 @@ export interface SearchAnswersResultRepresentationNormalized {
|
|
|
32
32
|
* (none)
|
|
33
33
|
*/
|
|
34
34
|
export interface SearchAnswersResultRepresentation {
|
|
35
|
-
answerType: string;
|
|
35
|
+
answerType: string | null;
|
|
36
36
|
appliedFilters: Array<AppliedSearchFilterOutputRepresentation_AppliedSearchFilterOutputRepresentation>;
|
|
37
|
-
passage: string;
|
|
37
|
+
passage: string | null;
|
|
38
38
|
records: Array<SearchAnswersRecordRepresentation_SearchAnswersRecordRepresentation>;
|
|
39
39
|
}
|
package/dist/es/es2018/types/src/generated/types/SearchFilterMetadataCollectionRepresentation.d.ts
CHANGED
|
@@ -3,12 +3,13 @@ import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $
|
|
|
3
3
|
import { SearchFieldFilterDefinitionRepresentation as SearchFieldFilterDefinitionRepresentation_SearchFieldFilterDefinitionRepresentation } from './SearchFieldFilterDefinitionRepresentation';
|
|
4
4
|
import { SearchDataCategoryFilterDefinitionRepresentation as SearchDataCategoryFilterDefinitionRepresentation_SearchDataCategoryFilterDefinitionRepresentation } from './SearchDataCategoryFilterDefinitionRepresentation';
|
|
5
5
|
export declare const TTL = 30000;
|
|
6
|
-
export declare const VERSION = "
|
|
6
|
+
export declare const VERSION = "46ebae6041d5914e45bd2ccc6cb89271";
|
|
7
7
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
8
8
|
export declare const RepresentationType: string;
|
|
9
9
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
10
10
|
objectApiName: string;
|
|
11
11
|
channel: string | null;
|
|
12
|
+
configurationName: string | null;
|
|
12
13
|
}
|
|
13
14
|
export type SearchFilterMetadataCollectionRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
15
|
export type PartialSearchFilterMetadataCollectionRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
@@ -27,10 +28,13 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
27
28
|
* Keys:
|
|
28
29
|
* objectApiName (string): objectApiName
|
|
29
30
|
* channel (string | null): channel
|
|
31
|
+
* configurationName (string | null): configurationName
|
|
30
32
|
*/
|
|
31
33
|
export interface SearchFilterMetadataCollectionRepresentationNormalized {
|
|
32
34
|
/** Additional channel associated to the object. */
|
|
33
35
|
channel: string | null;
|
|
36
|
+
/** Applied configuration associated to the metadata. */
|
|
37
|
+
configurationName: string | null;
|
|
34
38
|
/** List of filter definitions. */
|
|
35
39
|
filters: Array<SearchFilterDefinitionRepresentation_SearchFilterDefinitionRepresentation>;
|
|
36
40
|
/** Api name of the object associated to the metadata. */
|
|
@@ -42,9 +46,11 @@ export interface SearchFilterMetadataCollectionRepresentationNormalized {
|
|
|
42
46
|
* Keys:
|
|
43
47
|
* objectApiName (string): objectApiName
|
|
44
48
|
* channel (string | null): channel
|
|
49
|
+
* configurationName (string | null): configurationName
|
|
45
50
|
*/
|
|
46
51
|
export interface SearchFilterMetadataCollectionRepresentation {
|
|
47
52
|
channel: string | null;
|
|
53
|
+
configurationName: string | null;
|
|
48
54
|
filters: Array<SearchFieldFilterDefinitionRepresentation_SearchFieldFilterDefinitionRepresentation | SearchDataCategoryFilterDefinitionRepresentation_SearchDataCategoryFilterDefinitionRepresentation>;
|
|
49
55
|
objectApiName: string;
|
|
50
56
|
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { SearchIntentComponentRepresentation as SearchIntentComponentRepresentation_SearchIntentComponentRepresentation } from './SearchIntentComponentRepresentation';
|
|
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 = "13710f67026b501cb15ce28080fd1c33";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: SearchIntentActionRepresentation, existing: SearchIntentActionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchIntentActionRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: SearchIntentActionRepresentationNormalized, incoming: SearchIntentActionRepresentationNormalized): 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: SearchIntentActionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Description for dataProvider and display components for the query
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface SearchIntentActionRepresentationNormalized {
|
|
18
|
+
dataProviderCmp: SearchIntentComponentRepresentation_SearchIntentComponentRepresentation;
|
|
19
|
+
/** A mapping of the type of search result (KW, NLS, SA, DA) to the display component to render */
|
|
20
|
+
displayCmps: {
|
|
21
|
+
[key: string]: SearchIntentComponentRepresentation_SearchIntentComponentRepresentation;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Description for dataProvider and display components for the query
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface SearchIntentActionRepresentation {
|
|
31
|
+
dataProviderCmp: SearchIntentComponentRepresentation_SearchIntentComponentRepresentation;
|
|
32
|
+
displayCmps: {
|
|
33
|
+
[key: string]: SearchIntentComponentRepresentation_SearchIntentComponentRepresentation;
|
|
34
|
+
};
|
|
35
|
+
}
|
|
@@ -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, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "84cf92b38fbd105ea75de242d60806cd";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SearchIntentComponentRepresentation, existing: SearchIntentComponentRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchIntentComponentRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SearchIntentComponentRepresentationNormalized, incoming: SearchIntentComponentRepresentationNormalized): 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: SearchIntentComponentRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Component to instantiate for a search intent call
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SearchIntentComponentRepresentationNormalized {
|
|
17
|
+
/** Public attributes of the component */
|
|
18
|
+
attrs: {
|
|
19
|
+
[key: string]: {};
|
|
20
|
+
};
|
|
21
|
+
/** Name of the component */
|
|
22
|
+
cmp: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Component to instantiate for a search intent call
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface SearchIntentComponentRepresentation {
|
|
31
|
+
attrs: {
|
|
32
|
+
[key: string]: {};
|
|
33
|
+
};
|
|
34
|
+
cmp: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { SearchIntentActionRepresentation as SearchIntentActionRepresentation_SearchIntentActionRepresentation } from './SearchIntentActionRepresentation';
|
|
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 = "fee0987df4042b7422aba3a08ba75b4f";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: SearchIntentOutputRepresentation, existing: SearchIntentOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchIntentOutputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: SearchIntentOutputRepresentationNormalized, incoming: SearchIntentOutputRepresentationNormalized): 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: SearchIntentOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Actions to take next for a search query based on intent
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface SearchIntentOutputRepresentationNormalized {
|
|
18
|
+
/** The list of actions to take for a search query based on intent */
|
|
19
|
+
actions: Array<SearchIntentActionRepresentation_SearchIntentActionRepresentation>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Actions to take next for a search query based on intent
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* (none)
|
|
26
|
+
*/
|
|
27
|
+
export interface SearchIntentOutputRepresentation {
|
|
28
|
+
actions: Array<SearchIntentActionRepresentation_SearchIntentActionRepresentation>;
|
|
29
|
+
}
|