@salesforce/lds-adapters-uiapi 1.236.0 → 1.237.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/updateListInfoByName.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/patchUiApiListInfoByListViewApiNameAndObjectApiName.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/patchUiApiListInfoByListViewId.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/types/ListInfoInputRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/ListObjectColumnRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/ListObjectInfoRepresentation.d.ts +5 -1
- package/dist/es/es2018/uiapi-records-service.js +696 -485
- package/package.json +1 -1
- package/sfdc/graphqlAdapters.js +1 -1
- package/sfdc/index.js +677 -466
- package/src/raml/api.raml +12 -6
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
2
|
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ListColumnRepresentation as types_ListColumnRepresentation_ListColumnRepresentation } from '../types/ListColumnRepresentation';
|
|
3
4
|
import { ListFilterByInfoRepresentation as types_ListFilterByInfoRepresentation_ListFilterByInfoRepresentation } from '../types/ListFilterByInfoRepresentation';
|
|
4
5
|
import { ListScopeRepresentation as types_ListScopeRepresentation_ListScopeRepresentation } from '../types/ListScopeRepresentation';
|
|
5
6
|
import { ResourceRequestConfig as resources_patchUiApiListInfoByListViewApiNameAndObjectApiName_ResourceRequestConfig } from '../resources/patchUiApiListInfoByListViewApiNameAndObjectApiName';
|
|
@@ -10,6 +11,7 @@ export declare const updateListInfoByName_ConfigPropertyNames: adapter$45$utils_
|
|
|
10
11
|
export interface UpdateListInfoByNameConfig {
|
|
11
12
|
listViewApiName: string;
|
|
12
13
|
objectApiName: string;
|
|
14
|
+
displayColumns?: Array<types_ListColumnRepresentation_ListColumnRepresentation | null>;
|
|
13
15
|
filterLogicString?: string | null;
|
|
14
16
|
filteredByInfo?: Array<types_ListFilterByInfoRepresentation_ListFilterByInfoRepresentation>;
|
|
15
17
|
label?: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ListColumnRepresentation as types_ListColumnRepresentation_ListColumnRepresentation } from '../types/ListColumnRepresentation';
|
|
1
2
|
import { ListFilterByInfoRepresentation as types_ListFilterByInfoRepresentation_ListFilterByInfoRepresentation } from '../types/ListFilterByInfoRepresentation';
|
|
2
3
|
import { ListScopeRepresentation as types_ListScopeRepresentation_ListScopeRepresentation } from '../types/ListScopeRepresentation';
|
|
3
4
|
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, 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';
|
|
@@ -8,6 +9,7 @@ export interface ResourceRequestConfig {
|
|
|
8
9
|
objectApiName: string;
|
|
9
10
|
};
|
|
10
11
|
body: {
|
|
12
|
+
displayColumns?: Array<types_ListColumnRepresentation_ListColumnRepresentation | null>;
|
|
11
13
|
filterLogicString?: string | null;
|
|
12
14
|
filteredByInfo?: Array<types_ListFilterByInfoRepresentation_ListFilterByInfoRepresentation>;
|
|
13
15
|
label?: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ListColumnRepresentation as types_ListColumnRepresentation_ListColumnRepresentation } from '../types/ListColumnRepresentation';
|
|
1
2
|
import { ListFilterByInfoRepresentation as types_ListFilterByInfoRepresentation_ListFilterByInfoRepresentation } from '../types/ListFilterByInfoRepresentation';
|
|
2
3
|
import { ListScopeRepresentation as types_ListScopeRepresentation_ListScopeRepresentation } from '../types/ListScopeRepresentation';
|
|
3
4
|
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, 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';
|
|
@@ -7,6 +8,7 @@ export interface ResourceRequestConfig {
|
|
|
7
8
|
listViewId: string;
|
|
8
9
|
};
|
|
9
10
|
body: {
|
|
11
|
+
displayColumns?: Array<types_ListColumnRepresentation_ListColumnRepresentation | null>;
|
|
10
12
|
filterLogicString?: string | null;
|
|
11
13
|
filteredByInfo?: Array<types_ListFilterByInfoRepresentation_ListFilterByInfoRepresentation>;
|
|
12
14
|
label?: string;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { ListColumnRepresentation as ListColumnRepresentation_ListColumnRepresentation } from './ListColumnRepresentation';
|
|
1
2
|
import { ListFilterByInfoRepresentation as ListFilterByInfoRepresentation_ListFilterByInfoRepresentation } from './ListFilterByInfoRepresentation';
|
|
2
3
|
import { ListScopeRepresentation as ListScopeRepresentation_ListScopeRepresentation } from './ListScopeRepresentation';
|
|
3
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';
|
|
4
|
-
export declare const VERSION = "
|
|
5
|
+
export declare const VERSION = "c67a4e786ae4a8428c5fd33c9fba5b57";
|
|
5
6
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
7
|
export declare const RepresentationType: string;
|
|
7
8
|
export declare function normalize(input: ListInfoInputRepresentation, existing: ListInfoInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ListInfoInputRepresentationNormalized;
|
|
@@ -16,6 +17,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
16
17
|
* (none)
|
|
17
18
|
*/
|
|
18
19
|
export interface ListInfoInputRepresentationNormalized {
|
|
20
|
+
/** Input representation for display columns (field API names). */
|
|
21
|
+
displayColumns?: Array<ListColumnRepresentation_ListColumnRepresentation | null>;
|
|
19
22
|
/** Input representation for filterLogicString. */
|
|
20
23
|
filterLogicString?: string | null;
|
|
21
24
|
/** Describes how the list view is filtered. */
|
|
@@ -34,6 +37,7 @@ export interface ListInfoInputRepresentationNormalized {
|
|
|
34
37
|
* (none)
|
|
35
38
|
*/
|
|
36
39
|
export interface ListInfoInputRepresentation {
|
|
40
|
+
displayColumns?: Array<ListColumnRepresentation_ListColumnRepresentation | null>;
|
|
37
41
|
filterLogicString?: string | null;
|
|
38
42
|
filteredByInfo?: Array<ListFilterByInfoRepresentation_ListFilterByInfoRepresentation>;
|
|
39
43
|
label?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ListObjectPicklistValueRepresentation as ListObjectPicklistValueRepresentation_ListObjectPicklistValueRepresentation } from './ListObjectPicklistValueRepresentation';
|
|
2
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 = "
|
|
3
|
+
export declare const VERSION = "2c35f797fead79b5c45b521e77dd6ace";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: ListObjectColumnRepresentation, existing: ListObjectColumnRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ListObjectColumnRepresentationNormalized;
|
|
@@ -18,7 +18,7 @@ export interface ListObjectColumnRepresentationNormalized {
|
|
|
18
18
|
/** The alias for this column. */
|
|
19
19
|
alias: string;
|
|
20
20
|
/** The data type for this column. */
|
|
21
|
-
dataType: string;
|
|
21
|
+
dataType: string | null;
|
|
22
22
|
/** The default filter operator for this column. */
|
|
23
23
|
defaultFilterOperator: string;
|
|
24
24
|
/** Whether or not this column is displayable. */
|
|
@@ -44,7 +44,7 @@ export interface ListObjectColumnRepresentationNormalized {
|
|
|
44
44
|
*/
|
|
45
45
|
export interface ListObjectColumnRepresentation {
|
|
46
46
|
alias: string;
|
|
47
|
-
dataType: string;
|
|
47
|
+
dataType: string | null;
|
|
48
48
|
defaultFilterOperator: string;
|
|
49
49
|
displayable: boolean;
|
|
50
50
|
fieldApiName: string;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { ListObjectScopeRepresentation as ListObjectScopeRepresentation_ListObjectScopeRepresentation } from './ListObjectScopeRepresentation';
|
|
1
2
|
import { ListObjectColumnRepresentation as ListObjectColumnRepresentation_ListObjectColumnRepresentation } from './ListObjectColumnRepresentation';
|
|
2
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, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
4
|
export declare const TTL = 900000;
|
|
4
|
-
export declare const VERSION = "
|
|
5
|
+
export declare const VERSION = "84e1e3ffdfcb59f65d7b8906e33027ac";
|
|
5
6
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
7
|
export declare const RepresentationType: string;
|
|
7
8
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -25,6 +26,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
25
26
|
* objectApiName (string): objectApiName
|
|
26
27
|
*/
|
|
27
28
|
export interface ListObjectInfoRepresentationNormalized {
|
|
29
|
+
/** Information about all available scopes for the given entity. */
|
|
30
|
+
availableScopes: Array<ListObjectScopeRepresentation_ListObjectScopeRepresentation>;
|
|
28
31
|
/** Information about all available columns for the given entity. */
|
|
29
32
|
columns: Array<ListObjectColumnRepresentation_ListObjectColumnRepresentation>;
|
|
30
33
|
/** Indicates whether a new listview for this listview's SObject can be created. */
|
|
@@ -41,6 +44,7 @@ export interface ListObjectInfoRepresentationNormalized {
|
|
|
41
44
|
* objectApiName (string): objectApiName
|
|
42
45
|
*/
|
|
43
46
|
export interface ListObjectInfoRepresentation {
|
|
47
|
+
availableScopes: Array<ListObjectScopeRepresentation_ListObjectScopeRepresentation>;
|
|
44
48
|
columns: Array<ListObjectColumnRepresentation_ListObjectColumnRepresentation>;
|
|
45
49
|
createable: boolean;
|
|
46
50
|
objectApiName: string;
|