@salesforce/lds-adapters-uiapi 1.252.0 → 1.253.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.
@@ -8,6 +8,7 @@ export declare const getActionOverrides_ConfigPropertyNames: adapter$45$utils_Ad
8
8
  export interface GetActionOverridesConfig {
9
9
  objectApiName: string;
10
10
  type?: string;
11
+ defaultTemplateOnly?: boolean;
11
12
  }
12
13
  export declare const createResourceParams: (config: GetActionOverridesConfig) => resources_getUiApiActionsOverridesByObjectApiName_ResourceRequestConfig;
13
14
  export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetActionOverridesConfig): string;
@@ -6,6 +6,7 @@ export interface ResourceRequestConfig {
6
6
  };
7
7
  queryParams: {
8
8
  type?: string;
9
+ defaultTemplateOnly?: boolean;
9
10
  };
10
11
  }
11
12
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
@@ -1,6 +1,22 @@
1
- import type { AdapterFactory } from '@luvio/engine';
1
+ import type { AdapterFactory, Luvio, FulfilledSnapshot, DispatchResourceRequestContext } from '@luvio/engine';
2
2
  import type { LookupValuesRepresentation } from '../../generated/types/LookupValuesRepresentation';
3
3
  import type { GetLookupRecordsConfig } from '../../generated/adapters/getLookupRecords';
4
- import type { AdapterValidationConfig } from '../../generated/adapters/adapter-utils';
5
- export declare const paramNames: AdapterValidationConfig;
4
+ import type { FieldId } from '../../primitives/FieldId';
5
+ import type { RecordInputRepresentation as types_RecordInputRepresentation_RecordInputRepresentation } from '../../generated/types/RecordInputRepresentation';
6
+ interface GetLookupRecordsConfigRequestParams {
7
+ q?: string;
8
+ page?: number;
9
+ pageSize?: number;
10
+ dependentFieldBindings?: string[];
11
+ searchType?: 'Recent' | 'Search' | 'TypeAhead';
12
+ sourceRecordId?: string;
13
+ targetApiName?: string;
14
+ sourceRecord?: types_RecordInputRepresentation_RecordInputRepresentation | null;
15
+ }
16
+ export interface GetLookupRecordsAdapterConfig {
17
+ fieldApiName: string | FieldId;
18
+ requestParams?: GetLookupRecordsConfigRequestParams;
19
+ }
20
+ export declare function buildNetworkSnapshot(luvio: Luvio, config: GetLookupRecordsConfig, options?: DispatchResourceRequestContext): Promise<import("@luvio/engine").ErrorSnapshot | FulfilledSnapshot<LookupValuesRepresentation, {}>>;
6
21
  export declare const factory: AdapterFactory<GetLookupRecordsConfig, LookupValuesRepresentation>;
22
+ export {};