@salesforce/lds-adapters-uiapi 1.281.0 → 1.282.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.
Files changed (17) hide show
  1. package/dist/es/es2018/types/src/generated/adapters/getListRecordsByName.d.ts +6 -5
  2. package/dist/es/es2018/types/src/generated/resources/getUiApiListRecordsByListViewId.d.ts +1 -0
  3. package/dist/es/es2018/types/src/generated/resources/{getUiApiListRecordsByListViewApiNameAndObjectApiName.d.ts → postUiApiListRecordsByListViewApiNameAndObjectApiName.d.ts} +2 -1
  4. package/dist/es/es2018/types/src/generated/types/AppRepresentation.d.ts +3 -3
  5. package/dist/es/es2018/types/src/generated/types/ListRecordCollectionRepresentation.d.ts +4 -1
  6. package/dist/es/es2018/types/src/generated/types/ListRecordsInputRepresentation.d.ts +46 -0
  7. package/dist/es/es2018/types/src/generated/uiapi/record-collection/resources/postUiApiListRecordsByListViewApiNameAndObjectApiName.d.ts +5 -0
  8. package/dist/es/es2018/types/src/raml-artifacts/adapters/getListRecordsByName/onFetchResponseSuccess.d.ts +1 -1
  9. package/dist/es/es2018/types/src/raml-artifacts/resources/{getUiApiListRecordsByListViewApiNameAndObjectApiName → postUiApiListRecordsByListViewApiNameAndObjectApiName}/keyBuilder.d.ts +1 -1
  10. package/dist/es/es2018/uiapi-records-service.js +72 -35
  11. package/package.json +6 -6
  12. package/sfdc/graphqlAdapters.js +1 -1
  13. package/sfdc/index.js +74 -37
  14. package/sfdc/uiapi-static-functions.js +1 -1
  15. package/src/raml/api.raml +55 -32
  16. package/src/raml/luvio.raml +24 -5
  17. package/dist/es/es2018/types/src/generated/uiapi/record-collection/resources/getUiApiListRecordsByListViewApiNameAndObjectApiName.d.ts +0 -5
@@ -1,6 +1,6 @@
1
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, UnfulfilledSnapshot as $64$luvio_engine_UnfulfilledSnapshot, 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
2
  import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
3
- import { ResourceRequestConfig as resources_getUiApiListRecordsByListViewApiNameAndObjectApiName_ResourceRequestConfig, createResourceRequest as resources_getUiApiListRecordsByListViewApiNameAndObjectApiName_createResourceRequest } from '../resources/getUiApiListRecordsByListViewApiNameAndObjectApiName';
3
+ import { ResourceRequestConfig as resources_postUiApiListRecordsByListViewApiNameAndObjectApiName_ResourceRequestConfig, createResourceRequest as resources_postUiApiListRecordsByListViewApiNameAndObjectApiName_createResourceRequest } from '../resources/postUiApiListRecordsByListViewApiNameAndObjectApiName';
4
4
  import { ListRecordCollectionRepresentation as types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation } from '../types/ListRecordCollectionRepresentation';
5
5
  export declare const adapterName = "getListRecordsByName";
6
6
  export declare const getListRecordsByName_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
@@ -14,17 +14,18 @@ export interface GetListRecordsByNameConfig {
14
14
  pageToken?: string;
15
15
  searchTerm?: string;
16
16
  sortBy?: Array<string>;
17
+ where?: string;
17
18
  }
18
- export declare const createResourceParams: (config: GetListRecordsByNameConfig) => resources_getUiApiListRecordsByListViewApiNameAndObjectApiName_ResourceRequestConfig;
19
+ export declare const createResourceParams: (config: GetListRecordsByNameConfig) => resources_postUiApiListRecordsByListViewApiNameAndObjectApiName_ResourceRequestConfig;
19
20
  export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetListRecordsByNameConfig): string;
20
21
  export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetListRecordsByNameConfig): $64$luvio_engine_NormalizedKeyMetadata;
21
22
  export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetListRecordsByNameConfig>): adapter$45$utils_Untrusted<GetListRecordsByNameConfig>;
22
23
  export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetListRecordsByNameConfig | null;
23
24
  export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetListRecordsByNameConfig): $64$luvio_engine_Fragment;
24
25
  export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetListRecordsByNameConfig): $64$luvio_engine_Snapshot<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation, any>;
25
- export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetListRecordsByNameConfig, resourceParams: resources_getUiApiListRecordsByListViewApiNameAndObjectApiName_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation, any>>;
26
- export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetListRecordsByNameConfig, resourceParams: resources_getUiApiListRecordsByListViewApiNameAndObjectApiName_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
27
- export declare function prepareRequest(luvio: $64$luvio_engine_Luvio, config: GetListRecordsByNameConfig, resourceParams: resources_getUiApiListRecordsByListViewApiNameAndObjectApiName_ResourceRequestConfig, cacheSnapshot?: $64$luvio_engine_UnfulfilledSnapshot<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation>): ReturnType<typeof resources_getUiApiListRecordsByListViewApiNameAndObjectApiName_createResourceRequest>;
26
+ export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetListRecordsByNameConfig, resourceParams: resources_postUiApiListRecordsByListViewApiNameAndObjectApiName_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation, any>>;
27
+ export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetListRecordsByNameConfig, resourceParams: resources_postUiApiListRecordsByListViewApiNameAndObjectApiName_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
28
+ export declare function prepareRequest(luvio: $64$luvio_engine_Luvio, config: GetListRecordsByNameConfig, resourceParams: resources_postUiApiListRecordsByListViewApiNameAndObjectApiName_ResourceRequestConfig, cacheSnapshot?: $64$luvio_engine_UnfulfilledSnapshot<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation>): ReturnType<typeof resources_postUiApiListRecordsByListViewApiNameAndObjectApiName_createResourceRequest>;
28
29
  export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetListRecordsByNameConfig, options?: $64$luvio_engine_DispatchResourceRequestContext, cacheSnapshot?: $64$luvio_engine_UnfulfilledSnapshot<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation>): Promise<$64$luvio_engine_Snapshot<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation, any>>;
29
30
  export type BuildSnapshotContext = {
30
31
  luvio: $64$luvio_engine_Luvio;
@@ -10,6 +10,7 @@ export interface ResourceRequestConfig {
10
10
  pageSize?: number;
11
11
  pageToken?: string;
12
12
  searchTerm?: string;
13
+ where?: string;
13
14
  sortBy?: Array<string>;
14
15
  };
15
16
  }
@@ -6,13 +6,14 @@ export interface ResourceRequestConfig {
6
6
  listViewApiName: string;
7
7
  objectApiName: string;
8
8
  };
9
- queryParams: {
9
+ body: {
10
10
  fields?: Array<string>;
11
11
  optionalFields?: Array<string>;
12
12
  pageSize?: number;
13
13
  pageToken?: string;
14
14
  searchTerm?: string;
15
15
  sortBy?: Array<string>;
16
+ where?: string;
16
17
  };
17
18
  }
18
19
  export declare function createPaginationParams(params: ResourceRequestConfig): pagination_cursor_PaginationParams;
@@ -1,7 +1,7 @@
1
1
  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, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
2
  import { NavItemRepresentation as NavItemRepresentation_NavItemRepresentation } from './NavItemRepresentation';
3
3
  export declare const TTL = 300000;
4
- export declare const VERSION = "1781f2d3d4e413cf0c681774d82d02cd";
4
+ export declare const VERSION = "b33c534240965bedfcf073228d48b940";
5
5
  export declare function validate(obj: any, path?: string): TypeError | null;
6
6
  export declare const RepresentationType: string;
7
7
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -47,7 +47,7 @@ export interface AppRepresentationNormalized {
47
47
  /** Device form factors in which this app is supported */
48
48
  formFactors: Array<string>;
49
49
  /** Primary color selected by admin for this app. Ex: #0070D2 */
50
- headerColor: string;
50
+ headerColor: string | null;
51
51
  /** Icon URL of the App */
52
52
  iconUrl: string | null;
53
53
  /** Nav automatically create temporary tabs setting */
@@ -85,7 +85,7 @@ export interface AppRepresentation {
85
85
  developerName: string;
86
86
  eTag: string;
87
87
  formFactors: Array<string>;
88
- headerColor: string;
88
+ headerColor: string | null;
89
89
  iconUrl: string | null;
90
90
  isNavAutoTempTabsDisabled: boolean;
91
91
  isNavPersonalizationDisabled: boolean;
@@ -3,7 +3,7 @@ import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $
3
3
  import { PaginationParams as pagination_cursor_PaginationParams, PaginationMetadata as pagination_cursor_PaginationMetadata, PageMetadata as pagination_cursor_PageMetadata } from '../pagination/cursor';
4
4
  import { RecordRepresentation as RecordRepresentation_RecordRepresentation } from './RecordRepresentation';
5
5
  export declare const TTL = 30000;
6
- export declare const VERSION = "88d8362577eaa3dae0820deeea3b7ae4";
6
+ export declare const VERSION = "e635ab62cb633d32aeeb183e568bb2c7";
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 {
@@ -11,6 +11,7 @@ export interface KeyParams extends $64$luvio_engine_KeyMetadata {
11
11
  searchTerm: string | null;
12
12
  sortBy: Array<string> | null;
13
13
  listViewId: string | null;
14
+ where: string | null;
14
15
  listViewApiName: string | null;
15
16
  }
16
17
  export type ListRecordCollectionRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
@@ -44,6 +45,7 @@ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$lu
44
45
  * searchTerm (string | null): searchTerm
45
46
  * sortBy (Array<string> | null): sortBy
46
47
  * listViewId (string | null): listInfoETag
48
+ * where (string | null): where
47
49
  * listViewApiName (string | null): listReference.listViewApiName
48
50
  */
49
51
  export interface ListRecordCollectionRepresentationNormalized {
@@ -87,6 +89,7 @@ export interface ListRecordCollectionRepresentationNormalized {
87
89
  * searchTerm (string | null): searchTerm
88
90
  * sortBy (Array<string> | null): sortBy
89
91
  * listViewId (string | null): listInfoETag
92
+ * where (string | null): where
90
93
  * listViewApiName (string | null): listReference.listViewApiName
91
94
  */
92
95
  export interface ListRecordCollectionRepresentation {
@@ -0,0 +1,46 @@
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 = "7bb6df0a9e0660031aad5e918118afbc";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: ListRecordsInputRepresentation, existing: ListRecordsInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ListRecordsInputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: ListRecordsInputRepresentationNormalized, incoming: ListRecordsInputRepresentationNormalized): 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: ListRecordsInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Query (using POST) for records in a list.
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface ListRecordsInputRepresentationNormalized {
17
+ /** Additional fields queried for the records returned. If the field is not available to the user, an error occurs. */
18
+ fields?: Array<string>;
19
+ /** Additional fields queried for the records returned. If the field is not available to the user, no error occurs and the field isn’t included in the records. */
20
+ optionalFields?: Array<string>;
21
+ /** The number of list records viewed at one time. The default value is 50. Value can be 1–2000. */
22
+ pageSize?: number;
23
+ /** A token from a previous query that indicates the record where this query should begin. */
24
+ pageToken?: string;
25
+ /** Search within the list view records. */
26
+ searchTerm?: string;
27
+ /** The API name of the field the list view is sorted by. If the name is preceded with -, the sort order is descending. */
28
+ sortBy?: Array<string>;
29
+ /** Filter the records returned. The value is in GraphQL syntax. */
30
+ where?: string;
31
+ }
32
+ /**
33
+ * Query (using POST) for records in a list.
34
+ *
35
+ * Keys:
36
+ * (none)
37
+ */
38
+ export interface ListRecordsInputRepresentation {
39
+ fields?: Array<string>;
40
+ optionalFields?: Array<string>;
41
+ pageSize?: number;
42
+ pageToken?: string;
43
+ searchTerm?: string;
44
+ sortBy?: Array<string>;
45
+ where?: string;
46
+ }
@@ -0,0 +1,5 @@
1
+ import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, 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 } from '@luvio/engine';
2
+ import { ResourceRequestConfig as resources_postUiApiListRecordsByListViewApiNameAndObjectApiName_ResourceRequestConfig } from '../../../resources/postUiApiListRecordsByListViewApiNameAndObjectApiName';
3
+ import { ListRecordCollectionRepresentation as types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation } from '../../../types/ListRecordCollectionRepresentation';
4
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: resources_postUiApiListRecordsByListViewApiNameAndObjectApiName_ResourceRequestConfig): $64$luvio_engine_Fragment;
5
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: resources_postUiApiListRecordsByListViewApiNameAndObjectApiName_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation, any>;
@@ -1,6 +1,6 @@
1
1
  import type { Luvio, FetchResponse, AdapterContext } from '@luvio/engine';
2
2
  import type { GetListRecordsByNameConfig } from '../../../generated/adapters/getListRecordsByName';
3
- import type { ResourceRequestConfig } from '../../../generated/resources/getUiApiListRecordsByListViewApiNameAndObjectApiName';
3
+ import type { ResourceRequestConfig } from '../../../generated/resources/postUiApiListRecordsByListViewApiNameAndObjectApiName';
4
4
  import type { ListRecordCollectionRepresentation } from '../../../generated/types/ListRecordCollectionRepresentation';
5
5
  export declare function setContext(adapterContext: AdapterContext): void;
6
6
  export declare function onFetchResponseSuccess(luvio: Luvio, config: GetListRecordsByNameConfig, resourceParams: ResourceRequestConfig, response: FetchResponse<ListRecordCollectionRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<ListRecordCollectionRepresentation, {}> | import("@luvio/engine").StaleSnapshot<ListRecordCollectionRepresentation, {}> | import("@luvio/engine").PendingSnapshot<ListRecordCollectionRepresentation, any>>;
@@ -1,4 +1,4 @@
1
1
  import type { AdapterContext, Luvio } from '@luvio/engine';
2
- import type { ResourceRequestConfig } from '../../../generated/resources/getUiApiListRecordsByListViewApiNameAndObjectApiName';
2
+ import type { ResourceRequestConfig } from '../../../generated/resources/postUiApiListRecordsByListViewApiNameAndObjectApiName';
3
3
  export declare function setContext(adapterContext: AdapterContext): void;
4
4
  export declare function keyBuilder(luvio: Luvio, params: ResourceRequestConfig): string;
@@ -6545,7 +6545,7 @@ function revertPaginationOptimization(variables) {
6545
6545
  }
6546
6546
 
6547
6547
  const TTL$C = 30000;
6548
- const VERSION$2m = "88d8362577eaa3dae0820deeea3b7ae4";
6548
+ const VERSION$2m = "e635ab62cb633d32aeeb183e568bb2c7";
6549
6549
  function validate$1S(obj, path = 'ListRecordCollectionRepresentation') {
6550
6550
  const v_error = (() => {
6551
6551
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -6835,7 +6835,7 @@ function validate$1S(obj, path = 'ListRecordCollectionRepresentation') {
6835
6835
  }
6836
6836
  const RepresentationType$Y = 'ListRecordCollectionRepresentation';
6837
6837
  function keyBuilder$3k(luvio, config) {
6838
- return keyPrefix + '::' + RepresentationType$Y + ':' + config.objectApiName + ':' + (config.searchTerm === null ? '' : config.searchTerm) + ':' + (config.sortBy === null ? '' : '[' + config.sortBy.join(',') + ']') + ':' + (config.listViewId === null ? '' : config.listViewId) + ':' + (config.listViewApiName === null ? '' : config.listViewApiName);
6838
+ return keyPrefix + '::' + RepresentationType$Y + ':' + config.objectApiName + ':' + (config.searchTerm === null ? '' : config.searchTerm) + ':' + (config.sortBy === null ? '' : '[' + config.sortBy.join(',') + ']') + ':' + (config.listViewId === null ? '' : config.listViewId) + ':' + (config.where === null ? '' : config.where) + ':' + (config.listViewApiName === null ? '' : config.listViewApiName);
6839
6839
  }
6840
6840
  function keyBuilderFromType$B(luvio, object) {
6841
6841
  const keyParams = {
@@ -6843,6 +6843,7 @@ function keyBuilderFromType$B(luvio, object) {
6843
6843
  searchTerm: object.searchTerm,
6844
6844
  sortBy: object.sortBy,
6845
6845
  listViewId: object.listInfoETag,
6846
+ where: object.where,
6846
6847
  listViewApiName: object.listReference.listViewApiName
6847
6848
  };
6848
6849
  return keyBuilder$3k(luvio, keyParams);
@@ -7277,7 +7278,7 @@ function getTypeCacheKeys$21(rootKeySet, luvio, input, fullPathFactory) {
7277
7278
  const notifyUpdateAvailableFactory$4 = (luvio) => {
7278
7279
  return function notifyListRecordCollectionUpdateAvailable(configs) {
7279
7280
  if (process.env.NODE_ENV !== 'production') {
7280
- const requiredKeyParams = ['objectApiName', 'searchTerm', 'sortBy', 'listViewId', 'listViewApiName'];
7281
+ const requiredKeyParams = ['objectApiName', 'searchTerm', 'sortBy', 'listViewId', 'where', 'listViewApiName'];
7281
7282
  configs.forEach(config => {
7282
7283
  if (false === requiredKeyParams.every(req => req in config)) {
7283
7284
  throw new Error(`one of the configs did not contain all required parameters: ${JSONStringify(ObjectKeys(config))}`);
@@ -8573,6 +8574,7 @@ function listFields(luvio, { fields = [], optionalFields = [], sortBy, }, listIn
8573
8574
  listViewId: listInfo.eTag,
8574
8575
  sortBy: sortBy || null,
8575
8576
  searchTerm: null,
8577
+ where: null,
8576
8578
  objectApiName: listInfo.listReference.objectApiName,
8577
8579
  listViewApiName: listInfo.listReference.listViewApiName,
8578
8580
  }) + '__fieldstatus';
@@ -8624,17 +8626,18 @@ function keyBuilder$3c(luvio, params) {
8624
8626
  const listReference = getListReference(query, context$1);
8625
8627
  if (listReference !== undefined) {
8626
8628
  // Check and use any default values returned from the server (i.e. sortBy)
8627
- const config = { ...params.urlParams, ...params.queryParams };
8629
+ const config = { ...params.urlParams, ...params.body };
8628
8630
  const defaults = getServerDefaults(config, context$1);
8629
8631
  // Use default values when sortBy is undefined or an empty Array []
8630
8632
  return keyBuilder$3k(luvio, {
8631
8633
  objectApiName: listReference.objectApiName,
8632
8634
  listViewApiName: listReference.listViewApiName,
8633
8635
  listViewId: listReference.id,
8634
- searchTerm: params.queryParams.searchTerm || null,
8635
- sortBy: params.queryParams.sortBy !== undefined && params.queryParams.sortBy.length <= 0
8636
- ? defaults.sortBy || params.queryParams.sortBy || []
8637
- : params.queryParams.sortBy || defaults.sortBy || [],
8636
+ searchTerm: params.body.searchTerm || null,
8637
+ where: params.body.where || null,
8638
+ sortBy: params.body.sortBy !== undefined && params.body.sortBy.length <= 0
8639
+ ? defaults.sortBy || params.body.sortBy || []
8640
+ : params.body.sortBy || defaults.sortBy || [],
8638
8641
  });
8639
8642
  }
8640
8643
  // If there are no matching entries in the store, then we haven't fetched any data for this list view yet.
@@ -8643,13 +8646,14 @@ function keyBuilder$3c(luvio, params) {
8643
8646
  objectApiName: params.urlParams.objectApiName,
8644
8647
  listViewApiName: params.urlParams.listViewApiName,
8645
8648
  listViewId: '',
8646
- searchTerm: params.queryParams.searchTerm || null,
8647
- sortBy: params.queryParams.sortBy || [],
8649
+ searchTerm: params.body.searchTerm || null,
8650
+ where: params.body.where || null,
8651
+ sortBy: params.body.sortBy || [],
8648
8652
  });
8649
8653
  }
8650
8654
 
8651
8655
  function select$2X(luvio, params) {
8652
- const { fields = [], optionalFields = [] } = params.queryParams;
8656
+ const { fields = [], optionalFields = [] } = params.body;
8653
8657
  return dynamicSelect$7({
8654
8658
  records: {
8655
8659
  name: 'records',
@@ -8667,7 +8671,7 @@ function ingestSuccess$T(luvio, resourceParams, response, snapshotRefresh) {
8667
8671
  const { body } = response;
8668
8672
  const key = keyBuilder$3c(luvio, resourceParams);
8669
8673
  luvio.storeIngest(key, ingest$1_, body);
8670
- const optionalFields = resourceParams.queryParams.optionalFields;
8674
+ const optionalFields = resourceParams.body.optionalFields;
8671
8675
  if (optionalFields && optionalFields.length > 0) {
8672
8676
  const normalized = body;
8673
8677
  markMissingOptionalFieldsOnRecords$1(luvio, normalized, optionalFields);
@@ -8692,10 +8696,10 @@ function markMissingOptionalFieldsOnRecords$1(luvio, nomalized, optionalFields)
8692
8696
  }
8693
8697
 
8694
8698
  function createPaginationParams$4(params) {
8695
- const { queryParams } = params;
8699
+ const { body } = params;
8696
8700
  return {
8697
- token: queryParams.pageToken,
8698
- pageSize: queryParams.pageSize === undefined ? 50 : queryParams.pageSize
8701
+ token: body.pageToken,
8702
+ pageSize: body.pageSize === undefined ? 50 : body.pageSize
8699
8703
  };
8700
8704
  }
8701
8705
  function getResponseCacheKeys$12(storeKeyMap, luvio, resourceParams, response) {
@@ -8718,10 +8722,10 @@ function createResourceRequest$19(config) {
8718
8722
  return {
8719
8723
  baseUri: '/services/data/v61.0',
8720
8724
  basePath: '/ui-api/list-records/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
8721
- method: 'get',
8722
- body: null,
8725
+ method: 'post',
8726
+ body: config.body,
8723
8727
  urlParams: config.urlParams,
8724
- queryParams: config.queryParams,
8728
+ queryParams: {},
8725
8729
  headers,
8726
8730
  priority: 'normal',
8727
8731
  };
@@ -9855,6 +9859,7 @@ function prepareRequest_getMruListRecords(luvio, config, listInfo, snapshot) {
9855
9859
  const paginationKey = paginationKeyBuilder(luvio, {
9856
9860
  listViewId: listInfo.eTag,
9857
9861
  searchTerm: null,
9862
+ where: null,
9858
9863
  sortBy: config.sortBy === undefined ? null : config.sortBy,
9859
9864
  objectApiName: listInfo.listReference.objectApiName,
9860
9865
  listViewApiName: listInfo.listReference.listViewApiName,
@@ -9902,6 +9907,7 @@ function onResourceSuccess_getMruListRecords(luvio, config, listInfo, response)
9902
9907
  luvio.storeIngest(keyBuilder$3k(luvio, {
9903
9908
  listViewId: listInfoETag,
9904
9909
  searchTerm: null,
9910
+ where: null,
9905
9911
  sortBy: body.sortBy,
9906
9912
  objectApiName: listInfo.listReference.objectApiName,
9907
9913
  listViewApiName: listInfo.listReference.listViewApiName,
@@ -10197,6 +10203,13 @@ function prepareRequest_getListRecords(luvio, context, config, listInfo, snapsho
10197
10203
  pageToken,
10198
10204
  sortBy,
10199
10205
  };
10206
+ const body = {
10207
+ fields,
10208
+ optionalFields,
10209
+ pageSize,
10210
+ pageToken,
10211
+ sortBy,
10212
+ };
10200
10213
  let request;
10201
10214
  if (isGetListUiByApiNameConfig(config)) {
10202
10215
  request = createResourceRequest$19({
@@ -10204,7 +10217,7 @@ function prepareRequest_getListRecords(luvio, context, config, listInfo, snapsho
10204
10217
  listViewApiName: config.listViewApiName,
10205
10218
  objectApiName: config.objectApiName,
10206
10219
  },
10207
- queryParams,
10220
+ body,
10208
10221
  });
10209
10222
  }
10210
10223
  else if (isGetListUiByListViewIdConfig(config)) {
@@ -10229,6 +10242,7 @@ function prepareRequest_getListRecords(luvio, context, config, listInfo, snapsho
10229
10242
  const paginationKey = paginationKeyBuilder(luvio, {
10230
10243
  listViewId: listInfo.eTag,
10231
10244
  searchTerm: null,
10245
+ where: null,
10232
10246
  sortBy: getSortBy(config, context),
10233
10247
  objectApiName: listInfo.listReference.objectApiName,
10234
10248
  listViewApiName: listInfo.listReference.listViewApiName,
@@ -10279,6 +10293,7 @@ function onResourceSuccess_getListRecords(luvio, context, config, listInfo, resp
10279
10293
  luvio.storeIngest(keyBuilder$3k(luvio, {
10280
10294
  listViewId: listInfoETag,
10281
10295
  searchTerm: null,
10296
+ where: null,
10282
10297
  sortBy: body.sortBy,
10283
10298
  objectApiName: listInfo.listReference.objectApiName,
10284
10299
  listViewApiName: listInfo.listReference.listViewApiName,
@@ -17990,7 +18005,7 @@ function getTypeCacheKeys$1J(rootKeySet, luvio, input, fullPathFactory) {
17990
18005
  }
17991
18006
 
17992
18007
  const TTL$s = 300000;
17993
- const VERSION$20 = "1781f2d3d4e413cf0c681774d82d02cd";
18008
+ const VERSION$20 = "b33c534240965bedfcf073228d48b940";
17994
18009
  function validate$1j(obj, path = 'AppRepresentation') {
17995
18010
  const v_error = (() => {
17996
18011
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -18072,8 +18087,29 @@ function validate$1j(obj, path = 'AppRepresentation') {
18072
18087
  }
18073
18088
  const obj_headerColor = obj.headerColor;
18074
18089
  const path_headerColor = path + '.headerColor';
18075
- if (typeof obj_headerColor !== 'string') {
18076
- return new TypeError('Expected "string" but received "' + typeof obj_headerColor + '" (at "' + path_headerColor + '")');
18090
+ let obj_headerColor_union0 = null;
18091
+ const obj_headerColor_union0_error = (() => {
18092
+ if (typeof obj_headerColor !== 'string') {
18093
+ return new TypeError('Expected "string" but received "' + typeof obj_headerColor + '" (at "' + path_headerColor + '")');
18094
+ }
18095
+ })();
18096
+ if (obj_headerColor_union0_error != null) {
18097
+ obj_headerColor_union0 = obj_headerColor_union0_error.message;
18098
+ }
18099
+ let obj_headerColor_union1 = null;
18100
+ const obj_headerColor_union1_error = (() => {
18101
+ if (obj_headerColor !== null) {
18102
+ return new TypeError('Expected "null" but received "' + typeof obj_headerColor + '" (at "' + path_headerColor + '")');
18103
+ }
18104
+ })();
18105
+ if (obj_headerColor_union1_error != null) {
18106
+ obj_headerColor_union1 = obj_headerColor_union1_error.message;
18107
+ }
18108
+ if (obj_headerColor_union0 && obj_headerColor_union1) {
18109
+ let message = 'Object doesn\'t match union (at "' + path_headerColor + '")';
18110
+ message += '\n' + obj_headerColor_union0.split('\n').map((line) => '\t' + line).join('\n');
18111
+ message += '\n' + obj_headerColor_union1.split('\n').map((line) => '\t' + line).join('\n');
18112
+ return new TypeError(message);
18077
18113
  }
18078
18114
  const obj_iconUrl = obj.iconUrl;
18079
18115
  const path_iconUrl = path + '.iconUrl';
@@ -18354,11 +18390,6 @@ function equals$I(existing, incoming) {
18354
18390
  if (!(existing_eTag === incoming_eTag)) {
18355
18391
  return false;
18356
18392
  }
18357
- const existing_headerColor = existing.headerColor;
18358
- const incoming_headerColor = incoming.headerColor;
18359
- if (!(existing_headerColor === incoming_headerColor)) {
18360
- return false;
18361
- }
18362
18393
  const existing_label = existing.label;
18363
18394
  const incoming_label = incoming.label;
18364
18395
  if (!(existing_label === incoming_label)) {
@@ -18399,6 +18430,11 @@ function equals$I(existing, incoming) {
18399
18430
  if (equals_formFactors_items === false) {
18400
18431
  return false;
18401
18432
  }
18433
+ const existing_headerColor = existing.headerColor;
18434
+ const incoming_headerColor = incoming.headerColor;
18435
+ if (!(existing_headerColor === incoming_headerColor)) {
18436
+ return false;
18437
+ }
18402
18438
  const existing_iconUrl = existing.iconUrl;
18403
18439
  const incoming_iconUrl = incoming.iconUrl;
18404
18440
  if (!(existing_iconUrl === incoming_iconUrl)) {
@@ -29938,7 +29974,7 @@ function createPaginationParams(params) {
29938
29974
  function keyBuilder$1D(luvio, params) {
29939
29975
  return keyBuilder$1E(luvio, {
29940
29976
  sortBy: params.body.sortBy || [],
29941
- where: params.body.where || "",
29977
+ where: params.body.where || null,
29942
29978
  parentRecordId: params.urlParams.parentRecordId,
29943
29979
  relatedListId: params.urlParams.relatedListId
29944
29980
  });
@@ -51895,12 +51931,13 @@ const adapterName$6 = 'getListRecordsByName';
51895
51931
  const getListRecordsByName_ConfigPropertyMetadata = [
51896
51932
  generateParamConfigMetadata('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
51897
51933
  generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
51898
- generateParamConfigMetadata('fields', false, 1 /* QueryParameter */, 0 /* String */, true),
51899
- generateParamConfigMetadata('optionalFields', false, 1 /* QueryParameter */, 0 /* String */, true),
51900
- generateParamConfigMetadata('pageSize', false, 1 /* QueryParameter */, 3 /* Integer */),
51901
- generateParamConfigMetadata('pageToken', false, 1 /* QueryParameter */, 0 /* String */),
51902
- generateParamConfigMetadata('searchTerm', false, 1 /* QueryParameter */, 0 /* String */),
51903
- generateParamConfigMetadata('sortBy', false, 1 /* QueryParameter */, 0 /* String */, true),
51934
+ generateParamConfigMetadata('fields', false, 2 /* Body */, 0 /* String */, true),
51935
+ generateParamConfigMetadata('optionalFields', false, 2 /* Body */, 0 /* String */, true),
51936
+ generateParamConfigMetadata('pageSize', false, 2 /* Body */, 3 /* Integer */),
51937
+ generateParamConfigMetadata('pageToken', false, 2 /* Body */, 0 /* String */),
51938
+ generateParamConfigMetadata('searchTerm', false, 2 /* Body */, 0 /* String */),
51939
+ generateParamConfigMetadata('sortBy', false, 2 /* Body */, 0 /* String */, true),
51940
+ generateParamConfigMetadata('where', false, 2 /* Body */, 0 /* String */),
51904
51941
  ];
51905
51942
  const getListRecordsByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getListRecordsByName_ConfigPropertyMetadata);
51906
51943
  const createResourceParams$8 = /*#__PURE__*/ createResourceParams$15(getListRecordsByName_ConfigPropertyMetadata);
@@ -52020,7 +52057,7 @@ function getPaginationMetadata(luvio, resourceParams) {
52020
52057
  return node.data.__metadata;
52021
52058
  }
52022
52059
  function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
52023
- return buildNetworkSnapshotCachePolicy$W(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, true);
52060
+ return buildNetworkSnapshotCachePolicy$W(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, 'get', true);
52024
52061
  }
52025
52062
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
52026
52063
  const { luvio, config } = context;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-uiapi",
3
- "version": "1.281.0",
3
+ "version": "1.282.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Wire adapters for record related UI API endpoints",
6
6
  "main": "dist/es/es2018/uiapi-records-service.js",
@@ -68,14 +68,14 @@
68
68
  }
69
69
  },
70
70
  "dependencies": {
71
- "@salesforce/lds-bindings": "^1.281.0",
72
- "@salesforce/lds-default-luvio": "^1.281.0"
71
+ "@salesforce/lds-bindings": "^1.282.0",
72
+ "@salesforce/lds-default-luvio": "^1.282.0"
73
73
  },
74
74
  "devDependencies": {
75
75
  "@databases/sqlite": "^3.0.0",
76
- "@salesforce/lds-compiler-plugins": "^1.281.0",
77
- "@salesforce/lds-jest": "^1.281.0",
78
- "@salesforce/lds-store-binary": "^1.281.0"
76
+ "@salesforce/lds-compiler-plugins": "^1.282.0",
77
+ "@salesforce/lds-jest": "^1.282.0",
78
+ "@salesforce/lds-store-binary": "^1.282.0"
79
79
  },
80
80
  "luvioBundlesize": [
81
81
  {
@@ -19689,4 +19689,4 @@ register({
19689
19689
  });
19690
19690
 
19691
19691
  export { configurationForGraphQLAdapters as configuration, graphql, factory$1 as graphqlAdapterFactory, graphqlBatch, graphqlBatch_imperative, graphql_imperative };
19692
- // version: 1.281.0-bcef40769
19692
+ // version: 1.282.0-dd2e9831c
package/sfdc/index.js CHANGED
@@ -6297,7 +6297,7 @@ function tokenForAtMost(paginationMetadata, maxOffset) {
6297
6297
  }
6298
6298
 
6299
6299
  const TTL$x = 30000;
6300
- const VERSION$18 = "88d8362577eaa3dae0820deeea3b7ae4";
6300
+ const VERSION$18 = "e635ab62cb633d32aeeb183e568bb2c7";
6301
6301
  function validate$1O(obj, path = 'ListRecordCollectionRepresentation') {
6302
6302
  const v_error = (() => {
6303
6303
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -6587,7 +6587,7 @@ function validate$1O(obj, path = 'ListRecordCollectionRepresentation') {
6587
6587
  }
6588
6588
  const RepresentationType$T = 'ListRecordCollectionRepresentation';
6589
6589
  function keyBuilder$23(luvio, config) {
6590
- return keyPrefix + '::' + RepresentationType$T + ':' + config.objectApiName + ':' + (config.searchTerm === null ? '' : config.searchTerm) + ':' + (config.sortBy === null ? '' : '[' + config.sortBy.join(',') + ']') + ':' + (config.listViewId === null ? '' : config.listViewId) + ':' + (config.listViewApiName === null ? '' : config.listViewApiName);
6590
+ return keyPrefix + '::' + RepresentationType$T + ':' + config.objectApiName + ':' + (config.searchTerm === null ? '' : config.searchTerm) + ':' + (config.sortBy === null ? '' : '[' + config.sortBy.join(',') + ']') + ':' + (config.listViewId === null ? '' : config.listViewId) + ':' + (config.where === null ? '' : config.where) + ':' + (config.listViewApiName === null ? '' : config.listViewApiName);
6591
6591
  }
6592
6592
  function keyBuilderFromType$B(luvio, object) {
6593
6593
  const keyParams = {
@@ -6595,6 +6595,7 @@ function keyBuilderFromType$B(luvio, object) {
6595
6595
  searchTerm: object.searchTerm,
6596
6596
  sortBy: object.sortBy,
6597
6597
  listViewId: object.listInfoETag,
6598
+ where: object.where,
6598
6599
  listViewApiName: object.listReference.listViewApiName
6599
6600
  };
6600
6601
  return keyBuilder$23(luvio, keyParams);
@@ -7029,7 +7030,7 @@ function getTypeCacheKeys$T(rootKeySet, luvio, input, fullPathFactory) {
7029
7030
  const notifyUpdateAvailableFactory$4 = (luvio) => {
7030
7031
  return function notifyListRecordCollectionUpdateAvailable(configs) {
7031
7032
  if (process.env.NODE_ENV !== 'production') {
7032
- const requiredKeyParams = ['objectApiName', 'searchTerm', 'sortBy', 'listViewId', 'listViewApiName'];
7033
+ const requiredKeyParams = ['objectApiName', 'searchTerm', 'sortBy', 'listViewId', 'where', 'listViewApiName'];
7033
7034
  configs.forEach(config => {
7034
7035
  if (false === requiredKeyParams.every(req => req in config)) {
7035
7036
  throw new Error(`one of the configs did not contain all required parameters: ${JSONStringify(ObjectKeys(config))}`);
@@ -7969,7 +7970,7 @@ function splitListRecordCollectionKey(key) {
7969
7970
  const keyElements = key.split(':');
7970
7971
  return {
7971
7972
  objectApiName: keyElements[3],
7972
- listViewApiName: keyElements[7],
7973
+ listViewApiName: keyElements[8],
7973
7974
  };
7974
7975
  }
7975
7976
  function splitListSummaryCollectionKey(key) {
@@ -8195,6 +8196,7 @@ function listFields(luvio, { fields = [], optionalFields = [], sortBy, }, listIn
8195
8196
  listViewId: listInfo.eTag,
8196
8197
  sortBy: sortBy || null,
8197
8198
  searchTerm: null,
8199
+ where: null,
8198
8200
  objectApiName: listInfo.listReference.objectApiName,
8199
8201
  listViewApiName: listInfo.listReference.listViewApiName,
8200
8202
  }) + '__fieldstatus';
@@ -8260,17 +8262,18 @@ function keyBuilder$1$(luvio, params) {
8260
8262
  const listReference = getListReference(query, context$1);
8261
8263
  if (listReference !== undefined) {
8262
8264
  // Check and use any default values returned from the server (i.e. sortBy)
8263
- const config = { ...params.urlParams, ...params.queryParams };
8265
+ const config = { ...params.urlParams, ...params.body };
8264
8266
  const defaults = getServerDefaults(config, context$1);
8265
8267
  // Use default values when sortBy is undefined or an empty Array []
8266
8268
  return keyBuilder$23(luvio, {
8267
8269
  objectApiName: listReference.objectApiName,
8268
8270
  listViewApiName: listReference.listViewApiName,
8269
8271
  listViewId: listReference.id,
8270
- searchTerm: params.queryParams.searchTerm || null,
8271
- sortBy: params.queryParams.sortBy !== undefined && params.queryParams.sortBy.length <= 0
8272
- ? defaults.sortBy || params.queryParams.sortBy || []
8273
- : params.queryParams.sortBy || defaults.sortBy || [],
8272
+ searchTerm: params.body.searchTerm || null,
8273
+ where: params.body.where || null,
8274
+ sortBy: params.body.sortBy !== undefined && params.body.sortBy.length <= 0
8275
+ ? defaults.sortBy || params.body.sortBy || []
8276
+ : params.body.sortBy || defaults.sortBy || [],
8274
8277
  });
8275
8278
  }
8276
8279
  // If there are no matching entries in the store, then we haven't fetched any data for this list view yet.
@@ -8279,13 +8282,14 @@ function keyBuilder$1$(luvio, params) {
8279
8282
  objectApiName: params.urlParams.objectApiName,
8280
8283
  listViewApiName: params.urlParams.listViewApiName,
8281
8284
  listViewId: '',
8282
- searchTerm: params.queryParams.searchTerm || null,
8283
- sortBy: params.queryParams.sortBy || [],
8285
+ searchTerm: params.body.searchTerm || null,
8286
+ where: params.body.where || null,
8287
+ sortBy: params.body.sortBy || [],
8284
8288
  });
8285
8289
  }
8286
8290
 
8287
8291
  function select$1K(luvio, params) {
8288
- const { fields = [], optionalFields = [] } = params.queryParams;
8292
+ const { fields = [], optionalFields = [] } = params.body;
8289
8293
  return dynamicSelect$7({
8290
8294
  records: {
8291
8295
  name: 'records',
@@ -8303,7 +8307,7 @@ function ingestSuccess$Q(luvio, resourceParams, response, snapshotRefresh) {
8303
8307
  const { body } = response;
8304
8308
  const key = keyBuilder$1$(luvio, resourceParams);
8305
8309
  luvio.storeIngest(key, ingest$M, body);
8306
- const optionalFields = resourceParams.queryParams.optionalFields;
8310
+ const optionalFields = resourceParams.body.optionalFields;
8307
8311
  if (optionalFields && optionalFields.length > 0) {
8308
8312
  const normalized = body;
8309
8313
  markMissingOptionalFieldsOnRecords$1(luvio, normalized, optionalFields);
@@ -8328,10 +8332,10 @@ function markMissingOptionalFieldsOnRecords$1(luvio, nomalized, optionalFields)
8328
8332
  }
8329
8333
 
8330
8334
  function createPaginationParams$4(params) {
8331
- const { queryParams } = params;
8335
+ const { body } = params;
8332
8336
  return {
8333
- token: queryParams.pageToken,
8334
- pageSize: queryParams.pageSize === undefined ? 50 : queryParams.pageSize
8337
+ token: body.pageToken,
8338
+ pageSize: body.pageSize === undefined ? 50 : body.pageSize
8335
8339
  };
8336
8340
  }
8337
8341
  function getResponseCacheKeys$$(storeKeyMap, luvio, resourceParams, response) {
@@ -8354,10 +8358,10 @@ function createResourceRequest$15(config) {
8354
8358
  return {
8355
8359
  baseUri: '/services/data/v61.0',
8356
8360
  basePath: '/ui-api/list-records/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
8357
- method: 'get',
8358
- body: null,
8361
+ method: 'post',
8362
+ body: config.body,
8359
8363
  urlParams: config.urlParams,
8360
- queryParams: config.queryParams,
8364
+ queryParams: {},
8361
8365
  headers,
8362
8366
  priority: 'normal',
8363
8367
  };
@@ -9491,6 +9495,7 @@ function prepareRequest_getMruListRecords(luvio, config, listInfo, snapshot) {
9491
9495
  const paginationKey = paginationKeyBuilder(luvio, {
9492
9496
  listViewId: listInfo.eTag,
9493
9497
  searchTerm: null,
9498
+ where: null,
9494
9499
  sortBy: config.sortBy === undefined ? null : config.sortBy,
9495
9500
  objectApiName: listInfo.listReference.objectApiName,
9496
9501
  listViewApiName: listInfo.listReference.listViewApiName,
@@ -9538,6 +9543,7 @@ function onResourceSuccess_getMruListRecords(luvio, config, listInfo, response)
9538
9543
  luvio.storeIngest(keyBuilder$23(luvio, {
9539
9544
  listViewId: listInfoETag,
9540
9545
  searchTerm: null,
9546
+ where: null,
9541
9547
  sortBy: body.sortBy,
9542
9548
  objectApiName: listInfo.listReference.objectApiName,
9543
9549
  listViewApiName: listInfo.listReference.listViewApiName,
@@ -9833,6 +9839,13 @@ function prepareRequest_getListRecords(luvio, context, config, listInfo, snapsho
9833
9839
  pageToken,
9834
9840
  sortBy,
9835
9841
  };
9842
+ const body = {
9843
+ fields,
9844
+ optionalFields,
9845
+ pageSize,
9846
+ pageToken,
9847
+ sortBy,
9848
+ };
9836
9849
  let request;
9837
9850
  if (isGetListUiByApiNameConfig(config)) {
9838
9851
  request = createResourceRequest$15({
@@ -9840,7 +9853,7 @@ function prepareRequest_getListRecords(luvio, context, config, listInfo, snapsho
9840
9853
  listViewApiName: config.listViewApiName,
9841
9854
  objectApiName: config.objectApiName,
9842
9855
  },
9843
- queryParams,
9856
+ body,
9844
9857
  });
9845
9858
  }
9846
9859
  else if (isGetListUiByListViewIdConfig(config)) {
@@ -9865,6 +9878,7 @@ function prepareRequest_getListRecords(luvio, context, config, listInfo, snapsho
9865
9878
  const paginationKey = paginationKeyBuilder(luvio, {
9866
9879
  listViewId: listInfo.eTag,
9867
9880
  searchTerm: null,
9881
+ where: null,
9868
9882
  sortBy: getSortBy(config, context),
9869
9883
  objectApiName: listInfo.listReference.objectApiName,
9870
9884
  listViewApiName: listInfo.listReference.listViewApiName,
@@ -9915,6 +9929,7 @@ function onResourceSuccess_getListRecords(luvio, context, config, listInfo, resp
9915
9929
  luvio.storeIngest(keyBuilder$23(luvio, {
9916
9930
  listViewId: listInfoETag,
9917
9931
  searchTerm: null,
9932
+ where: null,
9918
9933
  sortBy: body.sortBy,
9919
9934
  objectApiName: listInfo.listReference.objectApiName,
9920
9935
  listViewApiName: listInfo.listReference.listViewApiName,
@@ -17626,7 +17641,7 @@ function getTypeCacheKeys$z(rootKeySet, luvio, input, fullPathFactory) {
17626
17641
  }
17627
17642
 
17628
17643
  const TTL$n = 300000;
17629
- const VERSION$O = "1781f2d3d4e413cf0c681774d82d02cd";
17644
+ const VERSION$O = "b33c534240965bedfcf073228d48b940";
17630
17645
  function validate$1f(obj, path = 'AppRepresentation') {
17631
17646
  const v_error = (() => {
17632
17647
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -17708,8 +17723,29 @@ function validate$1f(obj, path = 'AppRepresentation') {
17708
17723
  }
17709
17724
  const obj_headerColor = obj.headerColor;
17710
17725
  const path_headerColor = path + '.headerColor';
17711
- if (typeof obj_headerColor !== 'string') {
17712
- return new TypeError('Expected "string" but received "' + typeof obj_headerColor + '" (at "' + path_headerColor + '")');
17726
+ let obj_headerColor_union0 = null;
17727
+ const obj_headerColor_union0_error = (() => {
17728
+ if (typeof obj_headerColor !== 'string') {
17729
+ return new TypeError('Expected "string" but received "' + typeof obj_headerColor + '" (at "' + path_headerColor + '")');
17730
+ }
17731
+ })();
17732
+ if (obj_headerColor_union0_error != null) {
17733
+ obj_headerColor_union0 = obj_headerColor_union0_error.message;
17734
+ }
17735
+ let obj_headerColor_union1 = null;
17736
+ const obj_headerColor_union1_error = (() => {
17737
+ if (obj_headerColor !== null) {
17738
+ return new TypeError('Expected "null" but received "' + typeof obj_headerColor + '" (at "' + path_headerColor + '")');
17739
+ }
17740
+ })();
17741
+ if (obj_headerColor_union1_error != null) {
17742
+ obj_headerColor_union1 = obj_headerColor_union1_error.message;
17743
+ }
17744
+ if (obj_headerColor_union0 && obj_headerColor_union1) {
17745
+ let message = 'Object doesn\'t match union (at "' + path_headerColor + '")';
17746
+ message += '\n' + obj_headerColor_union0.split('\n').map((line) => '\t' + line).join('\n');
17747
+ message += '\n' + obj_headerColor_union1.split('\n').map((line) => '\t' + line).join('\n');
17748
+ return new TypeError(message);
17713
17749
  }
17714
17750
  const obj_iconUrl = obj.iconUrl;
17715
17751
  const path_iconUrl = path + '.iconUrl';
@@ -17990,11 +18026,6 @@ function equals$E(existing, incoming) {
17990
18026
  if (!(existing_eTag === incoming_eTag)) {
17991
18027
  return false;
17992
18028
  }
17993
- const existing_headerColor = existing.headerColor;
17994
- const incoming_headerColor = incoming.headerColor;
17995
- if (!(existing_headerColor === incoming_headerColor)) {
17996
- return false;
17997
- }
17998
18029
  const existing_label = existing.label;
17999
18030
  const incoming_label = incoming.label;
18000
18031
  if (!(existing_label === incoming_label)) {
@@ -18035,6 +18066,11 @@ function equals$E(existing, incoming) {
18035
18066
  if (equals_formFactors_items === false) {
18036
18067
  return false;
18037
18068
  }
18069
+ const existing_headerColor = existing.headerColor;
18070
+ const incoming_headerColor = incoming.headerColor;
18071
+ if (!(existing_headerColor === incoming_headerColor)) {
18072
+ return false;
18073
+ }
18038
18074
  const existing_iconUrl = existing.iconUrl;
18039
18075
  const incoming_iconUrl = incoming.iconUrl;
18040
18076
  if (!(existing_iconUrl === incoming_iconUrl)) {
@@ -29439,7 +29475,7 @@ function createPaginationParams(params) {
29439
29475
  function keyBuilder$s(luvio, params) {
29440
29476
  return keyBuilder$t(luvio, {
29441
29477
  sortBy: params.body.sortBy || [],
29442
- where: params.body.where || "",
29478
+ where: params.body.where || null,
29443
29479
  parentRecordId: params.urlParams.parentRecordId,
29444
29480
  relatedListId: params.urlParams.relatedListId
29445
29481
  });
@@ -32878,12 +32914,13 @@ const adapterName$6 = 'getListRecordsByName';
32878
32914
  const getListRecordsByName_ConfigPropertyMetadata = [
32879
32915
  generateParamConfigMetadata('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
32880
32916
  generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
32881
- generateParamConfigMetadata('fields', false, 1 /* QueryParameter */, 0 /* String */, true),
32882
- generateParamConfigMetadata('optionalFields', false, 1 /* QueryParameter */, 0 /* String */, true),
32883
- generateParamConfigMetadata('pageSize', false, 1 /* QueryParameter */, 3 /* Integer */),
32884
- generateParamConfigMetadata('pageToken', false, 1 /* QueryParameter */, 0 /* String */),
32885
- generateParamConfigMetadata('searchTerm', false, 1 /* QueryParameter */, 0 /* String */),
32886
- generateParamConfigMetadata('sortBy', false, 1 /* QueryParameter */, 0 /* String */, true),
32917
+ generateParamConfigMetadata('fields', false, 2 /* Body */, 0 /* String */, true),
32918
+ generateParamConfigMetadata('optionalFields', false, 2 /* Body */, 0 /* String */, true),
32919
+ generateParamConfigMetadata('pageSize', false, 2 /* Body */, 3 /* Integer */),
32920
+ generateParamConfigMetadata('pageToken', false, 2 /* Body */, 0 /* String */),
32921
+ generateParamConfigMetadata('searchTerm', false, 2 /* Body */, 0 /* String */),
32922
+ generateParamConfigMetadata('sortBy', false, 2 /* Body */, 0 /* String */, true),
32923
+ generateParamConfigMetadata('where', false, 2 /* Body */, 0 /* String */),
32887
32924
  ];
32888
32925
  const getListRecordsByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getListRecordsByName_ConfigPropertyMetadata);
32889
32926
  const createResourceParams$8 = /*#__PURE__*/ createResourceParams$12(getListRecordsByName_ConfigPropertyMetadata);
@@ -33003,7 +33040,7 @@ function getPaginationMetadata(luvio, resourceParams) {
33003
33040
  return node.data.__metadata;
33004
33041
  }
33005
33042
  function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
33006
- return buildNetworkSnapshotCachePolicy$R(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, true);
33043
+ return buildNetworkSnapshotCachePolicy$R(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, 'get', true);
33007
33044
  }
33008
33045
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
33009
33046
  const { luvio, config } = context;
@@ -36879,4 +36916,4 @@ withDefaultLuvio((luvio) => {
36879
36916
  });
36880
36917
 
36881
36918
  export { API_NAMESPACE, InMemoryRecordRepresentationQueryEvaluator, MRU, RepresentationType$I as ObjectInfoDirectoryEntryRepresentationType, RepresentationType$N as ObjectInfoRepresentationType, RECORD_FIELDS_KEY_JUNCTION, RECORD_ID_PREFIX, RECORD_REPRESENTATION_NAME, RECORD_VIEW_ENTITY_ID_PREFIX, RECORD_VIEW_ENTITY_REPRESENTATION_NAME, RepresentationType$U as RecordRepresentationRepresentationType, TTL$y as RecordRepresentationTTL, RepresentationType$U as RecordRepresentationType, VERSION$1a as RecordRepresentationVersion, keyPrefix as UiApiNamespace, buildRecordRepKeyFromId, getFieldApiNamesArray as coerceFieldIdArray, configurationForRestAdapters as configuration, createContentDocumentAndVersion, createContentVersion, createIngestRecordWithFields, createLDSAdapterWithPrediction, createListInfo, createRecord, deleteListInfo, deleteRecord, executeBatchRecordOperations, extractRecordIdFromStoreKey, getActionOverrides, getActionOverrides_imperative, getAllApps, getAllApps_imperative, getAppDetails, getAppDetails_imperative, getDuplicateConfiguration, getDuplicateConfiguration_imperative, getDuplicates, getDuplicates_imperative, getFlexipageFormulaOverrides, getFlexipageFormulaOverrides_imperative, getGlobalActions, getGlobalActions_imperative, getKeywordSearchResults, getKeywordSearchResults_imperative, getLayout, getLayoutUserState, getLayoutUserState_imperative, getLayout_imperative, getListInfoByName, getListInfoByName_imperative, getListInfosByName, getListInfosByName_imperative, getListInfosByObjectName, getListInfosByObjectName_imperative, getListObjectInfo, getListObjectInfo_imperative, getListPreferences, getListPreferences_imperative, getListRecordsByName, getListRecordsByName_imperative, getListUi, getListUi_imperative, getLookupActions, getLookupActions_imperative, getLookupMetadata, getLookupMetadata_imperative, getLookupRecords, getLookupRecords_imperative, getNavItems, getNavItems_imperative, getObjectCreateActions, getObjectCreateActions_imperative, getObjectInfo, getObjectInfoAdapterFactory, getObjectInfoDirectoryAdapterFactory, getObjectInfo_imperative, getObjectInfos, getObjectInfosAdapterFactory, getObjectInfos_imperative, getPathLayout, getPathLayout_imperative, getPicklistValues, getPicklistValuesByRecordType, getPicklistValuesByRecordType_imperative, getPicklistValues_imperative, getQuickActionDefaults, getQuickActionDefaults_imperative, getQuickActionLayout, getQuickActionLayout_imperative, getRecord, getRecordActions, getRecordActionsAdapterFactory, getRecordActions_imperative, factory$f as getRecordAdapterFactory, getRecordAvatars, getRecordAvatarsAdapterFactory, getRecordAvatars_imperative, getRecordCreateDefaults, getRecordCreateDefaults_imperative, getRecordEditActions, getRecordEditActions_imperative, getRecordId18, getRecordNotifyChange, getRecordTemplateClone, getRecordTemplateClone_imperative, getRecordTemplateCreate, getRecordTemplateCreate_imperative, getRecordUi, getRecordUi_imperative, getRecord_imperative, getRecords, getRecordsAdapterFactory, getRecords_imperative, getRelatedListActions, getRelatedListActions_imperative, getRelatedListCount, getRelatedListCount_imperative, getRelatedListInfo, getRelatedListInfoBatch, getRelatedListInfoBatchAdapterFactory, getRelatedListInfoBatch_imperative, getRelatedListInfo_imperative, getRelatedListPreferences, getRelatedListPreferencesBatch, getRelatedListPreferencesBatch_imperative, getRelatedListPreferences_imperative, getRelatedListRecordActions, getRelatedListRecordActions_imperative, getRelatedListRecords, getRelatedListRecordsAdapterFactory, getRelatedListRecordsBatch, getRelatedListRecordsBatchAdapterFactory, getRelatedListRecordsBatch_imperative, getRelatedListRecords_imperative, getRelatedListsActions, getRelatedListsActionsAdapterFactory, getRelatedListsActions_imperative, getRelatedListsCount, getRelatedListsCount_imperative, getRelatedListsInfo, getRelatedListsInfo_imperative, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadata, getSearchFilterMetadata_imperative, getSearchFilterOptions, getSearchFilterOptions_imperative, getSearchResults, getSearchResults_imperative, getTypeCacheKeys$W as getTypeCacheKeysRecord, ingest as ingestContentDocumentCompositeRepresentation, ingest$G as ingestObjectInfo, ingest$A as ingestQuickActionExecutionRepresentation, ingest$N as ingestRecord, instrument, isStoreKeyRecordViewEntity, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$C as keyBuilderFromTypeRecordRepresentation, keyBuilder$1V as keyBuilderObjectInfo, keyBuilder$1O as keyBuilderQuickActionExecutionRepresentation, keyBuilder$26 as keyBuilderRecord, notifyAllListInfoSummaryUpdateAvailable, notifyAllListRecordUpdateAvailable, notifyListInfoSummaryUpdateAvailable, notifyListInfoUpdateAvailable, notifyListRecordCollectionUpdateAvailable, notifyListViewSummaryUpdateAvailable, notifyQuickActionDefaultsUpdateAvailable, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, registerPrefetcher, updateLayoutUserState, updateListInfoByName, updateListPreferences, updateRecord, updateRecordAvatar, updateRelatedListInfo, updateRelatedListPreferences };
36882
- // version: 1.281.0-bcef40769
36919
+ // version: 1.282.0-dd2e9831c
@@ -95,7 +95,7 @@ var TypeCheckShapes;
95
95
  TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
96
96
  TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
97
97
  })(TypeCheckShapes || (TypeCheckShapes = {}));
98
- // engine version: 0.154.14-2fbbff64
98
+ // engine version: 0.154.15-db466bed
99
99
 
100
100
  const { keys: ObjectKeys, create: ObjectCreate } = Object;
101
101
 
package/src/raml/api.raml CHANGED
@@ -327,7 +327,7 @@ types:
327
327
  type: string
328
328
  headerColor:
329
329
  description: 'Primary color selected by admin for this app. Ex: #0070D2'
330
- type: string
330
+ type: string | nil
331
331
  iconUrl:
332
332
  description: Icon URL of the App
333
333
  type: string | nil # TODO Hand rolled
@@ -1981,6 +1981,50 @@ types:
1981
1981
  description: ListRecordCollectionRepresentation212
1982
1982
  type: object
1983
1983
  properties: {}
1984
+ ListRecordsInputRepresentation:
1985
+ description: Query (using POST) for records in a list.
1986
+ type: object
1987
+ properties:
1988
+ fields:
1989
+ required: false #handrolled
1990
+ description: Additional fields queried for the records returned. If the field
1991
+ is not available to the user, an error occurs.
1992
+ type: array
1993
+ items:
1994
+ type: string
1995
+ optionalFields:
1996
+ required: false
1997
+ description: Additional fields queried for the records returned. If the field
1998
+ is not available to the user, no error occurs and the field isn’t included
1999
+ in the records.
2000
+ type: array
2001
+ items:
2002
+ type: string
2003
+ pageSize:
2004
+ required: false
2005
+ description: The number of list records viewed at one time. The default value
2006
+ is 50. Value can be 1–2000.
2007
+ type: integer
2008
+ pageToken:
2009
+ required: false
2010
+ description: A token from a previous query that indicates the record where
2011
+ this query should begin.
2012
+ type: string
2013
+ searchTerm:
2014
+ required: false
2015
+ description: Search within the list view records.
2016
+ type: string
2017
+ sortBy:
2018
+ required: false
2019
+ description: The API name of the field the list view is sorted by. If the
2020
+ name is preceded with -, the sort order is descending.
2021
+ type: array
2022
+ items:
2023
+ type: string
2024
+ where:
2025
+ required: false
2026
+ description: Filter the records returned. The value is in GraphQL syntax.
2027
+ type: string
1984
2028
  ListReferenceRepresentation:
1985
2029
  description: ListReferenceRepresentation
1986
2030
  type: object
@@ -6356,6 +6400,9 @@ types:
6356
6400
  searchTerm:
6357
6401
  type: string
6358
6402
  required: false
6403
+ where:
6404
+ type: string
6405
+ required: false
6359
6406
  sortBy:
6360
6407
  type: array
6361
6408
  required: false
@@ -6367,8 +6414,8 @@ types:
6367
6414
  type: string
6368
6415
  required: true
6369
6416
  /{objectApiName}/{listViewApiName}:
6370
- get:
6371
- displayName: getListRecords
6417
+ post:
6418
+ displayName: postListRecordsByName
6372
6419
  description: Returns record data to populate a list.
6373
6420
  responses:
6374
6421
  '200':
@@ -6376,35 +6423,11 @@ types:
6376
6423
  body:
6377
6424
  application/json:
6378
6425
  type: ListRecordCollectionRepresentation
6379
- queryParameters:
6380
- fields:
6381
- type: array
6382
- required: false
6383
- items:
6384
- type: string
6385
- (oas-collectionFormat): csv
6386
- optionalFields:
6387
- type: array
6388
- required: false
6389
- items:
6390
- type: string
6391
- (oas-collectionFormat): csv
6392
- pageSize:
6393
- type: integer
6394
- required: false
6395
- default: 50
6396
- pageToken:
6397
- type: string
6398
- required: false
6399
- searchTerm:
6400
- type: string
6401
- required: false
6402
- sortBy:
6403
- type: array
6404
- required: false
6405
- items:
6406
- type: string
6407
- (oas-collectionFormat): csv
6426
+ body:
6427
+ application/json:
6428
+ type: ListRecordsInputRepresentation
6429
+ # required: false # W-9109412: Property 'required' still not supported in a RAML 1.0 object node
6430
+ (oas-body-name): listRecordsQuery
6408
6431
  uriParameters:
6409
6432
  listViewApiName:
6410
6433
  type: string
@@ -134,6 +134,7 @@ types:
134
134
  sortBy: sortBy
135
135
  objectApiName: listReference.objectApiName
136
136
  listViewApiName: listReference.listViewApiName
137
+ where: where
137
138
  (luvio.paginated):
138
139
  items: records
139
140
  token: currentPageToken
@@ -149,6 +150,7 @@ types:
149
150
  listViewId: listViewId
150
151
  searchTerm: searchTerm
151
152
  sortBy: sortBy
153
+ where: where
152
154
  ListInfoSummaryCollectionRepresentation:
153
155
  examples:
154
156
  mockAccountListInfos: !include ../mocks/types/ListInfoSummaryCollectionRepresentation/list-info-Account.json
@@ -1033,6 +1035,7 @@ types:
1033
1035
  listViewId: urlParams.listViewId
1034
1036
  sortBy: queryParams.sortBy || null
1035
1037
  searchTerm: queryParams.searchTerm || null
1038
+ where: queryParams.where || null
1036
1039
  objectApiName: '""'
1037
1040
  listViewApiName: '""'
1038
1041
  '/{objectApiName}/{listViewApiName}':
@@ -1044,17 +1047,33 @@ types:
1044
1047
  examples:
1045
1048
  mockListInfoAllAccounts: AllAccounts
1046
1049
  # listViewId is not needed for /list-records/{objectApiName}/{listViewApiName}
1047
- get:
1050
+ # get:
1051
+ # (luvio.adapter):
1052
+ # name: getListRecordsByName
1053
+ # (luvio.key):
1054
+ # objectApiName: urlParams.objectApiName
1055
+ # listViewApiName: urlParams.listViewApiName
1056
+ # listViewId: '""'
1057
+ # searchTerm: queryParams.searchTerm || null
1058
+ # sortBy: queryParams.sortBy || []
1059
+ # (luvio.paginationParams):
1060
+ # queryParameters:
1061
+ # token: pageToken
1062
+ # pageSize: pageSize
1063
+ post:
1064
+ (luvio.method): get
1048
1065
  (luvio.adapter):
1049
1066
  name: getListRecordsByName
1050
1067
  (luvio.key):
1051
1068
  objectApiName: urlParams.objectApiName
1052
1069
  listViewApiName: urlParams.listViewApiName
1053
1070
  listViewId: '""'
1054
- searchTerm: queryParams.searchTerm || null
1055
- sortBy: queryParams.sortBy || []
1071
+ searchTerm: body.searchTerm || null
1072
+ sortBy: body.sortBy || []
1073
+ where: body.where || null
1056
1074
  (luvio.paginationParams):
1057
- queryParameters:
1075
+ defaultSize: 50
1076
+ body:
1058
1077
  token: pageToken
1059
1078
  pageSize: pageSize
1060
1079
  /list-ui:
@@ -1788,7 +1807,7 @@ types:
1788
1807
  parentRecordId: SalesforceRecordId18
1789
1808
  (luvio.key):
1790
1809
  sortBy: body.sortBy || []
1791
- where: body.where || ""
1810
+ where: body.where || null
1792
1811
  parentRecordId: urlParams.parentRecordId
1793
1812
  relatedListId: urlParams.relatedListId
1794
1813
  (luvio.paginationParams):
@@ -1,5 +0,0 @@
1
- import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, 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 } from '@luvio/engine';
2
- import { ResourceRequestConfig as resources_getUiApiListRecordsByListViewApiNameAndObjectApiName_ResourceRequestConfig } from '../../../resources/getUiApiListRecordsByListViewApiNameAndObjectApiName';
3
- import { ListRecordCollectionRepresentation as types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation } from '../../../types/ListRecordCollectionRepresentation';
4
- export declare function select(luvio: $64$luvio_engine_Luvio, params: resources_getUiApiListRecordsByListViewApiNameAndObjectApiName_ResourceRequestConfig): $64$luvio_engine_Fragment;
5
- export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: resources_getUiApiListRecordsByListViewApiNameAndObjectApiName_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation, any>;